[Libav-user] AVPacket::duration from H.264 encoder is zero
Yurii Monakov
monakov.y at gmail.com
Fri Oct 19 20:38:35 EEST 2018
Encoders do not use AVFrame duration. Only AVFrame::pts has to be filled.
Yurii
пт, 19 окт. 2018 г. в 16:24, asticode <contact at asticode.com>:
> Hello,
>
> I'm having the same issue using the "libx264" encoder.
>
> Although the frame sent in "avcodec_send_frame" contains a proper duration,
> the packets received from "avcodec_receive_packet" is always 0.
>
> Does anybody have an idea?
>
> Should I post this problem elsewhere as well?
>
> Let me know.
>
> Cheers
>
>
>
> --
> Sent from: http://libav-users.943685.n4.nabble.com/
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20181019/1764aa1b/attachment.html>
More information about the Libav-user
mailing list