I am using Gstreamer python binding to play videos on RPI 3 B+. When compared to OMXplayer, Gstreamer is performing poorly. This is my current pipeline :

gst-launch-1.0 filesrc location=test.mp4 ! qtdemux ! h264parse ! omxh264dec ! glimagesink

adding sync=false to glimagesink simply slows down the video. I set the gpu_mem=512 in the config.txt file in the boot partition.

I tried with avdec_h264 and the result is similar. Any advice on how to improve this pipeline ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.