[mythtv-users] MythArchive selecting wrong audio track

John Pilkington J.Pilk at tesco.net
Wed Jun 6 06:27:57 UTC 2007


Preston Crow wrote:
> Is there any way to override the audio track selection in MythArchive?
> I have a bunch of shows where you have to manually select a different
> audio track when playing them, and if I export them, they end up with
> the wrong one.  (I'm running today's subversion code.)
> 
> An alternate solution would be if there is a way to use the lossless
> mpeg-2 transcoder to switch audio tracks, or even just dump the first
> one, then I could do that first.
> 
ffmpeg -i  2515_20070515220000.mpg

will identify the tracks present.

mplayer -vo null -ao null -aid 1 -frames 0 -v  2515_20070515220000.mpg

will give details of what it sees as audio track 1

mencoder -oac copy -aid 1 -ovc copy  -of mpeg -mpegopts format=dvd \
-o 2566_20070422125900.mpg  2566_20070422125900.mpg1

will create a file containing audio track 1 from the (renamed) original 
file, leaving it in position for a lossless mythtranscode, after which 
it can be edited.

No guarantees, and it's messy, but it can often be made to work.

HTH

John P









More information about the mythtv-users mailing list