[mythtv-users] mytharchive and 6-channel audio

Joe Ripley vitaminjoe at gmail.com
Fri Sep 14 16:03:25 UTC 2007


On 9/14/07, Mark Buechler <mark.buechler at gmail.com> wrote:
> Problem is, the number of mappings has to match the number of output
> streams. Ffmpeg will add one audio stream by default and -newaudio will add
> a second + the video makes three so there has to be three mappings.
>
> I think I may have figured it out. It seems ffmpeg is wanting to re-encode
> the new audio stream. A fix for this is to add "-acodec copy" right before
> "-newaudio". In mythburn.py this would be:
>
>     #add second audio track if required
>     if audio2[AUDIO_ID] != -1:
>         command += " -acodec copy -newaudio"
>
> Does this look right?

I'm not an expert on ffmpeg, so I can't say for sure...  I guess all
you can do is try. :)

-- 
Joe Ripley
vitaminjoe at gmail.com


More information about the mythtv-users mailing list