[gst-devel] webcam recording
Andy Wingo
wingo at pobox.com
Mon Jun 16 23:00:53 CEST 2008
Hi Joshua,
Long time. Hope you are well.
On Mon 16 Jun 2008 00:04, Joshua N Pritikin <jpritikin at pobox.com> writes:
> gst-launch-0.10 v4l2src queue-size=16 ! image/jpeg,width=352,framerate=30/1 \
> ! stamp sync-margin=2 sync-interval=5 \
> ! queue2 max-size-buffers=10000 max-size-bytes=0 max-size-time=0 \
> ! ffdec_mjpeg \
> ! ffmpegcolorspace ! theoraenc quality=60 name=venc alsasrc device="hw:0" \
> ! audio/x-raw-int,rate=44100 ! audioconvert \
> ! queue2 max-size-buffers=10000 max-size-bytes=0 max-size-time=0 \
> ! vorbisenc quality=0.9 name=aenc oggmux name=mux \
> ! filesink location=out.ogg aenc. ! mux. venc. ! mux.
I think you will need a videorate in the v4l2 pipeline. That way your
video will dup or drop frames, as appropriate, while your audio stays
constant. I think anyway, I can't remember. I'm sure someone will
correct me if I'm wrong.
Cheers,
Andy
--
http://wingolog.org/
More information about the gstreamer-devel
mailing list