[mythtv-users] Transcode:Keeping AC3

Mike Holden mythtv at mikeholden.org
Thu Mar 27 15:38:56 UTC 2008


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.
-- 
Mike Holden

http://www.by-ang.com - the place to shop for all manner of hand crafted
items, including Jewellery, Greetings Cards and Gifts





More information about the mythtv-users mailing list