I'd like to convert a file recorded from an iPhone 12 to a royalty-free version (for upload to Wikimedia, Flickr, etc). So the transfer involves:
Source (iPhone proprietary-encumbered) | Destination (royalty-free) |
---|---|
4k 60fps (UHD, not DCI) | 4k 60fps |
BT.2020 in HLG (WCG) | BT.2020 in HLG (WCG) |
Frame-level dynamic HDR metadata in Dolby Vision profile 8.4 | Frame-level dynamic HDR metadata in HDR10+ |
HEVC | VP9 (open to AV1 as well but that's likely more nascent) |
Bitrate is 31 Mb/s | Fine with higher bitrate to maintain same SSIM/PSNR |
Audio is in AAC | Audio to Vorbis/OGG |
According to https://codecalamity.com/encoding-uhd-4k-hdr10-videos-with-ffmpeg/ it should be possible to do most of this. Anyone can help me cook up the right command for this?