eglglessink on rpi

Mailing List SVR lists at svrinformatica.it
Wed Mar 12 07:20:18 PDT 2014


Based on the available documentation seems that is not possible to embed 
a DISPMANX_ELEMENT_HANDLE_T inside an x11 window, so I added some 
properties to the eglglessink:

xpos                : You can set the absolute X position for the 
display window
                         flags: readable, writable
                         Integer. Range: 0 - 4096 Default: 0
ypos                : You can set the absolute Y position for the 
display window
                         flags: readable, writable
                         Integer. Range: 0 - 4096 Default: 0
width               : You can set the width for the display window
                         flags: readable, writable
                         Integer. Range: -1 - 4096 Default: -1
height              : You can set the height for the display window
                         flags: readable, writable
                         Integer. Range: -1 - 4096 Default: -1

this way I can place the video output window where I like,

Nicola


Il 10/03/2014 18:49, Mailing List SVR ha scritto:
> Il 10/03/2014 18:04, Dirk-Willem van Gulik ha scritto:
>>
>> On 10 Mar 2014, at 17:28, Mailing List SVR <lists at svrinformatica.it 
>> <mailto:lists at svrinformatica.it>> wrote:
>>
>>> Hi,
>>>
>>> I'm trying to run eglglessink on raspberry inside an app window, as 
>>> soon as the element try to call|||eglCreateWindowSurface here:
>>>
>>> http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/ext/eglgles/gstegladaptation_egl.c#n321
>>>
>>> the application segfault, I also tryed to run a very simple 
>>> application based on the official docs with the same result,
>>>
>>> is this supposed to work with gstreamer? Is someone running 
>>> eglglessink embedded in an app window on raspberry pi?
>>> |
>>
>> Have a look at 
>> http://www.raspberrypi.org/phpBB3/viewtopic.php?p=326571 --- but my 
>> own experience is just without any X --- i.e. raw into the 
>> framebuffer - whole screen.
>
> yes if I let eglglessink create its own full screen window it works 
> and performance are good for my use case, but I need to embed the 
> videosink inside my X11 application or at least to be able to specify 
> position and dimensions, I tested both the binary packages (1.0.x) and 
> the latest 1.2 version compiled from source, both show the same 
> segfault when |||eglCreateWindowSurface is called,
>
>
> Nicola
> |
>>
>> Dw.
>>
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140312/1c808546/attachment-0001.html>


More information about the gstreamer-devel mailing list