diff options
author | James Almer <jamrial@gmail.com> | 2024-01-09 16:05:53 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-01-15 15:10:15 -0300 |
commit | d9fed9df2a9e70c9375d3b2591db35c09303d369 (patch) | |
tree | 69909b7daf3c0907380a4bfbd5430e529a65c092 /tests/ref | |
parent | 202a35ecdb44849953c61dc1fba9643c69b3d5e5 (diff) | |
download | ffmpeg-d9fed9df2a9e70c9375d3b2591db35c09303d369.tar.gz |
avformat/mov: improve HEIF parsing
Parse iprp and iinf boxes and its child boxes to get the actual codec used
(AV1 for avif, HEVC for heic), and properly export extradata and other
properties in a generic way.
The avif tests reference files are updated as the extradata is now exported.
Based on a patch by Swaraj Hota
Co-authored-by: Swaraj Hota <swarajhota353@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/ref')
-rw-r--r-- | tests/ref/fate/mov-avif-demux-still-image-1-item | 2 | ||||
-rw-r--r-- | tests/ref/fate/mov-avif-demux-still-image-multiple-items | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ref/fate/mov-avif-demux-still-image-1-item b/tests/ref/fate/mov-avif-demux-still-image-1-item index b74a2d9dbc..1ead593caa 100644 --- a/tests/ref/fate/mov-avif-demux-still-image-1-item +++ b/tests/ref/fate/mov-avif-demux-still-image-1-item @@ -1,7 +1,7 @@ #format: frame checksums #version: 2 #hash: MD5 -#extradata 0, 13, b52ae298d37128862ef1918cf916239c +#extradata 0, 4, b24b71499a8480fa4469bcbcba2140aa #tb 0: 1/1 #media_type 0: video #codec_id 0: av1 diff --git a/tests/ref/fate/mov-avif-demux-still-image-multiple-items b/tests/ref/fate/mov-avif-demux-still-image-multiple-items index b74a2d9dbc..1ead593caa 100644 --- a/tests/ref/fate/mov-avif-demux-still-image-multiple-items +++ b/tests/ref/fate/mov-avif-demux-still-image-multiple-items @@ -1,7 +1,7 @@ #format: frame checksums #version: 2 #hash: MD5 -#extradata 0, 13, b52ae298d37128862ef1918cf916239c +#extradata 0, 4, b24b71499a8480fa4469bcbcba2140aa #tb 0: 1/1 #media_type 0: video #codec_id 0: av1 |