cdgriffith / FastFlix

FastFlix is a free GUI for HEVC and AV1 encoding, GIF/WebP/AVIF creation, and more!
MIT License
1.07k stars 54 forks source link

Can the metadata of HDR10 videos be extracted separately? #544

Open yundebian918 opened 3 months ago

yundebian918 commented 3 months ago

Perhaps I haven't found the correct way to export HDR10 video metadata separately, or is it currently not supported?

DCNerds commented 2 months ago

I am new here, so sorry if this is not helpful. What data are you looking for? Have you used tools like MKVtoolnix, MediaInfo, or MetaX? Maybe you need info they don't provide.

cdgriffith commented 2 months ago

If you are looking for just HDR10, can use ffprobe directly:

 ffprobe -hide_banner -loglevel warning -select_streams v:0 -print_format json -show_frames -read_intervals "%+#1" -show_entries "frame=color_space,color_primaries,color_transfer,side_data_list,pix_fmt" -i <mymoviefile>

That is done behind the scenes in FastFlix itself and will be applied to the output videos. To grab HDR10+, I have a guide here https://github.com/cdgriffith/FastFlix/wiki/HDR10-Plus-Metadata-Extraction or in FastFlix can go to x265 panel and hit the Extract HDR10+ button (you need to have the hdr10p tool downloaded and linked via the settings panel for that to work)