Tested with MPlayer SVN-r29355. I've got a ts file with two audio tracks, reported this way by mplayer: ID_AUDIO_ID=1403 ID_AUDIO_ID=1402 If I try to change the audio track with the switch_audio command, using the ID as parameter (1402 or 1403), it doesn't work, the audio doesn't change. I have to use instead the numbers 0 and 1 (0 selects the first audio track, 1 the second). But wouldn't be the correct to use the ID number? I think to remember that at least for DVDs the ID was required. This is what http://www.mplayerhq.hu/DOCS/tech/slave.txt says about it: switch_audio [value] (currently MPEG*, AVI, Matroska and streams handled by libavformat) Switch to the audio track with the ID [value]. Cycle through the available tracks if [value] is omitted or negative. BTW, there's another problem. Initially mplayer reports this: ID_AID_1403_LANG=eng ID_AID_1402_LANG=spa But some lines below says this: ID_AID_1403_LANG=spa ID_AID_1402_LANG=spa which is wrong. Full log attached (and compressed, it's huge). BTW, is it necessary that those ID_VIDEO_ID and ID_AUDIO_ID lines appear so many times? -- RVM
Attachment:
log.txt.gz
Description: GNU Zip compressed data
_______________________________________________ MPlayer-users mailing list MPlayer-users@xxxxxxxxxxxx https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users