[FFmpeg-user] Getting a point in time as known by ffmpeg?

Andrey Utkin andrey.krieger.utkin at gmail.com
Fri Mar 2 21:30:08 CET 2012

2012/3/2 Gary Taylor <squeaky at sdf.org>:
> When I watch a video (in xine or gxine for example)I see a
> value displayed which is how long the video has been
> playing.  If I find a scene where I want to process the
> video starting at 00:00:40.000 as displayed in xine, in
> ffmpeg I have to experiment to find that same spot. It's not
> at 00:00:40.000, but instead 00:00:63.000.
> It's like the notion of time in ffmpeg is different than
> what is displayed by the players.  Is this user error,
> should I be viewing them in something else, or is there a
> way to use ffplay to see display the time?
> fmpeg version N-37798-gcd1c12b Copyright (c) 2000-2012 the
> FFmpeg developers
>  built on Feb 11 2012 23:02:52 with gcc 4.4.3

There's such thing as "start time". Timestamps may go not from zero.
ff{play,mpeg,probe} shows it.
Most probably, you should just shift desired time point by start time value.

Andrey Utkin

More information about the ffmpeg-user mailing list