Full HD with gst-omx on Raspberry Pi?

munezbn.dev munezbn.dev at gmail.com
Tue Oct 18 13:05:28 UTC 2016


Matthew Waters wrote
> I've just tried with 1080p and 720p videos and everything works fine
> here, no frame drops at all.

Can you please share your confit.txt file also ?


Matthew Waters wrote
> A couple of things to note:
> 1. Make sure you have an updated rpi userland - there have been bugs here

I am using Buildroot based image. Will update the .mk to take latest one and
try. 
But omxplayer plays FULL HD smoothly, so this should not be the case right ?


Matthew Waters wrote
> 2. You need gst-plugins-bad 1.9.90 configured for dispmanx, egl and
> gles2 and pointing to the videocore opengl libraries.
> i.e. I configure gst-plugins-bad with:
> CPPFLAGS="-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads
> -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/IL"
> LIBS="-L/opt/vc/lib"
> ./configure --disable-x11 --disable-opengl --disable-glx --enable-gles2
> --disable-wayland --with-gles2-module-name=/opt/vc/lib/libGLESv2.so
> --with-egl-module-name=/opt/vc/lib/libEGL.so

I am using latest versions (1.9.90) of gstreamer and gst-omx. Let me check
how buildroot configures gst-omx. If it configures differently then i can
modify the files to use above configure options.


Matthew Waters wrote
> 3. You need gst-omx 1.9.90.

Yes.


Matthew Waters wrote
> When running applications for zerocopy, the omx decoder must output
> memory:GLMemory caps:
> $ gst-launch-1.0 playbin uri=file:///home/matt/test3.mp4 -v | grep omx
> /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstOMXH264Dec-omxh264dec:omxh264dec-omxh264dec0.GstPad:src:
> caps = video/x-raw(memory:GLMemory), format=(string)RGBA,
> width=(int)1920, height=(int)1080, interlace-mode=(string)progressive,
> pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB,
> framerate=(fraction)30/1

Let me check this and get back to you.


Matthew Waters wrote
> and the sink should be glimagesink.

I can confirm that in my case it uses glimagesink. 

Thanks for your suggestion I will try everything and get back to you.

Thanks & Regards
Munez



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Full-HD-with-gst-omx-on-Raspberry-Pi-tp4667414p4680103.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list