Bug 97319 - GST_PLAY_FLAGS_DOWNLOAD on playbin not working
Summary: GST_PLAY_FLAGS_DOWNLOAD on playbin not working
Status: NEW
Alias: None
Product: GStreamer SDK
Classification: Unclassified
Component: Windows SDK Distribution (show other bugs)
Version: 2013.6
Hardware: Other Windows (All)
: medium blocker
Assignee: bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-12 05:36 UTC by Doudieu Siewe
Modified: 2016-08-12 05:36 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Doudieu Siewe 2016-08-12 05:36:50 UTC
Hi all, I tested playbin on 0.10 and 1.0 on windows for the GST_PLAY_FLAGS_DOWNLOAD and it seems to not working correctly on a local network

The following code does not work

Gst.init(None)
p = Gst.parse_launch("playbin uri=http://192.168.1.21:4502/stream/?video=jK_4KBnklQQFCu_7wYY38A%3D%3D")
#p.set_property('uri', nl)
f = p.get_property('flags')
f|=128
p.set_property('flags', f)
p.set_state(Gst.State.PLAYING)
Gtk.main()

but this work ptoprtly

Gst.init(None)
p = Gst.parse_launch("playbin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm")
#p.set_property('uri', nl)
f = p.get_property('flags')
f|=128
p.set_property('flags', f)
p.set_state(Gst.State.PLAYING)
Gtk.main()


for the first one it seems that playbin send 2 time the same request to the local server the first connection is closed at some point(which is not normal) and the second is starded which cause troobles in the pipeline.


using debug I get this:



C:\Users\doudi\Desktop\d\Kuki>gst-launch-0.10 playbin2 uri=http://192.168.1.21:4502/stream/?video=jK_4KBnklQQFCu_7wYY38A%3D%3D flags=1687 --gst-debug 2
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
 unknown QuickTime node type iods qtdemux qtdemux_types.c:192:qtdbeufmfuxer_tinygp.e.. _g1e% t:
ckTime node type avc1            qtdemux qtdemux_types.c:192:qtdemux_type_get:buffe unrkingno..wn.  3% Qu i
 unknown QuickTime node type avcC0 WARN                 qtdemux qtdemux_types.cb:uf192:fqertdinemg..u.x _t4%ype_g et:
uickTime node type btrtypes.c:192:qtdemux_type_get:buffe ruinnkg.n.o. 6w%n  Q
ickTime node type sgpdype_getbuf:feri unng.kn.o. 8wn%  Q uf erqtidng.e.mux.  qtd7%e m ux
       qtdemux qtdemux_types.c:192:qtdemux_type_get: unknown QuickTimeb nuofdfeer tiyngp.e. .s 11%bg p
qtdemux0> unknown version 00000000demux.c:7106:qtdemux_parbufsfeer_itrnag...k 14% : <
0:00:01.310185688  8692   02D36CE8 WARN             souphttpsrc gstsouphttpsrc.c:1119:gst_soup_http_src_parse_status:<source> error: Requested Range Not Satisfiable
0:00:01.319614399  8692   02D36CE8 WARN             souphttpsrc gstsouphttpsrc.c:1119:gst_soup_http_src_parse_status:<source> error: Requested Range Not Satisfiable (416), URL: http://192.168.1.21:4502/stream/?video=jK_4KBnklQQFCu_7wYY38A%3D%3D
ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstSoupHTTPSrc:source: Requested Range Not Satisfiable
Additional debug info:
gstsouphttpsrc.c(1119): gst_soup_http_src_parse_status (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstSoupHTTPSrc:source:
Requested Range Not Satisfiable (416), URL: http://192.168.1.21:4502/stream/?video=jK_4KBnklQQFCu_7wYY38A%3D%3D
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
0:00:01.388769347  8692   02D36CE8 WARN                 basesrc gstbasesrc.c:2633:gst_base_src_loop:<source> error: Internal data flow error.
0:00:01.399331894  8692   02D36CE8 WARN                 basesrc gstbasesrc.c:2633:gst_base_src_loop:<source> error: streaming task paused, reason error (-5)
Freeing pipeline ...


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.