Re: [Ffmpeg-php-user] timecode
Brought to you by:
tkirby
|
From: Todd.Kirby <dou...@pa...> - 2005-05-05 03:25:39
|
Daniel Bondurant wrote: >timecode as in SMTP timecode. > >HH:MM:SS:FFF > >the actual time associated with each frame. >it's hard to calculate when the framerate is 29.97 because of the drop frames. I belive ffmpeg already reports this information. > > > Where in ffmpeg does it report that? I can create a $frame->getPresentationTimestamp() and then you can do whatever math you want in php to get your preferred formatting. I'd rather provide the simplest accessor possoble to php so that folks who want a different view of the timestamp don't have to parse a formatted string to get the info. -Todd |