Opened 4 months ago

Closed 4 weeks ago

#9842 closed enhancement (fixed)

IMF Demuxer: Pull starting timecode from CPL

Reported by: Derek Prestegard Owned by: Pierre-Anthony Lemieux
Priority: normal Component: avformat
Version: unspecified Keywords: imf
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes


The IMF demuxer does not currently return the starting timecode declared in the CPL.

This should be retrieved from the CPL and passed downstream to muxers that support it like MOV and MXF.

How to reproduce:

% ffmpeg -f imf -i input_cpl.xml... output

Change History (3)

comment:1 by Pierre-Anthony Lemieux, 4 months ago

Analyzed by developer: set
Component: undeterminedavformat
Keywords: imf added
Owner: set to Pierre-Anthony Lemieux
Reproduced by developer: set
Status: newopen

See proposed patch at

The patch sets the starting timecode based on the content of the CompositionPlaylist/CompositionTimecode element of the Composition Playlist, unless the starting timecode has already been set through other means, e.g. using the -timecode command line entry.

Last edited 3 months ago by Pierre-Anthony Lemieux (previous) (diff)

comment:3 by Pierre-Anthony Lemieux, 4 weeks ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.