Videoscale too slow on raspberry pi - How to get the video full screen?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Videoscale too slow on raspberry pi - How to get the video full screen?

reinzor
Hi all,

I am working on a video wall project with use of multiple raspberry pi's
(gstreamer client clock clients). All clients get the clock time from a
server that enabled synchronized playback:

https://github.com/reinzor/videowall

However, I would like every client to crop play a specific region of
interest of the master video. With use of  the videocrop element
<https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good/html/gst-plugins-good-plugins-videocrop.html>
, I am cropping the desired part. I am currently using the ximagesink
attached to a /Gtk.DrawingArea()/ in order to make it fullscreen. However,
when I do not scale up the video to the desired resolution, I get black
borders around my video instead of upscaling is. So I tried the  videoscale
element
<https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-videoscale.html>  
to upscale the video. However, this turns out to be too slow on the
Raspberry pi. I have read online that it is not using hardware acceleration
so this makes sense.

Is there a good alternative to obtain a full screen cropped video on a
raspberry pi? Currently I am using the following pipeline:

filesrc location=file.mp4 ! qtdemux ! h264parse ! omxh264dec ! videocrop
bottom={} left={} right={} top={} ! videoconvert ! queue !  videoscale
add-borders=false ! video/x-raw,width=1280,height=720 ! ximagesink

And I attach the ximagesink to the GTK drawin area.

Thanks in advance






--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel