[gst-devel] Camara capture and theora encryption.

Alex Gonzalez alex at lindusembedded.com
Thu Dec 23 15:50:18 CET 2010


Hi,

I am trying to record from a camera to a theora ogg file. My pipeline looks 
like:

gst-launch --gst-debug=theoraenc:5 v4l2src device=/dev/video0 num-buffers=200 ! 
'video/x-raw-yuv,width=640,height=480,framerate=30/1,format=(fourcc)UYVY' ! 
ffmpegcolorspace ! 'video/x-raw-yuv,width=640,height=480,framerate=30/1,format=
(fourcc)I420' ! tee name=t_vid ! theoraenc bitrate=32 ! queue ! oggmux ! 
filesink location=output.ogg sync=false

My camera will only provide UYVY, which then is converted ti I420 which is 
supposedly accepted by theora, and onto disk. It is also previewed on the 
display.

The error displayed is:

0:00:00.193561889  1021    0x15050 DEBUG              theoraenc 
theoraenc.c:334:gst_theora_enc_init:<GstTheoraEnc at 0xf0080> 
keyframe_frequency_force is 0, granule shift is 32
0:00:00.338650519  1021    0x15050 WARN               theoraenc 
theoraenc.c:433:theora_enc_sink_getcaps: no supported formats found. Encoder 
disabled?
WARNING: erroneous pipeline: could not link t_vid to theoraenc0

Anything wrong with the capsfilter that upsets theora? Any other idea?

Thanks,
Alex

PS: From gst-inspect theoraenc,

Pad Templates:
  SINK template: 'sink'
    Availability: Always
    Capabilities:
      video/x-raw-yuv
                 format: { I420, Y42B, Y444 }
              framerate: [ 0/1, 2147483647/1 ]
                  width: [ 1, 2147483647 ]
                 height: [ 1, 2147483647 ]

  SRC template: 'src'
    Availability: Always
    Capabilities:
      video/x-theora







More information about the gstreamer-devel mailing list