[FFmpeg-user] Reading TimeCode Track using ffmpeg
Francois Visagie
francois.visagie at gmail.com
Wed Jun 18 10:16:56 CEST 2014
> -----Original Message-----
> From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-
> bounces at ffmpeg.org] On Behalf Of tarun singhal
> Sent: 18 June 2014 10:03
> To: FFmpeg user questions
> Subject: Re: [FFmpeg-user] Reading TimeCode Track using ffmpeg
>
> On Fri, Jun 13, 2014 at 11:23 PM, tarun singhal <tsinghal18 at gmail.com>
> wrote:
>
> >
> >
> > On Fri, Jun 13, 2014 at 7:10 PM, Francois Visagie <
> > francois.visagie at gmail.com> wrote:
> >
> >> > -----Original Message-----
> >> > From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-
> >> > bounces at ffmpeg.org] On Behalf Of tarun singhal
> >> > Sent: 13 June 2014 14:58
> >> > To: FFmpeg user questions
> >> > Subject: Re: [FFmpeg-user] Reading TimeCode Track using ffmpeg
> >> >
> >> > On Fri, Jun 13, 2014 at 2:38 PM, Phil Rhodes <
> >> phil_rhodes at rocketmail.com>
> >> > wrote:
> >> >
> >> > > As far as I know, ffmpeg does not support the specification of in
> >> > > and out points by frame count or timecode.
> >> > >
> >> > > You can convert your timecode to a fractional number of seconds
> >> > > which is supported by the -ss options etc.
> >> > >
> >> > > Yes, this may suffer rounding errors which can cause your edits
> >> > > to be out by a frame.
> >> > >
> >> > > Yes, it would be nice if ffmpeg supported timecode or at least
> >> > > frame count (or if someone told us how to do it, if it does).
> >> > >
> >> > > P
> >> > > _______________________________________________
> >> > > ffmpeg-user mailing list
> >> > > ffmpeg-user at ffmpeg.org
> >> > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >> > >
> >> >
> >> > Are you aware of any tool which can just extract information about
> >> > this timecode (frame) liest at this timestamp. If I know that I can
> >> > convert timecode into timestamp and use -t and -ss
> >>
> >> ExifTool (http://www.sno.phy.queensu.ca/~phil/exiftool/) by Phil
> Harvey.
> >> It
> >> works for AVCHD, at least. Use the '-ee' option to extract embedded
> >> files (frames in this case). It provides options for formatting
> >> output if you need that; alternatively you can post-process its
> >> standard output.
> >>
> >> > _______________________________________________
> >> > ffmpeg-user mailing list
> >> > ffmpeg-user at ffmpeg.org
> >> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >>
> >> _______________________________________________
> >> ffmpeg-user mailing list
> >> ffmpeg-user at ffmpeg.org
> >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >>
> >
> > Thanks a lot I will check and update you
> >
>
> Even EXIFTOOL doesnt gives me TIMECODE information of each frame.
> Does that mean there is no tool available in market which can give me
> timecode of each frame in the source video? If thats the case then I think
it
> will be a good idea to develop one
Are you sure your video has timecodes? Here's a sample of what I get for
each AVCHD (M2TS container) frame using the '-ee' option:
...
Time Code : 15:41:24:02
Date/Time Original : 2014:05:10 15:41:24+02:00
Aperture Setting : 4.0
Gain : 0 dB
Exposure Program : Program AE
White Balance : Auto
Focus : Auto (0)
Image Stabilization : Off
Exposure Time : 1/100
Make : Canon
Recording Mode : Unknown (8)
Capture Frame Rate : 50
Video Frame Rate : 50
...
My camera is set for free-running timecode initialised to actual
time-of-day.
More information about the ffmpeg-user
mailing list