[mythtv-users] Transcode:Keeping AC3

Brad DerManouelian myth at dermanouelian.com
Thu Mar 27 15:44:53 UTC 2008


Mike Holden wrote:
> Mitch Gore wrote:
>> I found this script which seems close to what i need:
>>
>> #!/bin/sh
>> # Transcode mythtv video down to a reasonable resolution, preserving AC3
>> audio
>>
>> if mencoder -o /dev/null $1 2>/dev/null | egrep -q 'fps:(59|60)'; then
> [ snip ]
> 
> Note that the script will fail for any filename that has spaces or other
> "special" characters in it, due to using plain ol' $1 in the script.
> Consider changing this to "$1" each time to try to get round this if you
> anticipate this could be a problem.

Note that MythTV will never record a program with a file name with a 
space or "special" character unless you are doing something to the file 
after it's been recorded. At that point, you're on your own anyway. :)



More information about the mythtv-users mailing list