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

sean darcy seandarcy2 at gmail.com
Thu Oct 18 23:02:21 EEST 2018


On 10/17/18 7:40 PM, sean darcy wrote:
> On 10/17/18 7:13 PM, sean darcy wrote:
>> 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.
>>
> Even a blind squirrel can sometimes find a nut:
> 
> this works
> 
> -map i:0x80

And ,as an added benefit, if you're concatenating a bunch of vobs, it 
will map the 0x80 stream of each vob even though the stream number (what 
is the term for #0:n ?? ) changes vob to vob, as above.




More information about the ffmpeg-user mailing list