omxh264enc on Rpi 2 : Could not configure supporting library.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

omxh264enc on Rpi 2 : Could not configure supporting library.

Hoggins!
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!


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (220 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: omxh264enc on Rpi 2 : Could not configure supporting library.

Hoggins!
Hey,

Nevermind : I had compiled the omx plugin from source. Getting it
already compiled solved my problem.
Now I have to figure out why there is a green stripe at the bottom of my
video.

Thanks anyway !

    Hoggins!

Le 03/12/2016 à 23:07, Hoggins! a écrit :

> 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!
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (220 bytes) Download Attachment