Resizing video with gstramer-vaapi

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Resizing video with gstramer-vaapi

Pierre-Alain
Hi !
I have to test gstreamer-vaapi on many simultanous videos but I'm facing a problem :
I didn't success in scaling the video display with gst-launch command in order to see many video simultaneously...
I want to use videoscale (or/and videocrop) but I have to use vaapidownload to make it work and it's not performant...
And I didn't find other solution...
Have you got any idea to solve this problem ??


It must look simple for you, but to me it's a problem !
Using with  one single video, gstreamer-vaapi is just awesome !
Reply | Threaded
Open this post in threaded view
|

Re: Resizing video with gstramer-vaapi

Nicolas Dufresne-2
Le vendredi 13 juillet 2012 à 00:06 -0700, Pierre-Alain a écrit :
Have you got any idea to solve this problem ??
Most people that target HW accelerated decoding will render into GL texture in their program (see gst-vaapi and opengl thread on this mailing list archive) and use GL to do the cropping/scaling and video window placement. Alternatively, I'd suggest using Clutter as all of it is already integrated (so you really just have to place the video).

It must look simple for you, but to me it's a problem !
Using with  one single video, gstreamer-vaapi is just awesome !

Well from gst-launch it's simply not possible to do what you want to. There exist some GL element that would serve this purpose, but they are not yet integrate with HW accelerated buffers that support OpenGL. Right now, the quickest solution to test this is to write a small Clutter application.

cheers,
Nicolas
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel