movenc: Timecode in MP4 Although MP4 does not have a concrete specification to store...
authorSyed Andaleeb Roomy <andaleebcse@gmail.com>
Thu, 21 Jan 2016 06:08:09 +0000 (07:08 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 28 Feb 2016 02:47:23 +0000 (03:47 +0100)
commitb4dcd351ec50caaa484bc5c66b4a8d5557a0f1ea
tree909ef888878b2fe5aa026e3b0ae93259f8eb2e4d
parent15708f13477aaf2effdc0d7fc727507bc468335a
movenc: Timecode in MP4 Although MP4 does not have a concrete specification to store timecode information, the following technical note from Apple describes a way to achieve this via timecode track, similar to how it is done for MOV files.

https://developer.apple.com/library/mac/technotes/tn2174/_index.html

- Enabled creation of timecode tracks for MP4 in the same way as MOV.
- Used nmhd as media information header of timecode track of MP4 instead
  of gmhd used in MOV, thus avoiding tcmi also, as recommended above.
- Bypassed adding source reference field for MP4, as suggested above.

Issue: https://trac.ffmpeg.org/ticket/4704

Signed-off-by: Syed Andaleeb Roomy <andaleebcse@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/movenc.c