Download http stream to local disk and play from downloading location

Bhavya bhavyar.1992 at
Fri Jun 26 06:25:38 PDT 2015

Hi Guys,

I am trying to download and play http stream simultaneously

Download http stream

gst-launch-0.10 souphttpsrc location= ! queue2
! filesink location=Download.avi

Meanwhile through other pipeline start playback from downloading location

gst-launch-0.10 filesrc location=Download.avi ! avidemux name=demux demux. !
queue ! ffdec_h264 ! autovideosink demux. ! queue ! ffdec_mp3 ! alsasink

Now problem with above logic is, video doesn't play completely. 

Is this because filesrc caches entire file when pipeline set to play, so
data downloaded until that is played?  OR 
Do we need to set some property of filesink to make sure it as written to
actual location?

View this message in context:
Sent from the GStreamer-devel mailing list archive at

More information about the gstreamer-devel mailing list