Conversation
|
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. |
|
I would prefer to have a dedicated source file for APV, similar to AV2, and to put apvC parsing code in it (similar to e.g. hvcC parsing). |
| bool color_description_present_flag, full_range_flag; | ||
| Skip_B1( "configurationVersion"); | ||
| Get_B1 (number_of_configuration_entry, "number_of_configuration_entry"); | ||
| for (int8u i = 0; i < number_of_configuration_entry; ++i) { |
There was a problem hiding this comment.
Generaly speaking, remove the [i] and [i][j] stuff, ad "Element_Begin1("configuration_entry")" and "Element_Begin1("frame_info")" and the corresponding "Element_End0()" instead, for a nicer trace.
Since it is likely that 2026 Android devices that support APV will use APV in MP4 and the information from apvC seems enough, I did not plan to add a APV parser or parse the raw APV files so I just put it here like some of the other codecs in order to not have to add more files and modify many files. |
Now I split it into separate parser and started adding support for raw bitstreams. Still expanding the parsing. |
f2e8f86 to
7fc44ac
Compare
|
@JeromeMartinez parsing can be considered done. The following remains:
|
Could you provide a couple of samples?
they put it everywhere! |
|
All samples are from links in post 1 and 2 above. Other samples can be made using FFmpeg which can encode APV. PS actually AV2 has subsampling position as well but I also do not really know about that so did not fill to prevent filling wrong info. |
33768a4 to
40f68d1
Compare
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:
or for
color_description_present_flag= 1: