Gstreamer v4l2src could not negotiate format
wally_bkg
wb666greene at gmail.com
Thu Jul 28 11:37:26 PDT 2011
Joel A Fernandes wrote:
>
> My command line looks like:
>
> gst-launch -v v4l2src device=/dev/video2 !
> 'video/x-raw-yuv,width=640,height=480,format=(fourcc)UYVY' ! TIVidenc1
> codecName=mpeg4enc engineName=codecServer ! filesink
> location=output.m4v
>
>
Try letting ffmpegcolorspace convert from what the camera supports to UYVY:
gst-launch -v v4l2src device=/dev/video2 ! ffmpegcolorspace !
'video/x-raw-yuv,width=640,height=480,format=(fourcc)UYVY' ! TIVidenc1
codecName=mpeg4enc engineName=codecServer ! filesink
location=output.m4v
I've run into cameras and capture cards that don't support 640x480 frames,
so you might need a videoscale element in there too if this it the case.
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-v4l2src-could-not-negotiate-format-tp3701089p3702113.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list