[Bug 720176] videodec: Wrong output PTS for streams with only DTS set on input
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Feb 22 08:38:20 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=720176
Edward Hervey <bilboed at bilboed.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|gst-plugins-ugly |gst-plugins-base
Summary|rmdemux: real media |videodec: Wrong output PTS
|playback: video is ahead of |for streams with only DTS
|audio |set on input
--- Comment #3 from Edward Hervey <bilboed at bilboed.com> ---
The problem is actually in the videodecoder base class
rmdemux *does* push the video frames with the proper timestamps:
Parsing a packet for stream=1, timestamp=0:00:02.466000000, size 1328,
version=0, ts=2466
The video decoder gets properly timestamped buffers (note: DTS is set, not
PTS):
:gst_video_decoder_chain:<avdec_rv40-0> chain PTS 99:99:99.999999999, DTS
0:00:02.466000000 duration 99:99:99.999999999 size 81293
:gst_video_decoder_chain:<avdec_rv40-0> chain PTS 99:99:99.999999999, DTS
0:00:02.633000000 duration 99:99:99.999999999 size 24174
:gst_video_decoder_chain:<avdec_rv40-0> chain PTS 99:99:99.999999999, DTS
0:00:02.634000000 duration 99:99:99.999999999 size 1774
But the video decoder base class does a wrong guess:
:gst_video_decoder_prepare_finish_frame:<avdec_rv40-0> finish frame
0x7f05901cb400 (#0) sync:1 PTS:99:99:99.999999999 DTS:0:00:02.466000000
:gst_video_decoder_prepare_finish_frame:<avdec_rv40-0> Guessing duration
0:00:00.041708405 for frame...
:gst_video_decoder_prepare_finish_frame:<avdec_rv40-0> Guessing timestamp
0:00:00.000000000 for frame...
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list