[FFmpeg-user] Getting a point in time as known by ffmpeg?
lou at lrcd.com
Fri Mar 2 20:40:44 CET 2012
On Fri, 2 Mar 2012 11:31:41 -0800
Gary Taylor <squeaky at sdf.org> wrote:
> 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
ffplay shows the current time in the last line:
$ ffplay input.mkv
3.05 A-V: 0.002 fd= 1 aq= 320KB vq= 5357KB sq= 0B f=0/0 f=0/0
In this example 3.05 seconds has elapsed.
Also note that the behavior of the -ss option can change depending if it
is used as an input or output option.
More information about the ffmpeg-user