[FFmpeg-user] c/c++ program for FFMPEG H.264 encoding

Reindl Harald h.reindl at thelounge.net
Mon May 20 21:13:33 EEST 2024



Am 20.05.24 um 10:56 schrieb Lisa:
> Iam able to encode to H.264 video from */dev/video0* with *1920x1080 at 29 * fps
> in *Raspberry pi 4 model B* using the below FFMPEG commands

> I want to accomplish the same task with a C program. I've searched the web
> for examples, but they haven't been very helpful. Can you provide a C
> program that encodes video from a specified node with a resolution of
> 1920x1080 at 30 fps and saves it in an .mp4 file?

why should anybody re-invest the wheel in Pure C?
how does the programming language matter?
what's warong with FFmpeg?


More information about the ffmpeg-user mailing list