[gst-devel] webcam & mpegps
Tim-Philipp Müller
t.i.m at zen.co.uk
Fri Feb 4 10:34:09 CET 2011
On Fri, 2011-02-04 at 09:54 +0100, Andres Gonzalez wrote:
> The following pipeline is not working.
>
> gst-launch -v v4l2src device=/dev/video0 ! ffenc_mpeg2video ! mpegpsmux
> ! filesink location=test.mpg
>
> It says:
> [...]
> gstbasesrc.c(2574): gst_base_src_loop ():
> /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
> streaming task paused, reason not-negotiated (-4)
> Execution ended after 1004544165 ns.
> [...]
>
> Could anybody explain why, please?
Most likely this is because your video camera/driver doesn't support the
format(s) that ffenc_mpeg2video accepts as input. You could try adding
an ffmpegcolorspace element between v4l2src and ffenc_mpeg2video.
Cheers
-Tim
More information about the gstreamer-devel
mailing list