[FFmpeg-devel] 转发:why ffmpeg not work

Dennis Mungai dmngaie at gmail.com
Wed Apr 1 08:56:20 EEST 2020


On Wed, 1 Apr 2020 at 08:44, 陈军 <cooker.chen at v.photos> wrote:

>
>
>
>
> Hi :
>  When i use this command:
>  ffmpeg -hwaccel cuvid -c:v h264_cuvid -i 466_1337_01.MP4
> -max_muxing_queue_size 1024  -vf scale_npp=1280:-1 -c:v h264_nvenc 1.mp4 -y
> but i got this wrong result;
> Can you help me how can i get correct result;
>
> Here is my settings
>


Use this instead:

 ffmpeg -hwaccel cuda -hwaccel_output_format cuda -extra_hw_frames 2
-threads 2 -i 466_1337_01.MP4  -vf scale_npp=1280:-1 -c:v h264_nvenc
-max_muxing_queue_size 1024  -y 1.mp4


More information about the ffmpeg-devel mailing list