I am trying to encode 10-bit content to 8-bit, is there a way to this in complete GPU… I am able to do it using CPU/GPU, however performance is not acceptable, I use the following command line::
ffmpeg -init_hw_device cuda=hw -filter_hw_device hw -c:v hevc_cuvid –resize 1280x720 -i hevc_10b_4K60p_BroadcastCaptureSample.mkv -vf “fps=fps=30,format=yuv420p,hwupload” -c:v hevc_nvenc output.mp4
Is there a way to avoid 10-bit to 8-bit conversion on CPU ? Please help.
Additionally, I want to transcode 10-bit HDR (high dynamic range) content to 8-bit SDR content.
Original Discussion with Jen Witsoe:
https://devblogs.nvidia.com/nvidia-ffmpeg-transcoding-guide/#comment-4841132539