|
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
|
|||
|
|||
Comskip XviD batch using 2 pass **NEW SMART-CROP**
FEATURES
I'd like to thank the author of Comskip, Erik, without whom this would have been impossible. Also, please take time to visit the individual author's sites of the various utilities to make sure you are running the latest versions. Project.zip inlcudes the latest stable versions as of Dec 3, 2006. New version 1.6 Choose 1 pass or 2 pass & Smart crop for 4:3 content to fit 16:9 widescreen (April 6, 2007) INSTALL INSTRUCTIONS
LAUNCH Copy one or several *.mpg files in C:\Project\Source making sure NO SPACES or non alphabetic characters (#$%") other than _ ( underscore) appear in filenames Double click directly from C:\Project (or make desktop shortcut)
Now have supper, go to bed, go out, etc. Come back and you will find the folder C:\Project\converted populated with Xvid Avi without commercials. ======================================== Version History: Ver 1.0: Initial batch file and all required files uploaded to customizations Ver 1.1: Revised Convert2Pass.bat - fixed references to CAPDIR variable Ver 1.2: Latest versions (attached) - fixed Line too long error in Windows 2000 systems. Uses seperate Pass1.vcf and Pass2.vcf files for easier management. Ver 1.3: MSharpen plugin added. Ver 1.4: HQ 640x480 only- automatically sets cropping for widescreen format when detect Dominant Aspect ratio 1.9600 by comskip. Ver 1.5 Smart crop for 4:3 content to fit 16:9 widescreen Ver 1.6 Choose 1 pass or 2 pass & Smart crop for 4:3 content to fit 16:9 widescreen Last edited by roxy99; 04-06-2007 at 05:02 PM. Reason: New version 1.6 Choose 1 pass or 2 pass & Smart crop for 4:3 content to fit 16:9 widescreen |
#2
|
|||
|
|||
If you are using this above file in conjunction with the 1 pass method, then rename your other project folder for 1 pass to C:\Project1pass
Adjust the variables accordingly: %CAPDIR% %WORKDIR% %CUTDIR% %SDIR% Last edited by roxy99; 01-03-2007 at 02:56 PM. |
#3
|
|||
|
|||
Any other good troops out there willing to try this. It really works and SUPER easy to set up now.
|
#4
|
|||
|
|||
is there a way to changethe file name for the recording?
because i would like to convert and then burn to a dvd to be shown on a Divx capable DVD. so I need the file names, I think I just need a simple STVI to change the name of the file, from sage.
__________________
Server SageTv 6.3.5, Core2Duo 6300 ,2Gigs ,Saphire x1650, PVR250, 2*320GB + 160GB, java 1.6.1 Client SageTV Client 6.3.5 , AMD 3000, 1024Mb, Saphire x1600Pro256HDMI, java 1.6.1 Using Nielm's Web server 2.22 |
#5
|
|||
|
|||
Quote:
I'm not sure I understand what you want to do. Do you mean to change the mpg file name BEFORE sending it to the batch conversion to XVid? Or do you mean to rename the AVI after conversion? What do you want to rename it to? Are you saying that the file names are too long for a standalone player capable Xvid file? If that's the case then I can look into making a renaming batch file. Is that what you want? Try this for simple rename operation: http://graphicssoft.about.com/cs/ren...t/renamexp.htm Now, download my utility and start testing some XviDs ! : D Last edited by roxy99; 12-04-2006 at 12:01 PM. |
#6
|
|||
|
|||
my interset is to compress the file and then after i get it back in sage (like their compression does) to change the name of the file so I can burn it and give it to my "sage deprived family" - known from here on as SDF.
The SDF like to watch the shows but they do not know the file names that sage outputs, so i need a complementry addition, to change the name of files after the compresion has been done, in the sage UI. With the current sage implementation I renme each file BEFORE but this is not a good solution,as I am lazy, and when I give the command to compress, its basically beore I go to bed, and I want a short way to rename before I burn. Its all about WAF (sage is good for that), and SDF - thats wh compression is good. Hope this helps understand my motivation...
__________________
Server SageTv 6.3.5, Core2Duo 6300 ,2Gigs ,Saphire x1650, PVR250, 2*320GB + 160GB, java 1.6.1 Client SageTV Client 6.3.5 , AMD 3000, 1024Mb, Saphire x1600Pro256HDMI, java 1.6.1 Using Nielm's Web server 2.22 |
#7
|
|||
|
|||
redundant info
Last edited by roxy99; 03-29-2007 at 01:12 PM. |
#8
|
|||
|
|||
I am sorry, let me clarify:
1. I have not yet downloaded and tried the method, its quite late right now, and I am saving this for a better time. I like to do my homework be fore I try new stuff. 2. I record from sage not using the show+episode name, so my files are all in the following format: xx-xxxxx.mpg or sagetv-xxxx.mpg, when I view them in sage I do not care, but when I want to burn them to dvd and give tem to my sister (SDF), I need to burn comprehenable names to disk. Now I coud go and see in the detail info, which xx-xxx.mpg coressponds to gray's anatomy se2 ep3 or (what I would like to do), is right click the show in sage, have a "Change Filenme" option and change the file name. I tried doing that before but was unsuccsessful, I know I can make this STVI on my own (STVI so that other may use this method), but with the new house, time is a rare comoditee. with the current v6 implementation of compression by sage, you can choose to compress a file and give it a new name, and then send it to compress. Hope this makes it more understandable.
__________________
Server SageTv 6.3.5, Core2Duo 6300 ,2Gigs ,Saphire x1650, PVR250, 2*320GB + 160GB, java 1.6.1 Client SageTV Client 6.3.5 , AMD 3000, 1024Mb, Saphire x1600Pro256HDMI, java 1.6.1 Using Nielm's Web server 2.22 |
#9
|
|||
|
|||
repeat
Last edited by roxy99; 03-29-2007 at 01:12 PM. |
#10
|
|||
|
|||
I'll be submitting a new version soon with a higher bitrate for less pixelation.
Also, the resolution is dropped a notch from 640x480 to 512x384 to help out. The next version will encode to 640x480 using a bitrate of at least 1200. Presently the bitrate is 800 only for maximum compression. If we get enough people using this approach, then maybe someone will write an STVi to automate this process within the Sage interface similar to Sage 6 except customizable compression and commercial removal. Last edited by roxy99; 12-06-2006 at 11:42 AM. |
#11
|
|||
|
|||
redundant
Last edited by roxy99; 03-29-2007 at 01:12 PM. |
#12
|
||||
|
||||
Reasons why I havent downloaded:
1) Evilpenguins video tool STVi looks promising; doesn't quite work for me now but he's working on it. 2) I'm confused on how to change around encode settings using this method, does it use mencoder? For one I dont want to encode audio to mp3, I want to keep AC3 sound. Batch processing on the whole is convenient, I was using it with Dr Divx, but I had to put everything thru VideoRedo first to remove commercials. |
#13
|
|||
|
|||
Quote:
Quote:
If you're already recording digital audio, then you're right- you loose the AC3 with this method. Most people receive regular sterio auio so the mp3 is not an issue- especially at 192 CBR that I am using. It uses Avisynth. You can incorporate different resolutions use other filters, etc. But configuration is not plug-and play. Each change needs batch file changes. However, the quality vs compression you will be impressed I'm sure with the settings I've used. Quote:
|
#14
|
|||
|
|||
roxy99
You're not p&ssing in the wind! I love what you've put together here! I'm also anxious to see your other realease that will keep 640X480 @ 1200 bitrate. I personally don't mind a little larger file size. |
#15
|
|||
|
|||
Quote:
|
#16
|
|||
|
|||
ComSkip XVid batch HQ 1200 bitrate
Update
New version:
Extract contents of attached zip to the C:\Project folder. Update- Dec 30, 2006 : Vesion 1.2. Fixed Line too long error in Windows 2000 systems. Extract all contents to c:\project folder. See first post for attachment. Last edited by roxy99; 12-30-2006 at 12:42 PM. |
#17
|
|||
|
|||
Very nice... Are these settings for SD video or HD video? If the source has more detail you would like to use higher bitrates than for lower res video...
Thanks, Mike |
#18
|
|||
|
|||
Quote:
|
#19
|
|||
|
|||
Quote:
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/ |
#20
|
|||
|
|||
I have heard complaints that transcoding is hard on the cpu. Trust me, I know. I use a 4 year old Athlon XP 3200. It is very time consuming.
There is also a 1 pass version at http://forums.sagetv.com/forums/showthread.php?t=21473 The install process is more manual than this simplified install. You will be happy to know, that the batch file can be easily modified so that it can run on a seperate PC. You can run the batch file from a laptop or other dedicated PC. Eg: C:\Project\Source & converted directories, can instead point to X:\Source and X:\Converted. Where X: is the capture drive on the Sage server. Hence the Avisynth and Virtualdub script are processing and doing all the hard work remotely from the Sage Server. What is needed now is a monitoring application like Steeps' comskip monitor. This can be used to monitor for new mpg files to copy and paste into X:\Source. Another monitoring application can run on the remote PC and check for contents in the Source folder and execute the batch file. I like using the Source folder because it does its work only on a copy of the Mpg. If anything goes wrong, the damage is limited to the X:\Source copy and not the actual captured mpg file. Last edited by roxy99; 12-11-2006 at 11:33 AM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|