[Libav-user] AAC encoder PTS

Yurii Monakov monakov.y at gmail.com
Tue Nov 9 17:55:42 EET 2021

You should check AVPacket flags carefully.
Full explanation is here: https://trac.ffmpeg.org/ticket/6343


сб, 6 нояб. 2021 г. в 19:25, william keeling <WilliamKeeling at hotmail.com>:

> why does AAC return -1024 for the first packet back from the AAC encoder?
> The frames send to the encoder have valid PTS.  Second packet has 0 PTS and
> then normally increasing.
> What should be done with this packets? Should I be doing anything
> different to have "correct" PTS from frame 1?
> Thanks,
> William
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/libav-user
> To unsubscribe, visit link above, or email
> libav-user-request at ffmpeg.org with subject "unsubscribe".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20211109/460ae3b4/attachment.htm>

More information about the Libav-user mailing list