[Bug 706774] New: qtdemux: handle multiple sample descriptions per track
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sun Aug 25 18:11:00 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=706774
GStreamer | gst-plugins-good | git
Summary: qtdemux: handle multiple sample descriptions per track
Classification: Platform
Product: GStreamer
Version: git
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: matej.knopp at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=253082)
--> (https://bugzilla.gnome.org/attachment.cgi?id=253082)
Patch
Apparently there can be multiple sample description per track, meaning that
different samples can be in different format. GStreamer doesn't handle this
currently, which can result in decoders getting buffers in format they can't
handle.
Attached patch makes sure that samples in other formats than specified in first
sample description are ignored, with one exception. If first sample description
is JPEG and there is another sample description after it, the second sample
description is used as it is potentially a video track (first jpeg being still
image). This is hacky, ideally we should expose the image and handle format
switches somehow, but this is enough to get basic playback of this insanity
working.
Sample video:
https://s3.amazonaws.com/MatejK/Samples/qtdemux-multiple-sample-descriptions.mov
Note that the audio track starts at 11s, so when testing make sure the
multiqueues can handle that :)
--
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