You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: EncodingOverview.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ We will break the encoding process into three parts:
18
18
19
19
# Color space conversion. <aname="Color-space-conversion"></a>
20
20
21
-
FFmpeg is not a great tool for colorspace conversion. We recommend that any color space conversion be done using tools such as [Nuke](https://www.foundry.com/products/nuke-family/nuke) or [oiiotool](https://openimageio.readthedocs.io/en/latest/oiiotool.html) using [OCIO](https://opencolorio.org/). We strongly recommend using the ACES configuration whenever possible, since it provides a good baseline for colorspace conversion. Note, we may mention the use of Nuke a number of times, there are now a large number of 3rd party tools that will also do great at this color space conversion using OCIO.
21
+
FFmpeg is not a great tool for colorspace conversion. We recommend that any color space conversion be done using tools such as [Nuke](https://www.foundry.com/products/nuke-family/nuke) or [oiiotool](https://openimageio.readthedocs.io/en/latest/oiiotool.html) using [OCIO](https://opencolorio.org/), or using [FFmpeg OCIO Filter](FfmpegOcio.html). We strongly recommend using the ACES configuration whenever possible, since it provides a good baseline for colorspace conversion. Note, we may mention the use of Nuke a number of times, there are now a large number of 3rd party tools that will also do great at this color space conversion using OCIO.
22
22
23
23
Typically, we would assume that an intermediate file would get written out, such as PNG, TIF or DPX for processing in ffmpeg.
24
24
@@ -28,7 +28,7 @@ Hint: by default the nuke PNG writer will have the slow compression enabled, thi
28
28
29
29
Two options for building ffmpeg include:
30
30
31
-
*[rocky-ffmpeg-8.1](docker/rocky-ffmpeg-8.1).
31
+
*[rocky-ffmpeg-8.1](docker/rocky-ffmpeg-8.1), will build ffmpeg, oiiotool and OCIO (including the OCIO filter for ffmpeg).
32
32
*[conan](conan/README.md) directory that can be used to build ffmpeg with OCIO support on MacOS, linux and windows.
33
33
34
34
## Quick introduction to color conversion using oiiotool
The combination of this and in_color_matrix will mean the color encoding will match the source media. If you are only adding one set of flags, this is the one, otherwise it will default to an output colorspace of bt601, which is a standard definition spec from the last century, and not suitable for sRGB or HD displays.
70
70
71
-
Separately, if you are converting from exr's in other colorspaces, **please use [OCIO](https://opencolorio.org/) to do the color space conversions.**[oiiotool](https://openimageio.readthedocs.io/en/latest/oiiotool.html) is an excellent open-source tool for this.
71
+
Separately, if you are converting from exr's in other colorspaces, **please use [OCIO](https://opencolorio.org/) to do the color space conversions.**[oiiotool](https://openimageio.readthedocs.io/en/latest/oiiotool.html) is an excellent open-source tool for this. But there is now also an OCIO filter for ffmpeg (see [FFmpeg OCIO Filter](FfmpegOcio.html)).
Copy file name to clipboardExpand all lines: conan/README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,16 @@ parent: Encoding Overview
7
7
8
8
# Conan Build System
9
9
10
+
If you need a static build of ffmpeg, and do not need OpenColorIO, you may be quite happy with the [BtbN builds](https://github.com/BtbN/FFmpeg-Builds/releases/tag/latest).
11
+
10
12
[Conan](https://conan.io) is a multi-platform C/C++ package manager. While its typically used to help build applications, it does provide a nice way to build mutiple versions of applications that can easily be run side by side. For example, you can have multiple versions of ffmpeg installed, and you can switch between them by running the conanrun.bat script in a shell.
11
13
12
14
We have build profiles for MacOS, Linux and Windows.
source linux-osx-setup.sh # sets up environment variables, installs conan and imports some additional conan recipes for vmaf, OCIO and and updated ffmpeg one to include the OCIO filter
19
22
source ffmpeg-8.1-osx-build.sh # Runs the conan build.
source linux-osx-setup.sh # sets up environment variables, installs conan and imports some additional conan recipes for vmaf, OCIO and and updated ffmpeg one to include the OCIO filter
38
42
source ffmpeg-8.1-rhel9-build.sh # Runs the conan build.
@@ -64,6 +68,11 @@ Its worth noting, that the this process works with x86_64, but not with arm64 (a
64
68
65
69
I would recommend checking out the [Encoding Guidelines](https://github.com/AcademySoftwareFoundation/EncodingGuidelines) and then going to the conan folder.
0 commit comments