Stream video and save on file

Mathias Hasselmann mathias.hasselmann at kdab.com
Wed Nov 6 05:30:06 PST 2013


Am Mittwoch, den 06.11.2013, 03:10 -0800 schrieb M0rd0r:
> Returning on my question, I'm trying with this command:
> 
> gst-launch -v --gst-plugin-path=/usr/local/lib/gstreamer-0.10/ v4l2src
> device=/dev/video0 ! 'video/x-raw-yuv,width=640,height=480,framerate=25/1' !
> omxh264enc target-bitrate=1500000 control-rate=variable ! tee name=t ! queue
> ! rtph264pay pt=96 ! udpsink host=192.168.10.158 port=1234 ! queue ! avimux
                                                         ^^^^^^^^
> ! filesink location=/dev/shm/a.avi

There you ask for connecting the second queue to the updsink instead of
the tee. It should be "t. ! queue" instead of just "! queue".

Ciao,
Mathias

-- 
Mathias Hasselmann | mathias.hasselmann at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel. Germany +49-30-521325470, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions




More information about the gstreamer-devel mailing list