SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #681  
Old 01-12-2005, 05:11 PM
Jere_Jones's Avatar
Jere_Jones Jere_Jones is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Jacksonville, FL
Posts: 993
festus,

Did you want the filename in the videoredo project file to be ".\XXXX.mpg" or just "XXXX.mpg"?

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #682  
Old 01-13-2005, 09:47 AM
Stuntman's Avatar
Stuntman Stuntman is offline
Sage Fanatic
 
Join Date: Dec 2003
Location: Hemet, CA - USA
Posts: 784
Dumb Question about comskp vbs script

Quote:
Originally Posted by krutaw
Okay, so it ended up being a tad easier than I thought it would be. Anywho, I've got the script setup to where if you specify a logs, video and comskip directory (they can all be the same if needed) the script will bypass attempting to find the sage.properties file as well as the sagetv executable.

Anywho, please find the script attached. The specific command line options are(THIS SHOULD ALL BE A SINGLE LINE):

comskip_automation_0.6.vbs /vid_dir=e:\sage /comskip_dir=e:\sage /log_dir=e:\sage\logs


This example would look for only videos in the e:\sage directory, put logs to e:\sage\logs and look for comskip in e:\sage.

Please let me know if you think of anything else we can cram in this puppy. I personally was thinking of an mp3 player.... j/k :-)
Okay, maybe this is obvious.. but how does one execute a .vbs file.. do I simply run it? I tried it and one of my mpeg players started up! I want to use Windows scheduler to run this late at night and disable the background processing that is now being done through the Cayars STV..

Thanks!
Reply With Quote
  #683  
Old 01-13-2005, 11:41 AM
malore's Avatar
malore malore is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Iowa
Posts: 877
Quote:
Originally Posted by Jere_Jones
festus,

Did you want the filename in the videoredo project file to be ".\XXXX.mpg" or just "XXXX.mpg"?

Jere
I did some more testing and found that just using "XXXX.mpg" only has problems when you drag and drop the project file onto videoRedo and the last working directory doesn't contain the mpeg file for the project. So this probably won't cause a problem for most people, it just caused problems for my inital testing.
Reply With Quote
  #684  
Old 01-13-2005, 02:19 PM
festus's Avatar
festus festus is offline
Sage User
 
Join Date: Jan 2005
Location: Houston
Posts: 13
Quote:
Originally Posted by malore
I did some more testing and found that just using "XXXX.mpg" only has problems when you drag and drop the project file onto videoRedo and the last working directory doesn't contain the mpeg file for the project. So this probably won't cause a problem for most people, it just caused problems for my inital testing.
I had not done too much testing beyond removing everything before the file name (no leading ./) as that is what I needed, and I usually open the project either from the VideoRedo menu or by clicking its icon.

Thanks a lot for considering the feature request. I am going to have to pay a lot more attention to these forums now that you have me hooked.

-festus
Reply With Quote
  #685  
Old 01-14-2005, 06:25 PM
krutaw's Avatar
krutaw krutaw is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Oklahoma City, OK
Posts: 457
Send a message via AIM to krutaw
Quote:
Originally Posted by Stuntman
Okay, maybe this is obvious.. but how does one execute a .vbs file.. do I simply run it? I tried it and one of my mpeg players started up! I want to use Windows scheduler to run this late at night and disable the background processing that is now being done through the Cayars STV..

Thanks!
Normally when you doubleclick a .vbs file, Windows will launch the script with wscript.exe. Sounds like the file associations might be a tad off.

Anywho, the command line that I use in my scheduled task is:

%systemroot%\system32\cscript.exe <path to file>\<file name>
__________________
Warm Regards,

Andy Kruta A+, CNA, MCSA, Network+, RHCE

"It's kinda fun to do the impossible"
- Walt Disney
Reply With Quote
  #686  
Old 01-15-2005, 02:30 PM
ChrisAllenFiz ChrisAllenFiz is offline
Sage User
 
Join Date: Nov 2004
Posts: 37
Quick questions. What happens with the vbs script if the mpeg is deleted while it is working on it (assuming script is running on a seperate computer from sage). Will it crash sage, crash the script or work fine?

Ok, second question, can I get the script to run continuously? ie wait a certain amount of time before restarting? I ask because I`m worried the machine will take more than 24 hours, and so wil start up a second instance before the first finishes.

Chris
Reply With Quote
  #687  
Old 01-15-2005, 07:37 PM
krutaw's Avatar
krutaw krutaw is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Oklahoma City, OK
Posts: 457
Send a message via AIM to krutaw
Quote:
Originally Posted by ChrisAllenFiz
Quick questions. What happens with the vbs script if the mpeg is deleted while it is working on it (assuming script is running on a seperate computer from sage). Will it crash sage, crash the script or work fine?

Ok, second question, can I get the script to run continuously? ie wait a certain amount of time before restarting? I ask because I`m worried the machine will take more than 24 hours, and so wil start up a second instance before the first finishes.

Chris
Excellent question about what happens if the file is deleted while being scanned. If it were the same machine, Windows would likely not let it happen, however, I honestly don't know what would happen on a seperate machine. Well worth testing, let me know how that goes.. ehhe

As far as making it only run a single instance, the first time you run it, it's going to take a very very very long time. That's why I ran the script manually until I got it up to speed, and then ran it as a scheduled task. Unless you're dreadfully underpowered on the machine doing the commercial detecting or recording way more material per day than most average mortals would, you will likely not have that problem once you're up to speed.
__________________
Warm Regards,

Andy Kruta A+, CNA, MCSA, Network+, RHCE

"It's kinda fun to do the impossible"
- Walt Disney
Reply With Quote
  #688  
Old 01-18-2005, 09:32 PM
Wakecrash Wakecrash is offline
Sage Aficionado
 
Join Date: Aug 2004
Posts: 265
Trying to get Comskip to work on my Client. I entered the UNC path of my video directory on the client in the detailed setup screen. I do not get the skip segments to show still.
By what I can tell by the faqs I need to configure my server with the same UNC path as well, #1 is that correct, #2 if i do that could I loose my current recordings on the server?

Comskip on my MVPs work fine.

Thanks,
Reply With Quote
  #689  
Old 01-19-2005, 06:36 AM
Jere_Jones's Avatar
Jere_Jones Jere_Jones is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Jacksonville, FL
Posts: 993
Quote:
Originally Posted by Wakecrash
Trying to get Comskip to work on my Client. I entered the UNC path of my video directory on the client in the detailed setup screen. I do not get the skip segments to show still.
By what I can tell by the faqs I need to configure my server with the same UNC path as well, #1 is that correct, #2 if i do that could I loose my current recordings on the server?

Comskip on my MVPs work fine.

Thanks,
1) That is correct.
2) You could if you do it incorrectly. The FAQ has a section on how to move your files without losing the info.

Good luck,
Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #690  
Old 01-19-2005, 06:43 AM
festus's Avatar
festus festus is offline
Sage User
 
Join Date: Jan 2005
Location: Houston
Posts: 13
Follow-up on VideoRedo project files

I was mistaken, although the VideoRedo editor allows for local file names, the remuxer does not. I will follow-up with the vendor.
__________________
-festus
Reply With Quote
  #691  
Old 01-19-2005, 07:21 AM
phantomfsoc phantomfsoc is offline
Sage Advanced User
 
Join Date: Mar 2004
Location: Mississauga, Ont.
Posts: 230
If I want to make a scheduled task to run CS, what files need to be accesed? I just want to make a simple bat file to run on a seperate computer.
__________________
"JUST WHEN YOU THINK YOU GOT IT...... YOU GET A NEW TOY TO START OVER WITH"
AMD xp 2500, 512m DDR, MSI 6600Gt 128, SageTV Client 6.12, Toshiba 34hf83 HDTV
Reply With Quote
  #692  
Old 01-19-2005, 05:18 PM
Jere_Jones's Avatar
Jere_Jones Jere_Jones is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Jacksonville, FL
Posts: 993
Quote:
Originally Posted by phantomfsoc
If I want to make a scheduled task to run CS, what files need to be accesed? I just want to make a simple bat file to run on a seperate computer.
Comskip needs access to the exe and the ini file. It will also need write access to the directory that contains the video.

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #693  
Old 01-19-2005, 05:19 PM
Jere_Jones's Avatar
Jere_Jones Jere_Jones is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Jacksonville, FL
Posts: 993
Quote:
Originally Posted by festus
I was mistaken, although the VideoRedo editor allows for local file names, the remuxer does not. I will follow-up with the vendor.
Let me know how it goes. If they make a change, I'll release a new version.

Thanks,
Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #694  
Old 01-19-2005, 05:25 PM
phantomfsoc phantomfsoc is offline
Sage Advanced User
 
Join Date: Mar 2004
Location: Mississauga, Ont.
Posts: 230
Thanks,
I'll try it out.
__________________
"JUST WHEN YOU THINK YOU GOT IT...... YOU GET A NEW TOY TO START OVER WITH"
AMD xp 2500, 512m DDR, MSI 6600Gt 128, SageTV Client 6.12, Toshiba 34hf83 HDTV
Reply With Quote
  #695  
Old 01-20-2005, 01:52 AM
Torgo Torgo is offline
New Member
 
Join Date: Jan 2005
Posts: 2
Source Code?

Sorry if this is a stupid question, but where would I go to get the source code to comskip? Going to:

http://www.sage-community.org/index..../comskip/trunk

shows 5 month old code...

Thanks
Reply With Quote
  #696  
Old 01-20-2005, 01:55 AM
setherd setherd is offline
Sage Advanced User
 
Join Date: Jun 2004
Posts: 212
I was using the old version of comskip then switched to MCE2005...now I'm back to sage
I can't get it to work. I've downloaded the latest 0.64, and I downloaded the malore.stv from the original compskip to use.
now when I try to switch over to the malore.stv it locks up sage.
is there another stv i can use?

am I missing something? the community pages are a little vague. do i need libmpeg2 for the new versions to work or is that just for compiling from the source?

any help is apprecieated
Reply With Quote
  #697  
Old 01-20-2005, 06:20 AM
Cayars Cayars is offline
Sage Icon
 
Join Date: Nov 2003
Posts: 2,029
You could try the Cayars STV. Just install per the direction on the first page of the thread and you'll have ComSkip working.
Reply With Quote
  #698  
Old 01-20-2005, 06:50 AM
ToxMox's Avatar
ToxMox ToxMox is offline
Sage Icon
 
Join Date: Oct 2003
Location: NJ
Posts: 1,980
Quote:
Originally Posted by Torgo
Sorry if this is a stupid question, but where would I go to get the source code to comskip? Going to:

http://www.sage-community.org/index..../comskip/trunk

shows 5 month old code...

Thanks
Try the link from Jere_Jones signature to get the "bleeding edge" version:
http://www.sage-community.org/index....nches/jeredev/
Reply With Quote
  #699  
Old 01-20-2005, 06:55 AM
Cayars Cayars is offline
Sage Icon
 
Join Date: Nov 2003
Posts: 2,029
BTW, if you're running ComSkip with my STV don't use the ComSkip mentioned above. Use the version in my ZIP files as it's slightly different.
Reply With Quote
  #700  
Old 01-20-2005, 06:55 AM
Torgo Torgo is offline
New Member
 
Join Date: Jan 2005
Posts: 2
Quote:
Originally Posted by ToxMox
Try the link from Jere_Jones signature to get the "bleeding edge" version:
http://www.sage-community.org/index....nches/jeredev/
Whoops! Yep, that was a stupid question. How could I have missed that?

Thanks.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 02:41 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.