I'm using an i.MX 8 board. I have tried to play a video file using gst-play-1.0, but the video playback is getting stuck at various points. below is the warning message shown:
Redistribute latency...
Redistribute latency...
Redistribute latency...
WARNING A lot of buffers are being dropped.
WARNING debug information: ../git/libs/gst/base/gstbasesink.c(3143): gst_base_sink_is_too_late (): /GstPlayBin:playbin/GstPlaySink:playsink/GstBin:vbin/GstWaylandSink:waylandsink0:
I'm using yocto builds to run the board. The issue with GStreamer is only faced in linux 5.15 and it works perfectly in linux 5.4
But I need to implement it in 5.15 what may be the reason to this
I'm just posting this here because I think it will be helpful to someone.
So, the issue was with the pipeline. When I changed the pipeline, the issue has been solved.
The pipeline which worked is
gst-launch-1.0 filesrc location=<filename.mp4> ! qtdemux name=d d.video_0 ! queue ! h264parse ! v4l2h264dec ! imxvideoconvert_g2d ! queue ! waylandsink