Hello All,
We are using Gstreamer-1.0(1.16.3) for playback of ethernet-AVB streams on Renesas RCAR-M3N chipset.
We are facing the below mentioned errors from the OMXH264 decoder while we call gst_element_set_state() for setting the pipeline state as GST_STATE_PLAYING
ERRORS:
Failed to allocate buffer for H264 port 0: Undefined (0x80001001)
H264 got error: Invalid state (0x8000100a)
Got H264 parameter at index 0x02000001: Invalid state (0x8000100a)
Got H264 parameter at index 0x02000001: Invalid state (0x8000100a)
Allocated buffers for H264 port 0: Undefined (0x80001001)
H264 got error: Invalid state (0x8000100a)
error: Failed to enable OMX decoder: Invalid state (0x8000100a)
error: Internal data stream error.
error: streaming stopped, reason error (-5)
PipelineObj->pipeline.bus = gst_element_get_bus (PipelineObj->pipeline.pipeline);
msg = gst_bus_timed_pop_filtered (PipelineObj->pipeline.bus, GST_CLOCK_TIME_NONE,
GST_MESSAGE_STATE_CHANGED | GST_MESSAGE_ERROR | GST_MESSAGE_EOS | GST_MESSAGE_STREAM_START);
Error received from element omxh264dec-omxh264dec0 GStreamer encountered a general supporting library error.
/GstPipeline:pipeline0/GstOMXH264Dec-omxh264dec:omxh264dec-omxh264dec0: Failed to enable OMX decoder: Invalid state (0x8000100a)
error: No valid frames decoded before end of stream
error: no valid frames found
Got H264 parameter at index 0x02000001: Invalid state (0x8000100a)
Got H264 parameter at index 0x02000001: Invalid state (0x8000100a)
Got H264 parameter at index 0x02000001: Invalid state (0x8000100a)
Got H264 parameter at index 0x02000001: Invalid state (0x8000100a)
Component H264 in error state: Invalid state (0x8000100a)
Component H264 in error state: Invalid state (0x8000100a)
Component H264 in error state: Invalid state (0x8000100a)
Error setting H264 state from Loaded to Loaded: Invalid state (0x8000100a)
Got H264 parameter at index 0x02000001: Invalid state (0x8000100a)
Got H264 parameter at index 0x02000001: Invalid state (0x8000100a)
Got H264 parameter at index 0x02000001: Invalid state (0x8000100a)
Got H264 parameter at index 0x02000001: Invalid state (0x8000100a)
Please help to resolve the errors, Thanks in advance.