<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br>Hi,<div><br></div><div>I had a project which worked fined using the FFmpeg version 0.8.6. But it had <a href="http://ffmpeg.gusari.org/viewtopic.php?f=11&t=954">few memory leaks</a> due to FFmpeg so I decided to switch to the last version of FFmpeg so I <a href="http://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20quickly%20compile%20libx264">compiled ffmpeg</a> with the sources from the git repository (<span style="background-color: rgb(247, 247, 247); font-size: 12.800000190734863px;">git://git.videolan.org/x264.git)</span><span style="font-size: 12pt;">. </span></div><div>Now my application doesn't work anymore.</div><div>Bugs :</div><div><ul><li><span style="font-size: 12pt;">after using avformat_find_stream_info, the AVFormatContext has </span>nb_streams == 0 while, when I use it with av_find_best_stream, av_find_best_stream find one video stream.</li><li>avcodec_find_decoder can't find a decoder which match with he stream I retrieved using av_find_best_stream.</li></ul><div><br></div>The informations I gathered about the stream I retrieved using av_find_best_stream are :</div><div><div>print_info AVStream :</div><div><span class="Apple-tab-span" style="white-space:pre">    </span> Video: mpeg4 (Advanced Simple Profile), yuv420p, 640x480 [PAR 1:1 DAR 4:3]</div><div>  - Codec infos :</div><div><span class="Apple-tab-span" style="white-space:pre">     </span> coder_type : VIDEO</div><div><span class="Apple-tab-span" style="white-space:pre">  </span> codec : </div><div><span class="Apple-tab-span" style="white-space:pre">   </span> size : 0x0</div><div><span class="Apple-tab-span" style="white-space:pre">  </span> pix_fmt : PIX_FMT_YUV420P</div><div><span class="Apple-tab-span" style="white-space:pre">   </span> bit_rate : 0</div><div><span class="Apple-tab-span" style="white-space:pre">        </span> timebase : 0/0</div><div><span class="Apple-tab-span" style="white-space:pre">      </span> sample_aspect_ratio (SAR): 1145656920:1</div><div><span class="Apple-tab-span" style="white-space:pre">     </span> display_aspect_ratio (DAR): 0:0</div><div><span class="Apple-tab-span" style="white-space:pre">     </span> q=8--1781464128</div><div><span class="Apple-tab-span" style="white-space:pre">     </span> gop_size : 0</div><div><span class="Apple-tab-span" style="white-space:pre">        </span> min gop size : 0</div><div><span class="Apple-tab-span" style="white-space:pre">    </span> max_b_frames : 0</div><div><span class="Apple-tab-span" style="white-space:pre">    </span> b_frame_strategy (best nb B-frames) : 0</div><div><span class="Apple-tab-span" style="white-space:pre">     </span> refs : 0</div><div><span class="Apple-tab-span" style="white-space:pre">    </span> i_quant_factor : 0.000000</div><div><br></div><div style="text-align:center;">Thanks,</div><div style="text-align:left;">Guillaume Bersac</div><div style="text-align:left;">237bis rue de Pessac</div><div style="text-align:left;">33000 Bordeaux</div><div style="text-align:left;">06.65.30.89.43</div><div><br></div></div>                                      </div></body>
</html>