[Libav-user] Color depth in MXF file

Carl Eugen Hoyos cehoyos at ag.or.at
Sat May 12 14:43:47 CEST 2012


Geoffrey tn <geoffrey.tn at ...> writes:

> My problem is, it doesn't work with a MXF File. The value of 
> "bits_per_coded_sample" is all the time fixed to 0. 
> 
> I tried with MXF files composed of JP2K and IMX.

I suspect bits_per_coded_sample is not written in the mxf files 
(it is written in some other files in the directory).
If you initialize the decoder, you should get the information.
For mpeg2video 4:2:2 as used in the imx samples, it is always 
16 bit per pixel, j2k supports different values, but rgb24 as 
in the sample is always 24bit.

Carl Eugen



More information about the Libav-user mailing list