Rdzleo d4303f46fe ESP32-S3按键版非AI电子吧唧代码初始化
1、本项目由Dzbj_ESP32_S3项目复制而来,暂未开始按键功能开发;
2、使用此版本进行按键控制电子吧唧、当前开发板屏幕为非触摸屏;
2026-03-25 09:48:26 +08:00

1015 B

FFmpeg support

FFmpeg A complete, cross-platform solution to record, convert and stream audio and video.

Install FFmpeg

  • Download FFmpeg from here
  • ./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

  • Add library: FFmpeg (for GCC: -lavformat -lavcodec -lavutil -lswscale -lm -lz -lpthread)

Usage

Enable LV_USE_FFMPEG in lv_conf.h.

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.

Example


.. include:: ../../examples/libs/ffmpeg/index.rst

API


.. doxygenfile:: lv_ffmpeg.h
  :project: lvgl