Geoffrey tn <geoffrey.tn@...> 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 _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
