[Bug 698748] mpegtsmux: improper timestamping of output packets
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Dec 18 02:32:28 PST 2013
https://bugzilla.gnome.org/show_bug.cgi?id=698748
GStreamer | gst-plugins-bad | 1.x
RajuB <raju.babannavar> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |raju.babannavar at gmail.com
--- Comment #9 from RajuB <raju.babannavar at gmail.com> 2013-12-18 10:32:22 UTC ---
I am using gstreamer 1.2.1, this issue is seen in the latest version. The above
given patch resolves this. Can anybody help me understand this issue. What I
found is best->last_pts and best->last_dts initial values sent to
mpegtsmux_collected_buffer function are set to 0, and GST_CLOCK_TIME_IS_VALID
infers it as valid time. This is leading to zero timestamps. Am I right here??
You can reproduce this issue with below given pipelines:
This produces zero timestamps:
gst-launch-1.0 filesrc location=<file path> ! tee ! queue ! decodebin
name=demux ! deinterlace mode=0 fields=1 method=4 tff=0 ! videoconvert ! tee !
queue ! videoscale ! video/x-raw ! x264enc ! mpegtsmux name=mux ! checksumsink
demux.! tee ! queue ! audioconvert ! audioresample ! volume ! voaacenc ! mux.
This produces proper timestamps:
gst-launch-1.0 filesrc location=<file path> ! tee ! queue ! decodebin !
deinterlace mode=0 fields=1 method=4 tff=0 ! videoconvert ! tee ! queue !
videoscale ! video/x-raw ! x264enc ! mpegtsmux ! checksumsink
This produces zero timestamps:
gst-launch-1.0 filesrc location=<file path> ! tee ! queue ! decodebin !
audioconvert ! audioresample ! volume ! voaacenc ! mpegtsmux ! checksumsink
This produces proper timestamps:
gst-launch-1.0 filesrc location=<file path> ! tee ! queue ! decodebin !
audioconvert ! audioresample ! volume ! voaacenc ! checksumsink
I tried with other muxers (like mp4mux, flvmux), where I didn't see this issue.
Please let me know if you require more details.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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