[FFmpeg-user] Decode h.264 to YUV on GPU

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Jan 25 01:47:31 EET 2019


2019-01-24 22:25 GMT+01:00, Mahmood Naderan <mahmood.nt at gmail.com>:

> ./ffmpeg -vsync 0 -c:v h264_cuvid -i in.mp4 -f rawvideo out.mp4
>
> and two input files
> Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
> 1920x1080 [SAR 1:1 DAR 16:9], 8239 kb/s, 29.97 fps, 29.97 tbr, 30k tbn,
> 59.94 tbc (default)
>
> Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
> 3840x2160 [SAR 1:1 DAR 16:9], 32482 kb/s, 29.97 fps, 29.97 tbr, 30k tbn,
> 59.94 tbc (default)
>
> I see that GPU utilization for the first is less than 5% while for the
> second is about 12%.
>
> The difference is (High) and (Main). Do you think that is normal?

Your question is very difficult to understand:
Are you surprised that the values for the utilization are different?
Or do you find them too high? Or too low?

Carl Eugen


More information about the ffmpeg-user mailing list