[FFmpeg-devel] [PATCH 0/4] mux timecode tracks in mov

Jean First jeanfirst at gmail.com
Sat Aug 25 11:44:10 CEST 2012

this is another attempt to fix muxing of timecode tracks in mov files and fixes ticket #236.

for some time now the following command won't fail anymore with a floating point exception (file attached to ticket #236):

ffmpeg -i fcp_export8.mov -vcodec copy -acodec copy -dcodec copy fcp_export9.mov

but the timecode tracks won't get muxed. The muxing of timecode tracks can be achieved with the following command:

ffmpeg -i fcp_export8.mov -c copy -map 0 fcp_export9.mov

But before this patchset the timecode tracks were not usable.
Furthermore this patchset allows a track to have multiple reference tracks (tref).

This brakes fate atm.

Jean First (4):
  movenc: set timescale for timecode tracks
  mov: fix tref count for multiple trefs
  movenc: allow writing of multiple trefs per track
  movenc: fix muxing of timecode tracks

 libavformat/mov.c    |    2 +-
 libavformat/movenc.c |   54 ++++++++++++++++++++++++++++++++++++++------------
 libavformat/movenc.h |    3 ++-
 3 files changed, 44 insertions(+), 15 deletions(-)


More information about the ffmpeg-devel mailing list