Hi Anonymous Developer,
I tested your application and I found that v4l2sink is much more stable than the current omx_videosink, so I recommend moving your display to v4l2sink. To test it, I made some changes to your application, so I attached you the sdl-gstreamer.cpp and the video that I am using.
I followed the next steps:
1. I created the test.h264 video with the following commands:
$ gst-launch-0.10 videotestsrc num-buffers=250 ! 'video/x-raw-yuv,format=(fourcc)I420,width=1920,height=1080,framerate=(fraction)25/1' ! avimux ! filesink location=test.avi
$ ffmpeg -i test.avi -vcodec libx264 -profile:v main -crf 25 -threads 0 -t 5 test.h264
2. I changed the application to use v4l2sink instead of omx_videosink. The new pipeline is:
gst-launch filesrc location= test.h264 ! h264parse ! "video/x-h264, stream-format=byte-stream,alignment=au" ! queue ! omx_h264dec ! omx_scaler ! v4l2sink
I also added a capsfilter needed by the h264parse.
3. I tested with our evaluation SDK:
https://github.com/RidgeRun/eval-sdk-dm814x
and it works!!
Is this solution good for you? or do you want us to try to fix the problem with omx_videosink?
Regards,
Eugenia
(Please visit the site to view this file)