did anybody ever tried to include ffmpeg? #440
Replies: 3 comments 1 reply
-
and here the absolute enlightening documentation of lvgl FFmpeg support Install FFmpeg ./configure --disable-all --disable-autodetect --disable-podpages --disable-asm --enable-avcodec --enable-avformat --enable-decoders --enable-encoders --enable-demuxers --enable-parsers --enable-protocol='file' --enable-swscale --enable-zlib make sudo make install Add FFmpeg to your project Usage See the examples below. Note that, the FFmpeg extension doesn't use LVGL's file system. You can simply pass the path to the image or video as usual on your operating system or platform. |
Beta Was this translation helpful? Give feedback.
-
No need to apologize, but I think, that's not an easy task, you have chosen. I also can't help you in detail, but I can say, that Circle does not support any accelerated API for displaying videos. You can only write directly to the frame buffer, or use DMA memory copy for this purpose. |
Beta Was this translation helpful? Give feedback.
-
You are welcome. I remember that, when I ported the userland code, I
eliminated the MMAL code to reduce complexity. The port has been done to
support 2D accelerated GUI creation for a specific project, so the focus was on
OpenVG. But OpenGL ES 1.1 and 2.0 is supported either. Thanks for appreciating
Circle!
|
Beta Was this translation helpful? Give feedback.
-
im a noop and apologize in front of my question,
but i was batteling for weeks to get the compiler to a point where i could compile
the in the graphic subsystem lvgl included "wrapper" ( ?! ) lv_ffmpeg.h...
somehow i eleminated all warnings and errors but now i wonder:
do i need specific codecs additional to the in the lvgl documentation
mentioned like h264 hardware acceleration or api´s like mmal
or even h.264_mmal ( its a thing in ffmpeg ) to use it?
or is the fact that the circle system has already the bcm_host.h included
indication that ( depends how good lvgl is integrated ? )
i dont need to worry about such silly things like achieving
direct hardware access and control over GPU-related operations.
absolute noop question and i dont understand any word im using here,
still happy to get some feedback...
ah yeah, why im asking?
i like to run a video on the bare metal raspi,
more specific i need to encode certain frames into a buffer ( struct )
for additional processing...
thanks
Beta Was this translation helpful? Give feedback.
All reactions