Elphel Camera Remote Audio using GStreamer

From ElphelWiki
Jump to: navigation, search

Here is a simple gst-pipeline to record camera live stream and PC's default audio input to a Theora / Vorbis OGG file:

gst-launch-0.10 -e -m  rtspsrc location=rtsp://192.168.0.9:554 latency=40 ! rtpjpegdepay ! queue \
! jpegdec ! queue ! theoraenc quality=60 name=venc  pulsesrc ! audio/x-raw-int,rate=16000,channels=1,depth=16 \
! audioconvert ! queue ! vorbisenc quality=0.9 name=aenc oggmux name=mux ! filesink location=test.ogg aenc. \
! mux. venc. ! mux.