[gst-devel] webcam & mpegps

Andres Gonzalez acandido at hi-iberia.es
Fri Feb 4 11:00:16 CET 2011


Many thanks for the replies, but still no luck.

$ gst-launch -v v4l2src device=/dev/video0 ! ffmpegcolorspace ! 
ffenc_mpeg2video ! mpegpsmux ! filesink location=test.mpg

I also copy&paste the traces:

Estableciendo el conducto a PAUSA … (Setting pipeline to PAUSE)
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = 
video/x-raw-yuv, format=(fourcc)I420, width=(int)640, height=(int)480, 
interlaced=(boolean)false, framerate=(fraction)22/1
El conducto está vivo y no necesita PREPARARSE … (The pipeline is alive 
and does not need to GET READY)
Estableciendo el conducto a REPRODUCIENDO … (Setting pipeline to PLAYING)
New clock: GstSystemClock
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:src: caps = 
video/x-raw-yuv, format=(fourcc)I420, width=(int)640, height=(int)480, 
interlaced=(boolean)false, framerate=(fraction)22/1
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:sink: caps = 
video/x-raw-yuv, format=(fourcc)I420, width=(int)640, height=(int)480, 
interlaced=(boolean)false, framerate=(fraction)22/1
ERROR: del elemento /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Error en 
el flujo de datos interno.
Información adicional de depuración:
gstbasesrc.c(2574): gst_base_src_loop (): 
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 994073061 ns.
Estableciendo el conducto a PAUSA … (setting pipeline to PAUSE)
Estableciando el conducto a PREPARADO … (setting pipeline to READY)
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = NULL
Estableciendo el conducto a NULL …
Liberando la tubería… (releasing the pipeline)




-- 
Andrés González

T: 91 458 51 19 (ext:165)
HI-IBERIA INGENIERIA Y PROYECTOS
C/ Bolivia 5 - Madrid - 28016





More information about the gstreamer-devel mailing list