Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.28 KB

README.md

File metadata and controls

49 lines (30 loc) · 1.28 KB

FFmpeg IMF

Introduction

This repository is used to refine support for IMF Compositions in FFMPEG.

It is organized around the following branches:

  • main tracks the master 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