Download http stream to local disk and play from downloading location

Bhavya bhavyar.1992 at gmail.com
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=http://192.168.0.144/Test.avi ! 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: http://gstreamer-devel.966125.n4.nabble.com/Download-http-stream-to-local-disk-and-play-from-downloading-location-tp4672469.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list