[gstreamer-bugs] [Bug 503023] New: Let multipartdemux work in live mode.
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Tue Dec 11 02:19:37 PST 2007
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=503023
GStreamer | gst-plugins-good | Ver: HEAD CVS
Summary: Let multipartdemux work in live mode.
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: enhancement
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: wouter at mind.be
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unversioned Enhancement
GNOME milestone: Unspecified
multipartdemux emits buffers with a -1 timestamp. This breaks data from live
sources, and downstream elements that need timestamps, e.g. matroskamux.
I propose timestamping the buffers with the timestamp of the last buffer that
was pushed into the source pad.
E.g. a non-live push source:
GST_DEBUG="*:3,matroskamux:5,multipartdemux:5" gst-launch -vt souphttpsrc
location='http://foo.org/mjpeg?0=0&y0=0&x1=704&y1=576&fps=15' ! multipartdemux
! image/jpeg,width=704,height=576,framerate=15/1 ! typefind ! matroskamux !
filesink location=4cif15fps1.mkv
0:00:00.815873000 24890 0x8124e60 DEBUG multipartdemux
multipartdemux.c:533:gst_multipart_demux_chain:<multipartdemux0> pushing buffer
with timestamp 99:99:99.999999999
0:00:00.816073000 24890 0x8124e60 WARN matroskamux
matroska-mux.c:1732:gst_matroska_mux_write_data:<matroskamux0:video_0> Invalid
buffer timestamp; dropping buffer
E.g. a live push source:
GST_DEBUG="*:3,matroskamux:5,multipartdemux:5" gst-launch -vt souphttpsrc
do-timestamp=true location='http://foo.org/mjpeg?0=0&y0=0&x1=704&y1=576&fps=15'
! multipartdemux ! image/jpeg,width=704,height=576,framerate=15/1 ! typefind !
matroskamux ! filesink location=4cif15fps1.mkv
0:00:16.272564000 24248 0x8124e88 DEBUG multipartdemux
multipartdemux.c:533:gst_multipart_demux_chain:<multipartdemux0> pushing buffer
with timestamp 0:00:15.539441000
0:00:16.272653000 24248 0x8124e88 LOG matroskamux
matroska-mux.c:1743:gst_matroska_mux_write_data:<matroskamux0> have video
keyframe, ts=0:00:15.539441000
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=503023.
More information about the Gstreamer-bugs
mailing list