select audio stream by [0x80] , stream_id ?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

select audio stream by [0x80] , stream_id ?

sean darcy
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.


_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: select audio stream by [0x80] , stream_id ?

sean darcy
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



_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: select audio stream by [0x80] , stream_id ?

sean darcy
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.


_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".