Hi,
I am working on video streaming between two TI - DRA6XXCCYE J5 EVM(one server and other client) using gstreamer framework.
Aim is to play two videos back to back.
below is pipeline in server.
gst_bin_add_many (GST_BIN (data.pipeline), data.source, data.aqueue ,data.vEncode, data.vqueue , data.convert, data.aEncode, data.mpegtsmux, data.fdsink, NULL);
First video is played well, and EOS is received in server. below it is shown.
Pipeline state changed from PAUSED to PLAYING:
Recieved EOS event, press <CTRL+C> to terminate pipeline.
Recieved EOS event, press <CTRL+C> to terminate pipeline.
For second video the state of pipeline is changed to READY and then to PLAYING. below shows logs..
Pipeline state changed from PLAYING to PAUSED:
Pipeline state changed from PAUSED to READY:
0:03:02.609237799 1861 0x186fc0 WARN lamemp3enc gstlamemp3enc.c:340:gst_lamemp3enc_sink_setcaps:
<lamemp3enc> output samplerate 11025 is different from incoming samplerate 44100
0:04:42.273848949 1861 0x20a980 ERROR omx gstomx_core.c:519:wait_for_state:<omxh264enc> ti
med out
0:04:42.274062749 1861 0x20a980 ERROR omx gstomx_core.c:529:wait_for_state:<omxh264enc> wrong state received: state=1, expected=2
0:04:42.274168249 1861 0x20a980 WARN omx gstomx_base_filter.c:708:pad_chain:<omxh264enc>
error: OpenMAX component in wrong state
SERVER:Handle_message: received error message
Error received from element omxh264enc: GStreamer encountered a general stream error.
Debugging information: gstomx_base_filter.c(708): pad_chain (): /GstPipeline:test-pipeline/GstOmxH264Enc:omxh264enc:OpenMAX component in wrong state
SERVER: OUT of while loop n free resources
(TIServer1:1861): GStreamer-CRITICAL **: gst_mini_object_unref: assertion `GST_IS_MINI_OBJECT (mini_object)' failed
(TIServer1:1861): GStreamer-CRITICAL **: gst_mini_object_unref: assertion `GST_IS_MINI_OBJECT (mini_object)' failed
OMX_EventError: 0x80001001
unrecoverable error: The cause of the error could not be determined (0x80001001)
Anyone can suggest how to resolve the error...
Thanks.