<div dir="ltr">Thank you Nicolas! That is very helpful!<div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 20, 2013 at 6:18 AM, Nicolas George <span dir="ltr"><<a href="mailto:nicolas.george@normalesup.org" target="_blank">nicolas.george@normalesup.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le duodi 2 fructidor, an CCXXI, Joe Flowers a écrit :<br>
<div class="im">> When I encode the same audio file with a program I am writing that uses<br>
> libavcodec I get a 26,372 byte Speex encoded file - FileB. BUT, 9 bytes in<br>
> the middle of the last 38 bytes of encoded data are different between the 2<br>
> encoded files (FileA and FileB). All of the other bytes are exactly the<br>
> same between the two encoded files.<br>
<br>
</div>I would suggest to add a dump of each frame before encoding, in both your<br>
program and ffmpeg (or just in libavcodec). I suspect something in the<br>
padding / very end of the last frame may be different.<br>
<div class="im"><br>
> What makes this weirder to me is that if I decode my Speex encoded file<br>
> (FileB) with the other part of my program that uses libavcodec I get the<br>
> EXACT same decoded file contents and length as I do if I decode the<br>
> FFMPEG-encoded file (FileA) with FFMPEG.<br>
<br>
</div>That would be consistent with what I suspect: the difference you see would<br>
manifest on the next decoded frame if there was one.<br>
<br>
Regards,<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
  Nicolas George<br>
</font></span><br>_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br></blockquote></div><br></div>