[gstreamer-bugs] [Bug 350399] [qtdemux] Quicktime reference stream redirection not working
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Thu Aug 10 04:56:34 PDT 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=350399
GStreamer | gst-plugins-bad | Ver: HEAD CVS
------- Comment #6 from Tim-Philipp Müller 2006-08-10 11:56 UTC -------
Created an attachment (id=70628)
--> (http://bugzilla.gnome.org/attachment.cgi?id=70628&action=view)
proposed patch
This is what I came up with. Basically, we need to look for siblings of the
'rmda' atom as well and in addition to the URI extract
- the minimum required quicktime version (for sorting)
- the minimum required bandwidth
if specified.
We want to pass multiple possible URIs to the application, but also maintain
the format we've been using so far. The attached patch determines a 'best'
redirect and bases the primary message structure on that as we did so far. If
there is more than just one URI, it will attach a "locations" field to the
structure which contains a GST_TYPE_LIST of GstStructures of all locations
(including information like mimimum-bandwidth).
The result is:
<qtdemux0> posting redirect message: redirect,
new-location=(string)http://stream.qtv.apple.com/events/aug/wwdc_2006/wwdc_2006_1_350_ref.mov,
minimum-bitrate=(int)2800, locations=(GstStructure){ "redirect\,\
new-location\=\(string\)http://stream.qtv.apple.com/events/aug/wwdc_2006/wwdc_2006_1_350_ref.mov\,\
minimum-bitrate\=\(int\)2800", "redirect\,\
new-location\=\(string\)http://stream.qtv.apple.com/events/aug/wwdc_2006/wwdc_2006_1_350_ref.mov\,\
minimum-bitrate\=\(int\)2800", "redirect\,\
new-location\=\(string\)http://stream.qtv.apple.com/events/aug/wwdc_2006/wwdc_2006_1_350_ref.mov\,\
minimum-bitrate\=\(int\)2800", "redirect\,\
new-location\=\(string\)http://stream.qtv.apple.com/events/aug/wwdc_2006/qt7required.mov\,\
minimum-bitrate\=\(int\)2800" }
Not pretty, but in the end better than using new-location-2, minimum-bitrate-2
new-location-3, etc. IMHO.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the Gstreamer-bugs
mailing list