Video overlay using VAAPI

Wolfgang Grandegger wg at grandegger.com
Fri Jun 15 09:19:38 UTC 2018


Am 14.06.2018 um 15:38 schrieb Víctor Jáquez:
> On Thu, 14 Jun 2018 at 06:55, Nicolas Dufresne wrote:
>> Le jeu. 14 juin 2018 06:22, Víctor Jáquez <vjaquez at igalia.com> a écrit :
>>
>>> On Thu, 14 Jun 2018 at 11:57, Wolfgang Grandegger wrote:
>>>> Hello,
>>>>
>>>> Am 13.06.2018 um 13:45 schrieb Nicolas Dufresne:
>>>>>
>>>>>
>>>>> Le mer. 13 juin 2018 04:57, Wolfgang Grandegger <wg at grandegger.com
>>>>> <mailto:wg at grandegger.com>> a écrit :
>>>>>
>>>>>     Hello,
>>>>>
>>>>>     I want to program a GStreamer pipeline overlaying a video
>>> generated with
>>>>>     "videotestsrc" over a video received from the network on an Intel
>>> PC
>>>>>     (VAAPI).  What is the most efficient way to realize such an
>>> overlay. The
>>>>>     overlay works fine with "clockoverlay" but I have not found yet a
>>>>>     solution with "videotestsrc".
>>>>>
>>>>>
>>>>> I believe best would be to use glvideomixer.
>>>>
>>>> OK, thakns, the following is working:
>>>>
>>>> # gst-launch-1.0 glvideomixer name=m ! vaapisink \
>>>>       videotestsrc !
>>> video/xraw,format=RGBA,width=1280,height=800,framerate=30/1 ! \
>>>>       m.  videotestsrc pattern=1 !
>>> video/x-raw,format=RGBA,width=1280,height=50 ! m.
>>>>
>>>> But when I try to read a MJPEG encoded stream from the network it's not
>>>> shown, but just the overlay:
>>>
>>
>> Looks like this bug:
>>
>> https://bugzilla.gnome.org/show_bug.cgi?id=796505
>>
> 
> Unless he is using the new intel vaapi driver (not packaged by any distro so
> far), intel-media-driver (iHD), I  don't think it is the case.

You mean "https://github.com/intel/media-driver"? What else do I need to
use that driver? Will it work together with GStreamer 1.4.1 packages?
I'm using Buildroot... should not be a big deal to add it.

Wolfgang.


More information about the gstreamer-devel mailing list