[FFmpeg-user] HDR specification transfert

Moritz Barsnick barsnick at gmx.net
Sat Dec 23 14:11:50 EET 2017


On Tue, Dec 19, 2017 at 06:08:55 -0700, Rollie Tyler wrote:
> And here is the command that I tried:
> 
> time /FFmpeg/3.4/bin/ffmpeg -hwaccel cuvid -c:v hevc_cuvid -i
> /storage/input_HDR.mp4 -c:v nvenc_hevc -filter_complex
> [0:0]scale_npp=colormatrix=bt2020:h_chr_pos=0:v_chr_pos=0,format=yuv420p10le
> -pix_fmt yuv420p10le -x265-params
> "colorprim=bt2020:transfer=smpte-st-2084:colormatrix=bt2020nc" -crf 22 -c:a
> copy /storage/OUT/testHDR.mp4   
[...]
> *[Parsed_scale_npp_0 @ 0x2ccb940] Option 'colormatrix' not found
> [AVFilterGraph @ 0x2cc86c0] Error initializing filter 'scale_npp' with args
> 'colormatrix=bt2020:h_chr_pos=0:v_chr_pos=0'
> Error initializing complex filters.
> Option not found
> *
> 
> Why I cannot use the colomatrix option? 
> 
> /PS:I have tried with "scale_cuda" and it didn't work too./

Because "colormatrix" isn't an option to any of those filters, but
rather a filter for itself.

Moritz


More information about the ffmpeg-user mailing list