On 10/26/11 7:31 AM, Joseph Artsimovich wrote:
I found two problems with decoding of DNxHD encoded videos in MXF
container.

1. The DNxHD codec signature in libavformat/mxf.c is wrong.
2. Frame height is calculated incorrectly for interlaced videos. What's
stored in PictureEssenceDescriptor in MXF is not a frame height but
field height.
This is a general problem that should affect other codecs. I checked how
D-10 (IMX) in MXF container ends up being handled correctly, and it
turned out it's because of stream parsing.

The patches fixing the decoding problems are attached. Note that I
didn't look at MXF encoding, which might or might not be affected by
problem 2.


Both look fine, I'd format with the commit message derived from your explanation.

Thanks for the patches =)

lu

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to