Hello All,
I have created player application with gstreamer openmax pipeline which runs on DM814X. The pipeline in gst-launch is
gst-launch filesrc location=/home/root/dm816x_1080p_demo.264 ! 'video/x-h264' ! h264parse access-unit=true ! omx_h264dec ! omx_scaler ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 ! omx_videosink sync=false
The pipeline application works fine in begning when state of Pipeline is change from NULL to PLAYING
The problem I am facing is:
Now, If I change the state of pipeline from PLAYING => PAUSE => READY => NULL to stop the video
and again start playing by changing pipeline states from NULL => READY => PAUSE => PLAYING
it does not work and video do not get displayed.
I have tried similar process with audio pipeline which do not have omx components. It works fine for audio pipeline and it starts to play audio from begning.
With some experiments, I have found that the issue is with use of omx component in pipeline.
Please give me a solution for above problem.
Regards,
Sandeep