acid-drop

- Hacking the planet from a LilyGo T-Deck using custom firmware
git clone git://git.acid.vegas/acid-drop.git
Log | Files | Refs | Archive | README | LICENSE

ffmpeg.md (1103B)

      1 ```eval_rst
      2 .. include:: /header.rst
      3 :github_url: |github_link_base|/libs/ffmpeg.md
      4 ```
      5 
      6 # FFmpeg support
      7 [FFmpeg](https://www.ffmpeg.org/) A complete, cross-platform solution to record, convert and stream audio and video.
      8 
      9 ## Install FFmpeg
     10 - Download FFmpeg from [here](https://www.ffmpeg.org/download.html)
     11 - `./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`
     12 - `make`
     13 - `sudo make install`
     14 
     15 ## Add FFmpeg to your project
     16 - Add library: `FFmpeg` (for GCC: `-lavformat -lavcodec -lavutil -lswscale -lm -lz -lpthread`)
     17 
     18 ## Usage
     19 
     20 Enable `LV_USE_FFMPEG` in `lv_conf.h`.
     21 
     22 See the examples below.
     23 
     24 Note that, the FFmpeg extension doesn't use LVGL's file system.
     25 You can simply pass the path to the image or video as usual on your operating system or platform.
     26 
     27 ## Example
     28 ```eval_rst
     29 
     30 .. include:: ../../examples/libs/ffmpeg/index.rst
     31 
     32 ```
     33 
     34 ## API
     35 
     36 ```eval_rst
     37 
     38 .. doxygenfile:: lv_ffmpeg.h
     39   :project: lvgl
     40 
     41 ```