[FFmpeg-devel] [PATCH 3/3] mov: support timecode extraction.
Baptiste Coudurier
baptiste.coudurier at gmail.com
Mon Jan 2 22:36:19 CET 2012
On 1/2/12 4:23 PM, Clément Bœsch wrote:
> From: Clément Bœsch <clement.boesch at smartjog.com>
>
> ---
> I'm really not sure about this one. All the samples I have store the timecode
> in "frame number" format. But all of them have the Counter flag unset.
> Unfortunately, the specs[1] stats (p160+):
>
> If the Counter flag is set to 1 in the timecode sample description, the
> sample data is an unsigned 32-bit integer. The timecode counter value is
> determined by dividing this unsigned 32-bit integer by the number of frames
> field in the timecode sample description.
>
> If the Counter flag is set to 0 in the timecode sample description, the
> sample data format is a signed 32-bit integer and is used to calculate a
> timecode record, defined as follows.
>
> [...]
>
> So basically, I understand it as: cf=1 → frame number format, cf=0 → qt format.
>
> Also, I can't find a sample with a timecode stored in quicktime format (where
> counter flag should be set to 0).
Just remove that code and display a message. It's not needed yet.
[...]
--
Baptiste COUDURIER
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer http://www.ffmpeg.org
More information about the ffmpeg-devel
mailing list