<div dir="ltr"><div>Encoders do not use AVFrame duration. Only AVFrame::pts has to be filled.<br></div><div><br></div><div>Yurii<br></div></div><br><div class="gmail_quote"><div dir="ltr">пт, 19 окт. 2018 г. в 16:24, asticode <<a href="mailto:contact@asticode.com">contact@asticode.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I'm having the same issue using the "libx264" encoder.<br>
<br>
Although the frame sent in "avcodec_send_frame" contains a proper duration,<br>
the packets received from "avcodec_receive_packet" is always 0.<br>
<br>
Does anybody have an idea?<br>
<br>
Should I post this problem elsewhere as well?<br>
<br>
Let me know.<br>
<br>
Cheers<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://libav-users.943685.n4.nabble.com/" rel="noreferrer" target="_blank">http://libav-users.943685.n4.nabble.com/</a><br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</blockquote></div>