[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? ___

Re: [FFmpeg-devel] h264_vaapi is using vaapi or va-api

2023-08-21 Thread cfd new via ffmpeg-devel
Thanks a lot for your reply, Haihao. FFMpeg has a flag -hwaccel in the pipeline of rtsp streaming for hardware acceleration. Is there a similar one in gstreamer as well?    Joe On Monday, August 21, 2023, 02:40:22 a.m. EDT, Xiang, Haihao wrote: > Hi, Folks, >     new FFMPEG user. I

[FFmpeg-devel] h264_vaapi is using vaapi or va-api

2023-08-18 Thread cfd new via ffmpeg-devel
Hi, Folks,     new FFMPEG user. I used gstreamer before. Now I am trying to build a rtsp pipeline.Would like to know whether h264_vaapi uses vaapi or va-api? these two are different ingstreamer.    Thanks,     Joe ___ ffmpeg-devel mailing list ffmpeg-d