gpu编解码性能测试

./ffmpeg -c:v hevc_cuvid -i /home/8分钟宣传集锦-40M-50P.ts -c:a copy -vf "hwupload_cuda,scale_npp=3840:2160" -c:v hevc_nvenc -b:v 20M output.ts

frame= 5857 fps= 91 q=29.0 Lsize=  329419kB time=00:01:57.24 bitrate=23016.2kbits/s speed=1.81x

 

./ffmpeg -hwaccel cuvid -c:v hevc_cuvid -i /home/8分钟宣传集锦-40M-50P.ts -c:a copy -vf "scale_npp=3840:2160" -c:v hevc_nvenc -b:v 20M output.ts

frame= 4535 fps= 91 q=21.0 Lsize=  239335kB time=00:01:30.81 bitrate=21589.1kbits/s speed=1.83x

 

./ffmpeg -hwaccel cuvid -c:v hevc_cuvid -i /home/8分钟宣传集锦-40M-50P.ts -c:a copy -vf "scale_cuda=3840:2160" -c:v hevc_nvenc -b:v 20M output.ts

frame= 4637 fps= 91 q=21.0 Lsize=  245673kB time=00:01:32.88 bitrate=21667.1kbits/s speed=1.82x

 

./ffmpeg  -hwaccel cuda -hwaccel_output_format cuda -c:v hevc_cuvid -i /home/8分钟宣传集锦-40M-50P.ts -c:a copy -vf "scale_npp=3840:2160" -c:v hevc_nvenc -b:v 20M output.ts

 frame= 4967 fps= 91 q=25.0 Lsize=  269589kB time=00:01:39.49 bitrate=22196.0kbits/s speed=1.82x

 

posted @ 2021-03-03 10:08  虾兵  阅读(827)  评论(0编辑  收藏  举报