Hi

Eric Hennigan wrote:
> I've been trying to get access to the user_data portion of some mpeg2 files. 
> It looks like libavcodec/mpeg12.c: mpeg_decode_user_data(...) function simply 
> ignores non-DTG data. My files happen to have KLV (it's like mxf) data in 
> that section. Is there any way of obtaining direct access to the user_data 
> section through the AV(Codec|Format)(Context)* API ?

Humm I don't think so, nonetheless I think API could be extended to
export such user data, feel free to come up with a clean and simple
solution and post a patch to ffmpeg-devel.

> I was also surprised to find that mpeg_decode_user_data(...) didn't skip over 
> some bits if it happened to be filled with something that wasn't understood.

If skip is needed, patch welcome.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to