<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<div>Hi,</div><div><br></div><div>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.</div><div><br></div><div>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. </div><div><br></div><div>I tried with MXF files composed of JP2K and IMX.</div><div><br></div><div>Can you give me a trick ?</div>                                         </div></body>
</html>