Re: [FFmpeg-devel] can not run encoding example of FFmpeg

2024-10-10 Thread Marth64
Hi, The linked version is an old version of the example. Latest version is in git doc/encode_video.c. It runs ok on Mac. Can you try again with the newest version? ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/

[FFmpeg-devel] can not run encoding example of FFmpeg

2024-10-08 Thread cfd new via ffmpeg-devel
Tried to run the following FFmpeg example:https://ffmpeg.org/doxygen/4.2/encode_video_8c-example.html | | | | FFmpeg: encode_video.c | | | On Ubuntu 22.04 and Windows 11 with the latest FFmpeg. Two runs failed at ret = avcodec_send_frame(enc_ctx, frame);ret = -22. What is wrong? ___