![]() |
|
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
|
||||
|
||||
Cmd Line DivX Encoder
Anyone know of a good DivX encoder that either has an API or good command line options?
I am looking into doing some kind of re-compression that integrates into the Sage UI. I have done a little looking and don't see anything good. If I can't find something as good as the current tools out there to do it manually, I probably won't bother ![]() There must be something ![]() |
#2
|
||||
|
||||
I was (unpleasantly) surprised about how few 'decent' avi encoders there are... This coupled with how few 'decent' VFW mpeg2 decoders makes mpeg2->avi quite a pain...
The fastest I have found so far seems to be the Gknot solution of Mpg(video)->DGindex->d2V->GKnot/AviSynth->VirtualDubMod; together with Mpg(audio)->BeSweet->mp3; for audio, and then in VirtualDubMode. VirtualDubMod does read mpeg2 video, and seems to be scriptable, but cannot recode the mpeg2 audio stream, and it's video decompresser seems to be very slow, incomparison with the Gknot solution... I have not actually tried AutoGK yet, maybe this is more suitable, but it appeared to be only for DVD->DivX than MPEG2->DivX [Edit]: and AutoGK FAQ says no CLI mode, ever!... [/Edit] In any case, the www.Doom9.org forums are full of information like this, and thir Download page seems to have every video software ever imagened!
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki ![]() Last edited by nielm; 06-27-2004 at 12:26 PM. |
#3
|
|||
|
|||
I've used AutoGK, it's very nice. It's easy to use and the results are fantastic. The only thing I have to set is 350MB for a 1 hour show, and 512pixel width, and the results look almost as good on tv as the original mpeg.
But right now, AutoGK seems to only accept input from folders that looks like ripped dvd stucture. So usually I just use TMPGenc dvd author to edit out commercials and author to a folder, then use AutoGK. I started doing it this way because the first time I tried Gknot, it just looked too confusing. |
#4
|
|||
|
|||
Quote:
|
#5
|
|||
|
|||
Quote:
|
#6
|
||||
|
||||
At this point I can't seem to find anything good to use that even comes close to the quality of the manual tools out there. I will keep on eye on this thread for awhile, though, but I feel this project may never happen
![]() |
#7
|
|||
|
|||
Dr. DivX is supposed to release a new version in July that will have increased batch capablities. You might want to check with thekidd at the forums on www.divx.com. He might be willing to spill the beans to a developer working on a module for SageTV than to us commoners. But there was some hinting that CLE might be available.
|
#8
|
|||
|
|||
Command Line MPEG2 -> MPEG4 Compressor
In another thread someone suggested HGRip as a command line compressor. I havn't tried it myself, but it looks promising for integration with SageTV. It sounds similar to autoGK, but has command line options.
Other Thread Here is the link: HGRip |
#9
|
|||
|
|||
Screw DivX. XVID has much better quality and compression and it's open source.
|
#10
|
||||
|
||||
I would love to use XVid too. Same questions for it as well. I don't see any decent MPEG4 cmd line tools.
I will check out HGRIp. |
#11
|
|||
|
|||
I personally prefer Xvid as well. I think the quality is better especially for anime. But you do have to admit that if you just want to do something quick and dirty then Dr Divx is good(too bad it lacks CLI ATM). Which ever(Divx/Xvid) is used the trick is getting a app that has good CLI support(read functions and documentation) and doesn't need much info from us to get going. Without that I can't see MlbDude going anyhwere with this. There's no need for him to have to re-invent GK or any of other apps of that style. I'll never understand why so many developers leave off CLI support, when it's such a usefull thing.
![]() ![]() /justme Last edited by justme; 06-30-2004 at 04:07 PM. |
#12
|
|||
|
|||
HGRip
I just tested HGRip and I think we have a winner for 3rd party integration with Sage. It only works with XVID (not DIVX) but I like XVID better anyway.
The command line options are simple and it has a decryptor built in, unlike AutoGK which required DVDDecryptor to run separately before compression. The command line is simple, for (ac3 audio / high quality video): HGRip ac3high Read the advancedoptions.txt that comes with it to see other useful command line commands. It took about 3 hours to convert a DVD->AVI(Mpeg4/xvid) on an XP1800+. It went from 5.7gigs to 1.3gigs. Watched the movie afterwards and it looked and sounded good. A simple batch file could move the .avi file it generates to the library after it finishes running. One minor problem is that by default it brings up a couple small windows during processing. It should be possible to have them start minimized so they won't be in the way. |
#13
|
||||
|
||||
Will we be able to use this to compress MPEGs recorded by Sage as well?
JUC
__________________
Server: Athlon 2000XP; 1GB Kingston Ram; 250GB Seagate; 160GB Seagate; 160GB Western Digital; Lite-on DVD player; Hauppauge Rosyln; Hauppauge PVR-150; ATI AIW 7500; Actisys 200L; running stock v5 .stv Client: MVP Extender running SageMC |
#14
|
||||
|
||||
I was doing some digging and it seems Virtualdub has command line options.
The Scripting Doc Scripted Job Creation VirtualDubMPEG-2 Upgrade (my favorite) VirtualDub Forums I hope these help. This would be such a great feature. Let me know if you need someone to help test/develop it. |
#15
|
||||
|
||||
FFMpeg is also out there... It is command line based as well.
Quote:
http://ffmpeg.sourceforge.net/ When you couple this with changing the priority of the actual program, you can eliminate most of the drag on the system... -Jason |
#16
|
||||
|
||||
Quote:
|
#17
|
|||
|
|||
XVID vs MPEG4
Does anyone know what the pros / cons of using MPEG4 vs. XVID?
I really like the compression and quality I have gotten from using DIVX and XVID but have no MPEG4 experience. Do we know if the project is actively moving and supported? It looks like the last release was 9/2003 (almost a year ago). Last edited by edbmdave; 07-05-2004 at 02:39 PM. |
#18
|
||||
|
||||
Re: XVID vs MPEG4
Quote:
Quote:
Quote:
|
#19
|
|||
|
|||
Sorry, let me better qualify my question. Does anyone know what type of compression and quality are rendered by the ffmpeg product, and do we know what type of ongoing support it has?
|
#20
|
||||
|
||||
OK, just an update on this. I now have the UI modified with a "Compress" option in the recording details section for a recording. This will dump out an XML file to a configurable location.
The XML file contains all information needed for encoding (source path, dest path, video bit-rate, audio bit-rate, and show information). What I had planned on doing is developing another application that a user can schedule and configure on any machine (not just the SageTV server box) that would poll this directory and process those jobs. Since the user would have to schedule this job themselves in Windows Scheduler the user could define when and how often the job would run. The program would compress each MPEG2 to MPEG4 using ffmpeg to the destination folder plus title subdirectory. I envision the destination folder to be somewhere under the SageTV servers video library structure. The program would also output an appropriate .my file that would contain the meta data for the show (title, description) that would be visible in the SageTV video library. Here is my immediate problem. I am out of time ![]() Thanks! |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|