[mythtv-users] mytharchive and 6-channel audio

Joe Ripley vitaminjoe at gmail.com
Fri Sep 14 15:24:03 UTC 2007


On 9/14/07, Mark Buechler <mark.buechler at gmail.com> wrote:
> I'm having trouble using MythArchive with a couple of my recordings. It
> seems to be picking the wrong audio. Shouldn't it be picking only the ac3
> audio?
>
> I'm seeing this in the log:

<snip>

> When running ffmpeg manually with those options I get:
>
> ffmpeg -threads 2 -v 1 -i "/transcode/work/1/newfile.mpg" -r ntsc -target
> dvd -b 2344k -s 352x480 -acodec copy -copyts -aspect 4:3
> "/transcode/work/1/newfile2.mpg" -newaudio -map 0:0 -map
> 0:2 -map 0:1

I think the problem is with the stream mapping.  Your MPEG file has
two audio streams (one in AC3 and one in MP2).  Your command looks
like its trying to map both audio streams and ffmpeg doesn't like the
6 channels in the MP2 audio.  Try something like this:

ffmpeg -threads 2 -v 1 -i "/transcode/work/1/newfile.mpg" -r ntsc
-target dvd -b 2344k -s 352x480 -acodec copy -copyts -aspect 4:3
"/transcode/work/1/newfile2.mpg" -newaudio -map 0:0 -map 0:1

(I just removed the '-map 0:2' option)

-- 
Joe Ripley
vitaminjoe at gmail.com


More information about the mythtv-users mailing list