Skip to content

sandflow/ffmpeg-imf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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