Roger Heflin wrote: > Here is an update transcode script that changes the following... ... > mplayer -identify only works with mplayer - not with mencoder - not sure > whoever added this option thought it out, and mplayer does not > appear to have a way to redirect to nowhere, so cannot be > easily used.
Take a look at the getaviinfo() function in the mythnuv2mkv.sh script: http://web.aanet.com.au/auric/files/mythnuv2mkv.sh (script) http://web.aanet.com.au/auric/?q=node/6 (documentation) It runs: mplayer -vo null -ao null -frames 0 -identify "$FILE" 2>/dev/null and then proceeds to parse the results. mythnuv2mkv.sh is an impressive accomplishment for a shell script...it not only performs database I/O, but it also fully implements the MythTV job queue protocol. (Not something I'd attempt in a shell script. At 2000+ lines and 35 functions, it's well past the complexity level that would warrant implementing in a higher level language.) But mythnuv2mkv.sh does illustrate how to pull off most of the steps necessary for tight integration with MythTV. I think I've finally hit upon the right mencoder settings to transcode NUVs to MVP compatible MPEG2, so I'm looking into how best to package the code so it can be ran as a MythTV user job. mythnuv2mkv.sh is one of the scripts I'm looking at to steal parts of. -Tom ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mvpmc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mvpmc-users mvpmc wiki: http://mvpmc.wikispaces.com/
