Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This is an open-source library based on the FFmpeg library. It can help you quickly get video and audio streams on C3V. It wraps some FFmpeg functions in an API to simplify the development process.

You can use it directly as a lib, or you can use it as a collection of FFmpeg sample code, and refer to its source code to implement the functions you want.

What can it do

Quickly get a video stream from the sensor

Hardware encoding H264 using h264_v4l2m2m

Hardware decoding H264 using h264_v4l2m2m

Quickly create an H264 stream

Mux MP4/FMP4

Demux MP4/FMP4

Specially provided for Pre-Record

How to get it ?

Download it here:

The attachment contains the compiled libffmpeg_media_api.so and ffmpeg_sample, its source code and sample code, as well as all its dependent libraries.

folder-20240725-032504.pngfile_list.png

How to compile it ?

  1. modify the linux toolchain path in makefile_config_user.mk, change it to your toolchain path

toolchain.png
  1. make

make.png
  1. make install

make_install.png

How to run sample ?

./ffmpeg_sample function [filepath]
run_sample.png

  • No labels