Skip to content

Commit 58f6e6d

Browse files
authored
Siggraph2025v2 (#108)
* Minor fixes. Signed-off-by: [email protected] <[email protected]> * Updating notes on OpenAPV status, now that ffmpeg 8.0 is a branch. Signed-off-by: [email protected] <[email protected]> --------- Signed-off-by: [email protected] <[email protected]>
1 parent 1983077 commit 58f6e6d

File tree

3 files changed

+18
-11
lines changed

3 files changed

+18
-11
lines changed

EncodeOpenAPV.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@ The codec specification allows:
1919
* Frame tiling for immersive content and for enabling parallel encoding and decoding.
2020
* Support multi-video video and auxiliary video like depth, alpha and preview.
2121

22-
There are four implementations:
22+
There are three implementations:
2323

2424
* OpenAPV library - [https://github.com/AcademySoftwareFoundation/OpenAPV](https://github.com/AcademySoftwareFoundation/OpenAPV) - which can encode a YCrCb stream to the apv format.
25-
* [Ffapv](https://github.com/openapv/ffapv) - Which is an integration of the OpenAPV library into ffmpeg (see below). This supports both encoding at 422, 444 10-bit and 12-bit encoding.
2625
* Native ffmpeg - FFmpeg has implemented their own decoder as part of the core ffmpeg app, they also have their own encoder using the OpenAPV library.
2726
* Android Open Source Project (AOSP) 16 - Android has added support of APV in v16. [Android 16](https://developer.android.com/about/versions/16/features#apv).
2827

@@ -56,7 +55,8 @@ Note, the y4m format only works with 422, but it does give you access to some of
5655

5756
## Ffmpeg
5857

59-
Currently you need to grab the main branch, there is no official release yet that includes APV, although its likely to be in ffmpeg 8.0.
58+
OpenAPV is included in the 8.0 version of ffmpeg.
59+
6060
There is a decoder which is impressively fast, and does support 422, 444 and 4444 at 10 and 12 bits.
6161
The encoder uses the OpenAPV library, and currently supports 422, 444 and 4444 at 10 and 12 bits.
6262

@@ -188,6 +188,8 @@ Note, dnxhr and prores_ks are both encoding only to 10-bit, since they do not su
188188
| ![](enctests/reference-results/intra-test444-vmaf_harmonic_mean.png) This is showing different intraframe codecs against VMAF harmonic mean |
189189
| ![](enctests/reference-results/intra-test444-psnr_y_harmonic_mean.png) This is showing different intraframe codecs against psnr y harmonic mean |
190190

191+
## Playback
192+
For playback you need to at least be on ffmpeg 8.0. OpenRV does have a [Pull-request](https://github.com/AcademySoftwareFoundation/OpenRV/pull/843) to add 8.0 as an option to OpenRV. The changes are not specific to OpenAPV, but are related to updates to ffmpeg 8.0.
191193

192194
## Playback performance
193195

Quickstart.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,3 @@ TODO: Do additional testing across all players.
171171
For more details see:
172172
* [Comparing full-range vs. tv range](https://academysoftwarefoundation.github.io/EncodingGuidelines/tests/greyramp-fulltv/compare.html)
173173
* [Encoding Guide](Encoding.html#range)
174-
175-
176-
For more details see:
177-
* [Comparing full-range vs. tv range](https://academysoftwarefoundation.github.io/EncodingGuidelines/tests/greyramp-fulltv/compare.html)
178-
* [Encoding Guide](Encoding.html#range)

enctests/sources/enc_sources/download_media.sh

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ then
4040
aws s3 cp --no-sign-request s3://download.opencontent.netflix.com/Chimera/tif_DCI4k2398p/ chimera_fountains --recursive --exclude "*" --include "*_055*.tif"
4141
fi
4242

43+
if [[ ! -f chimera_dancers_srgb/chimera_dancers_srgb.21800.png && ! -d chimera_dancers ]]
44+
then
45+
echo Downloading netflix dancers
46+
aws s3 cp --no-sign-request s3://download.opencontent.netflix.com/Chimera/tif_DCI4k5994p/ chimera_dancers --recursive --exclude "*" --include "*_0218*.tif"
47+
aws s3 cp --no-sign-request s3://download.opencontent.netflix.com/Chimera/tif_DCI4k5994p/ chimera_dancers --recursive --exclude "*" --include "*_0219*.tif"fi
48+
4349
# I think the file labeling is actually incorrect, this media is actually pretty close to gamma2.2 or 2.4 its not HDR at all.
4450
# The associated mov file has no HDR metadata associated with it. So I'm going to assume no color space conversion is necessary.
4551

@@ -77,6 +83,10 @@ then
7783
#rm -rf chimera_fountains
7884
fi
7985

80-
#oiiotool -v --frames 2500-2699 --parallel-frames -i chimera_cars/Chimera_DCI4k2398p_HDR_P3PQ_%05d.tif --ociodisplay:from=ACEScg:inverse=1 'ST2084-P3-D65 - Display' 'ACES 1.1 - HDR Video (1000 nits & P3 lim)' --mulc 0.15 -o chimera_cars_ACEScg_exr/chimera_cars_ACEScg_exr.%05d.exr
81-
#oiiotool -v --frames 044200-44399 --parallel-frames -i chimera_coaster/Chimera_DCI4k5994p_HDR_P3PQ_%06d.tif --ociodisplay:from=ACEScg:inverse=1 'ST2084-P3-D65 - Display' 'ACES 1.1 - HDR Video (1000 nits & P3 lim)' -o exr/coaster.%06d.exr
82-
#oiiotool -v --framepadding 5 --parallel-frames --frames 5400-5599 -i chimera_fountains/Chimera_DCI4k2398p_HDR_P3PQ_@@@@@.tif --ociodisplay:from=ACEScg:inverse=1 'ST2084-P3-D65 - Display' 'ACES 1.1 - HDR Video (1000 nits & P3 lim)' -o chimera_fountains/chimera_fountains.%06d.exr
86+
if [ ! -f chimera_dancers_srgb/chimera_dancers_srgb.05400.png ]
87+
then
88+
mkdir chimera_dancers_srgb
89+
echo Building chimera_dancers png
90+
oiiotool -v --framepadding 5 --parallel-frames --frames 21800-21999 -i chimera_dancers/Chimera_DCI4k2398p_HDR_P3PQ_@@@@@.tif --resize 1920x1080 --powc 2 -d uint16 -o chimera_dancers_srgb/chimera_dancers_srgb.#.png
91+
#rm -rf chimera_fountains
92+
fi

0 commit comments

Comments
 (0)