#8439: audio_frame_queue: Incorrect dequeued timestamps
----------------------------------+----------------------------------
             Reporter:  Lastique  |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avcodec   |                  Version:  4.2
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+----------------------------------
 The ff_af_queue_add/ff_af_queue_remove functions do not reproduce the
 timestamps that the user provides in AVFrame::pts. Effectively, the
 af_queue introduces a negative offset in the timestamps produced in
 AVPacket::pts.

 For example, aacenc encoder has a delay of 1024 samples. If the user
 provides AVFrame::pts = 0 in the first frame sent to the encoder then the
 first packet received from the encoder will have AVPacket::pts = -1024.

 Encoders should produce encoded timestamps equivalent to the timestamps
 that were passed by the users in decoded frames.

 This problem was found when using ffmpeg through C API, I'm not sure it
 can be shown from CLI.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8439>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to