On 27/03/2017 12:53, Kieran Kunhya wrote: > On Mon, 27 Mar 2017 at 11:36 Luca Barbato <[email protected]> wrote: > >> On 27/03/2017 12:28, Kieran Kunhya wrote: >>> These offsets are optional so you need to search for BBCD >> >> Is there something to know that we are in a situation or the other >> beside check if the two values are as expected and fallback otherwise? >> >> BBCD+1byte is way too common and I'm not seeing escaping rules in the >> dirac spec, but probably there is a newer specification. >> > > BBCD+1byte is the only way, they don't do escaping. >
Who's the insane person that makes an elementary stream with a short startcode and no escaping? The reference encoders output the bitstream with offsets luckily. I guess I'll try to check if the bitstream starts sane and keep the raw mode if it is not. (yes I have valid streams that this demuxer handles and the raw mode does not). lu _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
