MediaInfoLib
MediaInfoLib copied to clipboard
MP4: Initial APV support
Specification and samples: https://github.com/AcademySoftwareFoundation/openapv More info: https://developer.android.com/about/versions/16/features#apv
Samples in MP4 can be generated with FFmpeg:
ffmpeg -f lavfi -i testsrc=d=10:s=3840x2160:r=60 -pix_fmt yuv422p10le -c:v liboapv -preset slow
or for color_description_present_flag = 1:
ffmpeg -f lavfi -i testsrc=d=10:s=3840x2160:r=60 -pix_fmt yuv422p10le -c:v liboapv -preset slow -colorspace bt709 -color_trc bt709 -color_primaries bt709
Samples in MP4 from Android CTS: https://dl.google.com/android/xts/cts/tests/media/CtsMediaV2TestCases-5.11.zip
This PR should be enough for showing important info for APV in MP4 that will be produced from 2026 Android phones.