Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

FFmpegH264Encoder is to use the FFmpeg library to encode video YUV data into H264 data. On C3V we will use the encoder named h264_v4l2m2m which is a hardware encoder.

...

This is a sample of H264 encoding using FFmpegH264Encoder. FFmpegV4L2VideoSource provides the yuv source, then gets the yuv frame from FFmpegVideoProvider and sends it to the encoder.

You can also use the source code of FFmpegH264Provider as the sample code of FFmpegH264Encoder.

...