[FFmpeg-user] select audio stream by [0x80] , stream_id ?

sean darcy seandarcy2 at gmail.com
Thu Oct 18 02:13:42 EEST 2018


I have some vob's where the language tracks aren't consistent. That is 
Stream 0:2 is sometimes English , sometimes not. But [0x80] is always 
English with these vobs.

VOB A:

Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, smpte170m, 
progressive), 720x480 [SAR 8:9 DAR 4:3], Closed Captions, 29.97 fps, 
59.94 tbr, 90k tbn, 59.94 tbc
     Stream #0:1[0x82]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
     Stream #0:2[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s

VOB B

     Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, 
smpte170m, progressive), 720x480 [SAR 8:9 DAR 4:3], Closed Captions, 
29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
     Stream #0:1[0x20]: Subtitle: dvd_subtitle
     Stream #0:2[0x21]: Subtitle: dvd_subtitle
     Stream #0:3[0x82]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
     Stream #0:4[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s

First of all, what's the name for the [0xXX] identifiers ?

And is there a way to use those identifiers to select a stream?
This does not work:
-map a:[0x80]

Thanks for any help.




More information about the ffmpeg-user mailing list