Camara capture and theora encryption.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Camara capture and theora encryption.

Alex Gonzalez
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@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




------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel