omxh264enc on Rpi 2 : Could not configure supporting library.

Hoggins! fuckspam at wheres5.com
Sat Dec 3 22:07:19 UTC 2016


Hello list,

Running onto something quite unexpected here.
I'm trying to encode video from a USB webcam with GStreamer, but a
component seems to pose a problem.

So after having tried and tried different options, I narrowed down the
pipeline to something really simple :

    gst-launch-1.0 -v videotestsrc ! omxh264enc ! fakesink

But here is what I get :

    Setting pipeline to PAUSED ...
    Pipeline is PREROLLING ...
    /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src:
    caps = video/x-raw, width=(int)320, height=(int)240,
    format=(string)I420, framerate=(fraction)30/1
    /GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0.GstPad:sink:
    caps = video/x-raw, width=(int)320, height=(int)240,
    format=(string)I420, framerate=(fraction)30/1
    /GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0.GstPad:src:
    caps = video/x-h264, stream-format=(string)byte-stream,
    alignment=(string)au, profile=(string)high, level=(string)4,
    width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1,
    framerate=(fraction)30/1
    /GstPipeline:pipeline0/GstFakeSink:fakesink0.GstPad:sink: caps =
    video/x-h264, stream-format=(string)byte-stream,
    alignment=(string)au, profile=(string)high, level=(string)4,
    width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1,
    framerate=(fraction)30/1
    ERROR: from element
    /GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0:
    Could not configure supporting library.
    Additional debug info:
    gstomxvideoenc.c(945): gst_omx_video_enc_loop ():
    /GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0:
    Unable to reconfigure output port
    ERROR: pipeline doesn't want to preroll.
    Setting pipeline to NULL ...
    /GstPipeline:pipeline0/GstFakeSink:fakesink0.GstPad:sink: caps = NULL
    /GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0.GstPad:src:
    caps = NULL
    /GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0.GstPad:sink:
    caps = NULL
    /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src:
    caps = NULL
    Freeing pipeline ...


Can someone help me on that ? What info can I provide to help further
debugging ?

Thanks !

    Hoggins!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161203/d1a2e1d0/attachment.sig>


More information about the gstreamer-devel mailing list