|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
How To Remove Commercials
Hi.
For those of us who have commercial detection setup and want to just remove the commercias OUT of the mpeg files, preferably from SageTV menus, what's available? I have ShowAnalyer, DirMon2, all works well. SageTV skips the commercials with comskip. Now, I would like to take those mpeg files and the edl commercial cut points and CUT out the commercials. Anything available that can be done inside SageTV via custom stuff? |
#2
|
||||
|
||||
#3
|
||||
|
||||
See my reply to your other post
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#4
|
|||
|
|||
Thanks Guys.
|
#5
|
|||
|
|||
Quote:
|
#6
|
|||
|
|||
Quote:
The comclean scripts calls mpgtx.exe which gives an error of "warning: couldn't find any valid system header. I'm continuinng anyway." Can this be the cause why the new mpeg files wont play? What's the fix? |
#7
|
|||
|
|||
Quote:
"You MUST check the framerate in the Comclean.bat file The default is set to PAL set framerate=2500 Set to 2997 for NTSC Usage The only parameter to Comclean is the name of the .mpg file to clean. Comclean reads the .txt file with the same path and basename to know where to cut. The text file was generated by ComSkip. When Comclean runs it copies the original .mpg file to _original.mpg and it creates a file without the commercials with the original name so when something fails you always can go back to the original file. Cutting is done on Group Of Picture (GOP) boundaries and no updating of the DTS/PTS is done. This may cause some mpeg players to crash. A typical GOP size is 7 to 15 frames so the cutting may be up to a second wrong. The advantage of this approach is the high processing speed. If Comclean does something you do not understand you always can run it from the command line or change the line in PostProcessing.bat into call Comclean %1 >>Comclean.log 2>>Comclean.err " |
#8
|
|||
|
|||
Why not produce an a compressed xvid at the same time and use my batch file?
__________________
http://www.hydranterouge.com |
#9
|
|||
|
|||
You have a great setup and I would love to use it, but due to disk space, I cannot run it on my C: drive. If I put all the program in say D:, will your scripts work in D:?
|
#10
|
|||
|
|||
Quote:
The batch is meant to be configured so that your source (mpeg) folder is on your video recording directory. Drive C:\Project contains the batch file and Virtualdub, comskip, etc. Very little space consumed. At the top of HQConver2Pass.bat you will see (open with notepad) Code:
Set CUTDIR=c:\Project\Converted set CAPDIR=c:\Project\misc set VDir=c:\VirtualDub SET WORKDIR=c:\PROJECT set SDIR=c:\Project\source CutDir can be defined as any directory on D: where you want to put your converted and commercial cut videos. Finally Capdir is a temporary directory and should be on the same har drive as where SDir and CutDir are. In fact I don't recommend anyone using their drive C: for SDir, Curdir and Capdir. The defaul batch file is that way only because I can't anticipate everyone'd drive setup. Hope that helps.
__________________
http://www.hydranterouge.com Last edited by roxy99; 03-26-2007 at 11:20 AM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Removing commercials from recorded shows. | Jackal | General Discussion | 6 | 11-19-2006 06:58 PM |
Anyway to update or remove a show from the DB? | jbuszkie | SageTV Studio | 1 | 07-30-2006 01:45 AM |
Commercials | Silky1 | SageTV Software | 4 | 07-18-2006 04:48 PM |
Remove padding on back to back recordings on a per favorite basis? | Deadbolt | SageTV Software | 1 | 04-01-2006 05:28 PM |
Commercials Free on SageTV 4 | joe123 | SageTV Customizations | 10 | 01-10-2006 09:02 PM |