Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

gstreamer, v4l2 capture/display: omx assertion failed

$
0
0

Dear All,

I'm working with a custom dm814x hardware capturing a 1080p60 stream over VIN0 with gstreamer (builded from SVN with tag

TAG_GST_DM81XX_00_05_00_00)

Whenever I would like to stop acquisition, either by pressing CTRL+C or by limiting num-buffer v4l2src parameter, I get the following output

/GstPipeline:pipeline0/GstOmxVideoSink:omxvideosink0.GstPad:sink: caps = video/x-raw-yuv, width=(int)1920, height=(int)1080, format=(fourcc)YUY2, framerate=(fraction)50/1, interlaced=(boolean)false
Caught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 11231461850 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstOmxVideoSink:omxvideosink0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstOmxBaseCtrl:omxbasectrl0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstOmxBaseCtrl:omxbasectrl0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstOmxScaler:omxscaler0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstOmxScaler:omxscaler0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstomxBufferAlloc:omxbufferalloc0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstomxBufferAlloc:omxbufferalloc0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...
gst-launch-0.10: OmxRpcStub.c:1432: OmxRpc_stubGetState: Assertion `(1 == OmxRpc_module->localCoreRcmServer.initDone)' failed.
Aborted

The mail problem is that the above assertion prevent me from running another omx application (e.g. another gstreamer pipeline, with or without v4l2src):

root@:~# gst-launch -v v4l2src device="/dev/video0" always-copy=false queue-size=12 num-buffers=-1 ! 'video/x-raw-yuv-strided,format=(fourcc)NV12,width=1920
,height=1080,framerate=(fraction)60/1' ! omxbufferalloc silent=false numBuffers=12 ! omx_scaler ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 ! omx_videosink sync=false
[  810.330000] Assertion at Line no: 419 in /{snip}/component-sources/syslink_2_10_03_20/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/ipc/hlos/knl/Linux/MessageQDrv.c: (cargs.args.create.handle != NULL) : failed
gst-launch-0.10: OmxRpc.c:624: OmxRpc_Instance_init: Assertion `(OmxRpc_errorNone == retVal)' failed.
Aborted

Please note that the first assertion does not rise if I just run the decode-display example:

    gst-launch -v filesrc location=/usr/share/ti/data/videos/dm816x_1080p_demo.264 \
    ! 'video/x-h264' ! h264parse access-unit=true ! omx_h264dec !  omx_scaler \
    ! 'video/x-raw-yuv,width=800,height=480' ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 display-device=LCD \
    ! omx_videosink sync=false display-device=LCD

Any clue in how to solve this issue?

Best Regards,

Andrea


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>