3
1
My question is simple: how do I convert HDR vp9.2 videos downloaded from YouTube into HEVC (better if 10 bits) HDR videos?
Yesterday I tried this command, which is the only one I could find in Google:
ffmpeg -i ../4K-HDR\ Videos/The\ World\ in\ HDR\ in\ 4K\ \(ULTRA\ HD\)-2160p\ 60fps.mkv -c:v libx265 -x265-params "colorprim=bt2020:transfer=smpte-st-2084:colormatrix=bt2020nc:master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,10):max-cll=0,0" output.mkv
It does convert to HEVC (not sure about the 10 bits) but I loose the HDR. Also it's probably overcomplicated for nothing. Any simple ffmpeg params that convert from HDR to HDR? Thanks.
1Notice that FFmpeg doesn't do a good gob with fractions, so for 29.97fps you should use 3000/1001, for 23.976 use 24000/1001, and for 59.94, 60000/1001. – Rodrigo Polo – 2018-01-30T11:26:43.510