[mythtv-users] Transcode:Keeping AC3

Mike Holden mythtv at mikeholden.org
Thu Mar 27 15:55:32 UTC 2008


Brad DerManouelian wrote:
> Brad DerManouelian wrote:
>> 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. :)
>
> But I guess you were talking about random video files that could have
> any name. Should have followed the thread closer before commenting...

I guess we're both right then!
-- 
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