<br><br>On Tuesday, 11 October 2016, M N <<a href="mailto:assemblerx86@yandex.com">assemblerx86@yandex.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have had this problem for two weeks and not two days, I have also sent other mails to the mailing list and got no answer (And didn't include my code in them.) I have been asking for help daily on the IRC channel, no one could help. What I tried was changing the whole EOF state and flushing code of transoding multiple times and changing options in the AVCodecContext, and also tried changing libx264 options.<br><br>I no longer want help as there wont be anyways since no one seems to know the problem, but I will try my best to fix it, and when I do, I wont post on how I did solve it, let it stay a mystery</blockquote><div><br></div><div>Well that's your prerogative, but what a curious attitude.</div><div><br></div><div>How much did you pay for FFmpeg? How much support does that entitle you to?</div><div><br></div><div>How much is FFmpeg worth? How much would it cost to produce it commercially (got to be millions).</div><div><br></div><div>You could always write your own code to transcode arbitrary MP4 files to h.264 encoding; the relevant standards documents are all available to purchase. </div><div><br></div><div>Some constructive advice? </div><div><br></div><div>Make the smallest possible program to reproduce the problem, ideally no more than tens of lines.<span></span></div><div><br></div><div>Explain *exactly* what is happening, and *exactly* what should be happening.</div><div><br></div><div>Explain what you've tried: what did you do? Why did you do it? What made you think it would help?</div><div><br></div><div>Do all of this with reference to the code.</div><div><br></div><div>999 times out of a thousand that process will lead you to the solution. If you're feeling community minded, publish your notes for the benefit of others.</div><div><br></div><div>If that still doesn't fix it, you may have hit on a legitimate bug and someone here might be interested in helping to fix it. Though by that stage you can probably fix it yourself and contribute the fix back.</div><div><br></div><div>And you will have learned a tremendous amount and levelled up as a programmer.</div><div><br></div><div>I know it's frustrating when things are difficult, but you're not doing yourself any favours with that attitude.</div><div><br></div><div>Cheers</div><div>Rob</div><div><br></div><div><br></div><div><br></div>