**** CMD **** Working with Buffer in souphttpsrc, -> its no endless streaming

C:\gstreamer\1.0\x86_64\bin>gst-launch-1.0.exe -vet souphttpsrc location=http://192.168.160.209/vide
ostream.asf?user=admin^&pwd= do-timestamp=true num-buffers=2000 ! asfdemux name=dmx  dmx.video_0 ! j
pegdec ! autovideosink sync=false

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstJpegDec:jpegdec0.GstPad:sink: caps = "image/jpeg\,\ width\=\(int\)640\,\ h
eight\=\(int\)480"
/GstPipeline:pipeline0/GstJpegDec:jpegdec0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)I420
\,\ width\=\(int\)640\,\ height\=\(int\)480\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode
\=\(string\)progressive\,\ colorimetry\=\(string\)1:4:0:0\,\ framerate\=\(fraction\)0/1"
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0.GstGhostPad:sink.GstProxyPad:proxypad0: caps
= "video/x-raw\,\ format\=\(string\)I420\,\ width\=\(int\)640\,\ height\=\(int\)480\,\ pixel-aspect-
ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)1:4:0:0\,\
 framerate\=\(fraction\)0/1"
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstD3DVideoSink:autovideosink0-actual-sink-d3
dvideo.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)I420\,\ width\=\(int\)640\,\ height\=\(
int\)480\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorime
try\=\(string\)1:4:0:0\,\ framerate\=\(fraction\)0/1"
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0.GstGhostPad:sink: caps = "video/x-raw\,\ form
at\=\(string\)I420\,\ width\=\(int\)640\,\ height\=\(int\)480\,\ pixel-aspect-ratio\=\(fraction\)1/1
\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)1:4:0:0\,\ framerate\=\(fraction
\)0/1"
FOUND TAG      : found by element "autovideosink0-actual-sink-d3dvideo".
container format: ASF
FOUND TAG      : found by element "autovideosink0-actual-sink-d3dvideo".
     video codec: Motion JPEG
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:02.746372354
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

**** End ****


**** CMD **** Not working, jpegdec will never receive data

C:\gstreamer\1.0\x86_64\bin>gst-launch-1.0.exe -vet souphttpsrc location=http://192.168.160.209/vide
ostream.asf?user=admin^&pwd= do-timestamp=true ! asfdemux name=dmx  dmx.video_0 ! jpegdec ! autovide
osink sync=false

**** Output ****

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...

...
... it stucks forever!!!


**** End ****



**** CMD **** Not working, jpegdec will never receive data -> asfdemux debug output

C:\gstreamer\1.0\x86_64\bin>gst-launch-1.0.exe -vet --gst-debug=asfdemux:5 souphttpsrc location=http
://192.168.160.209/videostream.asf?user=admin^&pwd= do-timestamp=true ! asfdemux name=dmx  dmx.video
_0 ! jpegdec ! autovideosink sync=false

**** Output ****

0:00:00.085471139   840 0000000002E6D870 DEBUG               asfdemux gstasf.c:41:plugin_init: bindi
ng text domain gst-plugins-ugly-1.0 to locale dir /c/gstreamer/1.0/x86_64/share/locale
Setting pipeline to PAUSED ...
0:00:00.146065785   840 0000000002E6D870 DEBUG               asfdemux gstasfdemux.c:323:gst_asf_demu
x_activate:<dmx:sink> activating push
Pipeline is PREROLLING ...
0:00:00.168796984   840 0000000002E6A200 DEBUG               asfdemux gstasfdemux.c:524:gst_asf_demu
x_reset_stream_state_after_discont:<dmx> reset stream state
0:00:00.173496509   840 0000000002E6A200 DEBUG               asfdemux gstasfdemux.c:2025:gst_asf_dem
ux_chain:<dmx> received DISCONT
0:00:00.177009921   840 0000000002E6A200 DEBUG               asfdemux gstasfdemux.c:546:gst_asf_demu
x_mark_discont:<dmx> Mark stream discont
0:00:00.180840884   840 0000000002E6A200 INFO                asfdemux gstasfdemux.c:3952:gst_asf_dem
ux_process_object: HEADER: size 407
0:00:00.184517871   840 0000000002E6A200 INFO                asfdemux gstasfdemux.c:3196:gst_asf_dem
ux_process_header:<dmx> object is a header with 4 parts
0:00:00.188787339   840 0000000002E6A200 INFO                asfdemux gstasfdemux.c:3200:gst_asf_dem
ux_process_header:<dmx> reading header part 0
0:00:00.192802996   840 0000000002E6A200 INFO                asfdemux gstasfdemux.c:3952:gst_asf_dem
ux_process_object: HEADER/FILE: size 104
0:00:00.196509166   840 0000000002E6A200 DEBUG               asfdemux gstasfdemux.c:3245:gst_asf_dem
ux_process_file:<dmx> min_pktsize = 687
0:00:00.200366623   840 0000000002E6A200 DEBUG               asfdemux gstasfdemux.c:3246:gst_asf_dem
ux_process_file:<dmx> flags::broadcast = 1
0:00:00.204239056   840 0000000002E6A200 DEBUG               asfdemux gstasfdemux.c:3247:gst_asf_dem
ux_process_file:<dmx> flags::seekable  = 0
0:00:00.207958281   840 0000000002E6A200 DEBUG               asfdemux gstasfdemux.c:3275:gst_asf_dem
ux_process_file:<dmx> play_time 0:00:00.000000000
0:00:00.212184743   840 0000000002E6A200 DEBUG               asfdemux gstasfdemux.c:3277:gst_asf_dem
ux_process_file:<dmx> preroll   0:00:01.000000000
0:00:00.216270668   840 0000000002E6A200 INFO                asfdemux gstasfdemux.c:3284:gst_asf_dem
ux_process_file: object is a file with 0 data packets
0:00:00.220397296   840 0000000002E6A200 INFO                asfdemux gstasfdemux.c:3285:gst_asf_dem
ux_process_file: preroll = 1000000000
0:00:00.224155303   840 0000000002E6A200 INFO                asfdemux gstasfdemux.c:3200:gst_asf_dem
ux_process_header:<dmx> reading header part 1
0:00:00.228195150   840 0000000002E6A200 INFO                asfdemux gstasfdemux.c:3952:gst_asf_dem
ux_process_object: HEADER/STREAM: size 129
0:00:00.232137851   840 0000000002E6A200 DEBUG               asfdemux gstasfdemux.c:2618:gst_asf_dem
ux_parse_stream_object:<dmx> Found stream 1, time_offset=0:00:00.000000000
0:00:00.237146479   840 0000000002E6A200 INFO                asfdemux gstasfdemux.c:2727:gst_asf_dem
ux_parse_stream_object: object is a video stream with 0 bytes of additional data
0:00:00.242202721   840 0000000002E6A200 DEBUG               asfdemux gstasfdemux.c:2475:gst_asf_dem
ux_add_video_stream: video codec MJPG
0:00:00.245858205   840 0000000002E6A200 DEBUG               asfdemux gstasfdemux.c:2498:gst_asf_dem
ux_add_video_stream: Retrying with global metadata metadata;
0:00:00.250306607   840 0000000002E6A200 INFO                asfdemux gstasfdemux.c:2531:gst_asf_dem
ux_add_video_stream: Adding video stream #0, id 1, codec MJPG (0x47504a4d)
0:00:00.255028403   840 0000000002E6A200 INFO                asfdemux gstasfdemux.c:2380:gst_asf_dem
ux_setup_pad: Created pad video_0 for stream 0 with caps image/jpeg, width=(int)640, height=(int)480

0:00:00.260859899   840 0000000002E6A200 INFO                asfdemux gstasfdemux.c:3200:gst_asf_dem
ux_process_header:<dmx> reading header part 2
0:00:00.264854437   840 0000000002E6A200 INFO                asfdemux gstasfdemux.c:3952:gst_asf_dem
ux_process_object: HEADER/STREAM: size 98
0:00:00.268612444   840 0000000002E6A200 DEBUG               asfdemux gstasfdemux.c:2618:gst_asf_dem
ux_parse_stream_object:<dmx> Found stream 2, time_offset=0:00:00.000000000
0:00:00.273503574   840 0000000002E6A200 INFO                asfdemux gstasfdemux.c:2647:gst_asf_dem
ux_parse_stream_object: Object is an audio stream with 2 bytes of additional data
0:00:00.278703040   840 0000000002E6A200 INFO                asfdemux gstasfdemux.c:2413:gst_asf_dem
ux_add_audio_stream:<dmx> Audio header contains 2 bytes of codec specific data
0:00:00.283531966   840 0000000002E6A200 INFO                asfdemux gstasfdemux.c:2441:gst_asf_dem
ux_add_audio_stream: Adding audio stream #0, id 2 codec 17 (0x0011), tags=taglist, audio-codec=(stri
ng)"DVI\ ADPCM\ audio";
0:00:00.289746289   840 0000000002E6A200 INFO                asfdemux gstasfdemux.c:2380:gst_asf_dem
ux_setup_pad: Created pad audio_0 for stream 1 with caps audio/x-adpcm, layout=(string)dvi, rate=(in
t)8000, channels=(int)1, block_align=(int)164, codec_data=(buffer)4001
0:00:00.297842496   840 0000000002E6A200 INFO                asfdemux gstasfdemux.c:2702:gst_asf_dem
ux_parse_stream_object: Error correction off
0:00:00.301939173   840 0000000002E6A200 INFO                asfdemux gstasfdemux.c:3200:gst_asf_dem
ux_process_header:<dmx> reading header part 3
0:00:00.305876114   840 0000000002E6A200 INFO                asfdemux gstasfdemux.c:3952:gst_asf_dem
ux_process_object: HEADER/HEAD1: size 46
0:00:00.309751235   840 0000000002E6A200 INFO                asfdemux gstasfdemux.c:3448:gst_asf_dem
ux_process_header_ext: extended header object with a size of 0 bytes
0:00:00.314449223   840 0000000002E6A200 INFO                asfdemux gstasfdemux.c:1108:gst_asf_dem
ux_parse_data_object_start:<dmx> Stream has 0 packets, data_offset=457, data_size=0, index_offset=0
0:00:00.320851313   840 0000000002E6A200 DEBUG               asfdemux asfpacket.c:135:gst_asf_payloa
d_queue_for_stream:<dmx> Got payload for stream 1 ts:0:00:00.000000000
0:00:00.326062298   840 0000000002E6A200 DEBUG               asfdemux asfpacket.c:135:gst_asf_payloa
d_queue_for_stream:<dmx> Got payload for stream 1 ts:0:00:00.000000000
0:00:00.330922326   840 0000000002E6A200 DEBUG               asfdemux asfpacket.c:135:gst_asf_payloa
d_queue_for_stream:<dmx> Got payload for stream 1 ts:0:00:00.000000000
0:00:00.335617627   840 0000000002E6A200 DEBUG               asfdemux asfpacket.c:135:gst_asf_payloa
d_queue_for_stream:<dmx> Got payload for stream 1 ts:0:00:00.000000000
0:00:00.340543315   840 0000000002E6A200 DEBUG               asfdemux asfpacket.c:135:gst_asf_payloa
d_queue_for_stream:<dmx> Got payload for stream 2 ts:0:00:00.000000000
0:00:00.345286614   840 0000000002E6A200 DEBUG               asfdemux asfpacket.c:135:gst_asf_payloa
d_queue_for_stream:<dmx> Got payload for stream 1 ts:0:00:00.000000000
0:00:00.350026456   840 0000000002E6A200 DEBUG               asfdemux asfpacket.c:135:gst_asf_payloa
d_queue_for_stream:<dmx> Got payload for stream 1 ts:0:00:00.000000000
0:00:00.365310758   840 0000000002E6A200 DEBUG               asfdemux asfpacket.c:135:gst_asf_payloa
d_queue_for_stream:<dmx> Got payload for stream 1 ts:0:00:00.000000000
0:00:00.400083938   840 0000000002E6A200 DEBUG               asfdemux asfpacket.c:135:gst_asf_payloa
d_queue_for_stream:<dmx> Got payload for stream 1 ts:0:00:00.000000000
0:00:00.430243988   840 0000000002E6A200 DEBUG               asfdemux asfpacket.c:135:gst_asf_payloa
d_queue_for_stream:<dmx> Got payload for stream 1 ts:0:00:00.000000000
0:00:00.464912341   840 0000000002E6A200 DEBUG               asfdemux asfpacket.c:135:gst_asf_payloa
d_queue_for_stream:<dmx> Got payload for stream 1 ts:0:00:00.000000000
0:00:00.469926345   840 0000000002E6A200 DEBUG               asfdemux asfpacket.c:135:gst_asf_payloa
d_queue_for_stream:<dmx> Got payload for stream 2 ts:0:00:00.000000000
0:00:00.500280689   840 0000000002E6A200 DEBUG               asfdemux asfpacket.c:135:gst_asf_payloa
d_queue_for_stream:<dmx> Got payload for stream 1 ts:0:00:00.000000000
0:00:00.529840963   840 0000000002E6A200 DEBUG               asfdemux asfpacket.c:135:gst_asf_payloa
d_queue_for_stream:<dmx> Got payload for stream 1 ts:0:00:00.000000000
0:00:00.565238493   840 0000000002E6A200 DEBUG               asfdemux asfpacket.c:135:gst_asf_payloa
d_queue_for_stream:<dmx> Got payload for stream 1 ts:0:00:00.000000000
0:00:00.597546525   840 0000000002E6A200 DEBUG               asfdemux asfpacket.c:135:gst_asf_payloa
d_queue_for_stream:<dmx> Got payload for stream 2 ts:0:00:00.000000000
0:00:00.609522076   840 0000000002E6A200 DEBUG               asfdemux asfpacket.c:135:gst_asf_payloa
d_queue_for_stream:<dmx> Got payload for stream 1 ts:0:00:00.000000000

**** End ****