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

Lisa lisas965624 at gmail.com
Tue May 21 08:43:21 EEST 2024


Thank you for your response.
I am working on an rtsp server that uses V4l2 to get frames from mipi-csi2
and then it will encode with ffmpeg Apis (C/C++ language). As I said with
the ffmpeg command line it is able to encode 1920x1080 at 29 fps, so now I
need the similar process with C/C++ to encode 1080p at 30fps.

On Mon, May 20, 2024 at 11:43 PM Reindl Harald <h.reindl at thelounge.net>
wrote:

>
>
> 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?
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-user mailing list