[gstreamer-bugs] [Bug 617532] New: [qtmux] Take into account new-segments for incoming streams
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon May 3 07:42:55 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=617532
GStreamer | gst-plugins-bad | git
Summary: [qtmux] Take into account new-segments for incoming
streams
Classification: Desktop
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: bilboed at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
qtmux doesn't take into account the new-segment events in order to calculate
the buffer PTS/DTS.
It should use a GstSegment per stream, and then use the running time
(gst_segment_to_running_time()).
In order to trigger this bug you need at least 2 segments of buffers with a gap
between the two, like the following:
NEWSEGMENT start: 10s, stop: 15s, position: 0s
BUFFERS from 10s to 15s
/* If you stop here, the resulting file will be OK, with a duration of 5s and
playback going from 0s to 5s */
NEWSEGMENT start: 50s, stop: 55s, position: 5s
BUFFERS from 50s to 55s
/* The resulting file will be 40s long... whereas it only contains 10s of
video, and there will be a playback gap between the first 5s and the remaining
5s */
One way to try this is to use tests/examples/playlist in
gst-editing-services[0] (requires gnonlin and gst-convenience [1]) as such:
./playlist -r -f video/quicktime -a audio/mpeg,mpegversion=4 -v
video/mpeg,mpegversion=4,systemstream=False -o
file:///home/bilboed/outputfile.mov /media/data/medias/input.mp4 10 5
/media/data/medias/input.mp4 50 5
0: http://git.collabora.co.uk/?p=user/edward/gst-editing-services.git
1: http://git.collabora.co.uk/?p=user/edward/gst-convenience.git
--
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