tiff – how to encoded a 10bit .tif file into an HDR video by ffmpeg in command line

how can i encoded a RGB 10 bit tif file into a hdr video by ffmpeg?

and one more question: should the input tiff must be 16bit big- or little- endian?

i have try the method here: How can I encode RGB images into HDR10 videos in ffmpeg command-line?
,the same command and setting as the method. However i got this : code 1026: YUV color family cannot have RGB matrix coefficients

here is the tiff file i have tried:drive.google.com/file/d/1G8oYf9-FQJJPNUxwB0_FmlvBaMnUhCVL/view?usp=drive_link

and i found that:
the procedure information it seems like the ffmpeg automatically set the output format as gbrp16le even when i set the -pix_fmt yuv420p10le.

Read more here: Source link