[LAD] Python Gstreamer Live Video examples

From: Nathanael Anderson <wirelessdreamer@email-addr-hidden>
Date: Mon Aug 01 2011 - 01:34:53 EEST

I'm just getting started with some python gstreamer coding, and Having
trouble finding what I'd consider some basic examples:

These I've already got working:

1. build a pipeline showing the attached video device like:
gst-launch v4l2src device=/dev/video0 !
'video/x-raw-yuv,format=(fourcc)YUY2,width=640,height=480,framerate=20/1'
! xvimagesink

2. Record and show video at the same time:
gst-launch v4l2src device=/dev/video0 !
'video/x-raw-yuv,width=640,height=480,framerate=20/1' ! tee name=t_vid
! queue ! xvimagesink sync=false t_vid. ! queue ! videorate !
'video/x-raw-yuv,framerate=20/1' ! theoraenc ! queue ! oggmux !
filesink location=test.ogg

I want to get working:

3. toggle recording, so I can show a video monitor, and without
destroying and recreating the pipeline start or stop video recording
at will.

4. Sync multiple pipelines, my end goal is to be able to record x
video streams in sync, while playing back y videos with all play and
record sources in sync (think video mixing).

I'm looking for examples of 3 and 4, and improvement ideas to 1 and 2.

Thanks,

Nathanael
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Mon Aug 1 04:15:01 2011

This archive was generated by hypermail 2.1.8 : Mon Aug 01 2011 - 04:15:01 EEST