[FFmpeg-devel] [PATCH] libavfilter/vf_colorrange_cuda: CUDA-accelerated video filter for MPEG and JPEG color range conversions

Roman Arzumanyan rarzumanyan at nvidia.com
Sat Sep 10 11:16:39 EEST 2022


Hello,

This patch adds video filter which does color range conversion similar to swscale scaling filter.

How to use it:
./ffmpeg \
  -hwaccel cuda -hwaccel_output_format cuda \
  -i /path/to/intput/file.mp4 \
  -vf colorrange_cuda=range=mpeg \
  -c:v h264_nvenc \
  -y /path/to/output/file.mp4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libavfilter-vf_colorrange_cuda-CUDA-accelerated-colo.patch
Type: text/x-patch
Size: 18803 bytes
Desc: 0001-libavfilter-vf_colorrange_cuda-CUDA-accelerated-colo.patch
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20220910/163e2356/attachment.bin>


More information about the ffmpeg-devel mailing list