[vlc-devel] VLC on Raspberry Pi : video to EGL surface

Damien maitredede at gmail.com
Thu Sep 22 11:43:21 CEST 2016


Sorry, I don't know yet :) I explain the background...

I have coded a working "video displaying" app on Windows in C# by using
libvlc with Vlc.DotNet (https://github.com/ZeBobo5/Vlc.DotNet) so there is
many things abstracted. It is drag'n'drop, works fine. I a porting this app
to Raspberry Pi, so I rewrite it from scratch in c/c++. I am starting with
the tutorial (https://wiki.videolan.org/LibVLC_Tutorial/),
I am also starting with opengl, I tried the Raspberry Pi samples from
https://github.com/raspberrypi/firmware/tree/master/opt/vc/src/hello_pi
My starting point is the hello_triangle demo (rotating cube). I will check
the video cube demo soon.

So for now, I have a EGLSurface pointer that is my whole screen. I am still
searching on how I can glue every pieces...

While writing this mail, I think that a possible way would be to think more
"libvlc to opengl texture" like this forum post :
https://forum.videolan.org/viewtopic.php?t=83833

Do you think this can be the way to succeed ?

Thanks :)

Damien

2016-09-22 20:15 GMT+11:00 Jean-Baptiste Kempf <jb at videolan.org>:

> On 22 Sep, Damien wrote :
> > I am using libvlc to create an application that can display videos on the
> > Raspberry Pi, and I would like to know if libvlc can run without X, by
> > steaming video via Opengl output, to an existing EGLSurface.
>
> If I understood correctly, this would require a
> libvlc_media_player_set_fbo() call that does not exist yet.
>
> With my kindest regards,
>
> --
> Jean-Baptiste Kempf
> http://www.jbkempf.com/ - +33 672 704 734
> Sent from my Electronic Device
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20160922/767500f0/attachment.html>


More information about the vlc-devel mailing list