mov: copy timecode metadata from tmcd track to the related video stream.
authorClément Bœsch <clement.boesch@smartjog.com>
Mon, 4 Jun 2012 09:10:09 +0000 (11:10 +0200)
committerClément Bœsch <ubitux@gmail.com>
Mon, 11 Jun 2012 05:40:26 +0000 (07:40 +0200)
commit1ec23d9c02079bae2ee02a3efe7da6f628781f82
tree66caf71a608159b1c8c9efb46f593b8e0c8e4448
parent0d96ec19ebc1577b27a889136364a906e1c627b1
mov: copy timecode metadata from tmcd track to the related video stream.

Apple softwares seem not to add a tref for the timecode (the next commit
fixes this issue), but at least FFmpeg does.

This can be used to generate a sample that demonstrates the feature:

    ./ffmpeg -f lavfi -i testsrc    \
             -f lavfi -i mptestsrc  \
             -f lavfi -i rgbtestsrc \
             -map 0 -map 1 -map 2   \
             -metadata:s:0 timecode=00:00:00:12 \
             -metadata:s:2 timecode=01:02:12:20 \
             -t 10 -y out.mov
    ./ffprobe out.mov

The timecode metadata being transmitted to the video streams, it can be
kept while transmuxed/transcoded.
libavformat/mov.c