[Libav-user] Color depth in MXF file

Geoffrey tn geoffrey.tn at hotmail.fr
Sat May 12 01:33:54 CEST 2012

Usually I use the function av_find_best_stream(...) to get the color depth of a generic media file and I retrieve the information with "fmt_ctx->streams[video_stream_index]->codec->bits_per_coded_sample" and it works perfectly.
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.
Can you give me a trick ? 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120512/a0644b3b/attachment.html>

More information about the Libav-user mailing list