ffmpeg-imf
ffmpeg-imf copied to clipboard
Adds an IMF demuxer to FFMPEG (https://github.com/sandflow/ffmpeg-imf/blob/develop/README-IMF.md)
FFmpeg IMF
Introduction
This repository is used to refine support for IMF Compositions in FFMPEG.
It is organized around the following branches:
-
main
tracks themaster
branch of the upstream FFmpeg repository -
develop
integrates the latest IMF features, which are not yet part of FFmpeg
The original FFmpeg README is moved to README-GENERAL.md
Building FFmpeg with IMF support
Release
./configure --enable-libxml2
NOTE: The IMF demuxer will not be included unless libxml2
is included, which
it is not by default.
Debug
./configure --enable-libxml2 --enable-debug --disable-optimizations --disable-stripping
Usage
./ffmpeg -f imf -assetmaps <path of ASSETMAP1>,<path of ASSETMAP2>,... -i <path of CPL> ...
If -assetmaps
is not specified, FFMPEG looks for a file called ASSETMAP.xml
in the same directory as the CPL.
NOTE: -f imf
is required since the IMF demuxer is currently marked as experimental.
For HTJ2K decoding, the libopenjpeg
decoder must be used:
./ffmpeg -c:v libopenjpeg -f imf -i <path of CPL> ...
Unit tests
make fate-rsync SAMPLES=fate-suite
make fate-imf SAMPLES=fate-suite