Raspi 2+logitech c920+gstreamer

Nicolas Dufresne nicolas.dufresne at collabora.com
Tue Mar 24 06:05:57 PDT 2015


Le vendredi 20 mars 2015 à 04:53 -0700, r3dsm0k3 a écrit :
> capture -d /dev/video0 -o | gst-launch-1.0 -v -e filesrc
> location=/dev/fd/0
> do-timestamp=true ! \
> queue ! h264parse ! queue ! mux. alsasrc device="plughw:0"
> do-timestamp=true
> ! \
> audio/x-raw,format=\(string\)S16LE,rate=32000,channels=2 ! queue !  \
> voaacenc bitrate=41000 ! aacparse ! queue ! mux. flvmux name=mux
> streamable=true !  \
> queue ! filesink location=test.flv

I don't recommend this approach. One should use uvch264src or v4l2src
for this camera. The first one will let you have up to two streams (a
small jpeg or raw prefix + full size H264 encoded stream) and will let
you choose the rate.

Nicolas



More information about the gstreamer-devel mailing list