cdgriffith / FastFlix

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

Bit Depth forced @12 bit when input is APR 4x XQ #311

Open vastunghia opened 2 years ago

vastunghia commented 2 years ago

This may be an intended choice for some reason I am not aware of, but I wanted to signal that once input video is Apple ProRes 4444 XQ, available encoding 'Bit Depth' is only 12 bit (yuv420p12le), so as a side consequence I can even choose main10 as Profile, but that will generate an error when calling ffmpeg.

Encoding @ 12 bit, furthermore, seems to kill HDR10+ when providing an external JSON sidecar: the rendered file will read in MediaInfo "SMPTE ST 2086, HDR10 compatible" without the additional specification "SMPTE ST 2094 App 4, Version 1, HDR10+ Profile A compatible", which I obtain when calling ffmpeg from Command Line by simply replacing -pix_fmt yuv420p12le with -pix_fmt yuv420p10le (and adding -profile:v main10).

Ps: ran into this amazing tool yesterday, thank you for your work!

cdgriffith commented 2 years ago

Thanks for letting me know about this issue! I don't have any of that type of video so will have to search around for some samples to test with and see what's going on.

vastunghia commented 2 years ago

If it may help, I have a short Apple ProRes 4444 XQ UHD sample (4 secs) that is... 533 MB. It was rendered in DVR. Maybe I could share it somehow in private with you. Just let me know.

cdgriffith commented 2 years ago

Fixing that the bitdepth is forced to that high of setting in https://github.com/cdgriffith/FastFlix/releases/tag/4.8.0

Still haven't looked at the HDR10+ stuff. I'll get a file drop setup, or can email me link (google drive, mega, etc...) at chris@cdgriffith.com if you are willing to share that video!