Regarding writing video stream to two different locations using tee

Shilpa Chandrappa elites.shilpa at gmail.com
Mon Jun 30 01:55:35 PDT 2014


Hi,

I am trying to encode video stream only once and write the output to two
different locations. I am using tee option to perform the same. Among the
two output streams one has to *buffer* data for 3 seconds before writing to
the file. But when I do so using the command below, the process gets stuck
at “Pipeline is PREROLLING” stage. Request your inputs on this. 

*Command used*

gst-launch-0.10 videotestsrc ! x264enc bitrate=2048 name=xenc !
video/x-h264, width=1920,height=1080,framerate=30/1 !  ffmux_mp4 name=mp4 !
tee name=t ! queue !   *filesink location=dest1.mp4 t.* ! queue ! *queue
min-threshold-time=3000000000 min-threshold-buffers=0 min-threshold-bytes=0
max-size-bytes=0 max-size-buffers=0 max-size-time=3000000000 ! valve
drop=false ! filesink location=dest2.mp4*
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...

Regards,
Shilpa Chandrappa




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Regarding-writing-video-stream-to-two-different-locations-using-tee-tp4667741.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list