<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><font face="Arial" size="2">Le Vendredi 11 avril 2014 10h23, Anshul <anshul.ffmpeg@gmail.com> a écrit :<br> </font> <div style="display: block;" class="yahoo_quoted"><div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"><div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;">  <div class="y_msg_container">cyril apan <<a shape="rect" ymailto="mailto:cyrilapan@yahoo.fr" href="mailto:cyrilapan@yahoo.fr">cyrilapan@yahoo.fr</a>> wrote:<br clear="none">>Le Vendredi 11 avril 2014 5h45, Anshul <<a shape="rect" ymailto="mailto:anshul.ffmpeg@gmail.com" href="mailto:anshul.ffmpeg@gmail.com">anshul.ffmpeg@gmail.com</a>> a<br clear="none">>écrit :<br
 clear="none">> <br clear="none">>cyril apan <<a shape="rect" ymailto="mailto:cyrilapan@yahoo.fr" href="mailto:cyrilapan@yahoo.fr">cyrilapan@yahoo.fr</a>> wrote:<br clear="none">>>Hi everybody,<br clear="none">>><br clear="none">>>I tried to compile FFmpeg with 2 different compilers on Windows 7.<br clear="none">>>After testing both binaries, I don't get the same behaviour. Well,<br clear="none">>>actually with most video files I do get the same results, but with<br clear="none">>some<br clear="none">>>files I do get different results.<br clear="none">>><br clear="none">>>For instance, with the binaries compiled from MingW, I can decode<br clear="none">>video<br clear="none">>>frames, but with the VC++2010 version I just get an error.<br clear="none">>>For another video file, after seeking and trying to get a video frame,<br clear="none">>>the MingW version just returns a
 gray image while the VC++2010 version<br clear="none">>>returns an actual scene from the video.<br clear="none">>><br clear="none">>>For the same code base to produce different outputs is quite<br clear="none">>startling.<br clear="none">>>Does anybody know what the difference can come from?<br clear="none">>><br clear="none">>>Regards,<br clear="none">>><br clear="none">>>Cyril APAN.<br clear="none">>><br clear="none">>><br clear="none">>>------------------------------------------------------------------------<br clear="none">>><br clear="none">>>_______________________________________________<br clear="none">>>Libav-user mailing list<br clear="none">>><a shape="rect" ymailto="mailto:Libav-user@ffmpeg.org" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br clear="none">>><a shape="rect" href="http://ffmpeg.org/mailman/listinfo/libav-user"
 target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br clear="none">><br clear="none">>Can you explain about error you are getting.<br clear="none">><br clear="none">>-Anshul<br clear="none">><br clear="none">>-- <br clear="none">>Sent from my Android device with K-9 Mail. Please excuse my brevity.<br clear="none">><br clear="none">>_______________________________________________<br clear="none">>Libav-user mailing list<br clear="none">><a shape="rect" ymailto="mailto:Libav-user@ffmpeg.org" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br clear="none">><a shape="rect" href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br clear="none">><br clear="none">>I've just found out that the errors are there in both versions, it's<br clear="none">>just that I modified something before going for the VC++ version...<br
 clear="none">>dumb late night debugging sessions.<br clear="none">>But the gray image for MingW while having a real picture for VC++ still<br clear="none">>hold true.<br clear="none">><br clear="none">>Cyril APAN.<br clear="none">><br clear="none">>------------------------------------------------------------------------<br clear="none">><br clear="none">>_______________________________________________<br clear="none">>Libav-user mailing list<br clear="none">><a shape="rect" ymailto="mailto:Libav-user@ffmpeg.org" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br clear="none">><a shape="rect" href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br clear="none"><br clear="none">It mighr be because you or ffmpeg is using uninitialized, just try to figure out. Why there is grey region in mingw.<br clear="none"><br clear="none">My application
 also fails with mingw and work fine in linux.<br clear="none"><br clear="none">I always end up with some problem in my aapplication.<br clear="none"><br clear="none">If I am right then you have cmpiled ffmpeg library using mingw and your application with mingw where u have the issue.<div class="yqt1918430990" id="yqtfd40554"><br clear="none"><br clear="none">-Anshul<br clear="none"><br clear="none">-- <br clear="none">Sent from my Android device with K-9 Mail. Please excuse my brevity.<br clear="none">_______________________________________________<br clear="none">Libav-user mailing list<br clear="none"><a shape="rect" ymailto="mailto:Libav-user@ffmpeg.org" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br clear="none"><a shape="rect" href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br clear="none"></div><br>Yes Anshul, you're right, when I use FFmpeg dll compiled with
 MingW with my app, I get a gray bitmap for a certain file after seeking at a particular point and then trying to decode the frame.<br>When doing the same thing with FFmpeg compiled with VC++2010, I do get an actual scene from the video. In both cases, my app is compiled using VC++2010.<br><br>As my app doesn't change in any way (same code base and same compiler), the difference can only come from FFmpeg (same code base, different compilers). But I guess, I'll simply definitively switch for VC++2010 even for FFmpeg as it's working better.<br><br>Cheers,<br><br>Cyril APAN.<br></div>  </div> </div>  </div> </div></body></html>