[FFmpeg-user] VP9 to HEVC hdr demo conversion?
Carl Eugen Hoyos
ceffmpeg at gmail.com
Tue Dec 13 12:17:38 EET 2016
2016-12-13 1:35 GMT+01:00 Andy Furniss <adf.lists at gmail.com>:
> Carl Eugen Hoyos wrote:
>>
>> 2016-12-11 23:25 GMT+01:00 traycold <traycold at gmail.com>:
>>>
>>> hi,
>>> I tried the same (convert a vp9.2 hdr video to hevc to watch it on a
>>> samsung
>>> smart tv).
>>> So far, I tried this command (input.mkv contains both VP9.2 video stream
>>> and
>>> audio stream):
>>>
>>> ffmpeg -i input.mkv -vf
>>>
>>> scale=out_color_matrix=bt2020:out_h_chr_pos=0:out_v_chr_pos=0,format=yuv420p10
>>> -pix_fmt yuv420p10le -c:v libx265 -x265-params
>>> "colorprim=bt2020:transfer=smpte-st-2084:colormatrix=bt2020nc" -crf 22
>>> -c:a
>>> copy output.mkv
>>
>>
>> Did you also try the following?
>> $ ffmpeg -i input.mkv -vcodec hevc output.mkv
>
>
> I did a bit of digging into this and ffmpeg doesn't read the mastering data
> in the webm due to the test -
(Thank you!)
So this means that the following does not produce HDR output?
$ ffmpeg -i input.mkv -vcodec vp9 out.mkv
Carl Eugen
More information about the ffmpeg-user
mailing list