Download http stream to local disk and play from downloading location

Vinod K vndkst at yahoo.com
Tue Jul 7 23:03:45 PDT 2015


Hi,

Split the pipeline after the source, tee element will do this job for you. 
Input buffers will be passed to both file sink and decode branch pipeline by
tee element..


gst-launch-0.10 souphttpsrc location=http://192.168.0.144/Test.avi ! tee
name=split  \
split. ! queue ! filesink location=Download.avi \
split. ! queue  ! avidemux name=demux demux. ! queue ! ffdec_h264 !
autovideosink demux. ! queue ! ffdec_mp3 ! alsasink 


If you are using downloadbuffer element set max-size-bytes property to high
value so that entire file will be stored in single file. Provided input file
is not more than max-size-bytes.

~ Vinod



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Download-http-stream-to-local-disk-and-play-from-downloading-location-tp4672469p4672583.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list