> I will inform you about the results.
In short: ffmpeg and ffprobe perform very well on VFR video. The
presentation time stamp %{pts} is the right information to display by
drawtext if you need to know the exact time for a certain frame.
It's a pity that you cannot format the float number
2018-09-18 22:25 GMT+02:00, Wolfgang Hugemann :
>> Please tell us more about the properties of your actual
>> input file to give us a chance to help you.
>
> I would supply it by link, but I can't: It shows a video taken by a
> surveillance camera prior to a vehicular accident, and I am obliged to
> Please tell us more about the properties of your actual
> input file to give us a chance to help you.
I would supply it by link, but I can't: It shows a video taken by a
surveillance camera prior to a vehicular accident, and I am obliged to
keep it secret.
It shows the video running on a
2018-09-18 18:34 GMT+02:00, Wolfgang Hugemann :
> ffmpeg -y -vsync 2 -i "concat:25.avi|50.avi" test.mp4
This produces an invalid file as FFmpeg does not create
fully compliant vfr mp4 files (that is at least what Baptiste,
the author of the relevant code, claims).
Please tell us more about the
> If the input file has the correct timestamps, then the pts function is what
> you need - it is not a "frame counter". You can format the output like
> shown at https://video.stackexchange.com/a/21907/1871
This had been my original approach, see my first e-mail. But the time
displayed (blended
2018-09-17 15:19 GMT+02:00, Wolfgang Hugemann :
> ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers
(Apart from testing current FFmpeg)
Please provide ffmpeg -i output for the stream you want to
analyze.
Carl Eugen
___
ffmpeg-user
On Tue, Sep 18, 2018 at 2:35 PM Wolfgang Hugemann wrote:
>
>
> I would like to display the exact time where the frame has to be placed
> in the timeline, such that I can calculate the speed of the passenger
> car, which ran into an accident.
>
If the input file has the correct timestamps, then
> Drawtext filter already have timecode you want, and its in all in
documentation.
Yes, there is a timecode option for the drawtext command, creating a
SMPTE, but using it you have to supply an fixed framerate, which is then
used to produce the SMPTE. This is not the right aprpoach for VFR video.
On 9/17/18, Wolfgang Hugemann wrote:
>> You want timecode and not pts, look at
>> drawtext manual.
>
> You may assume that I already did that.
>
> IMHO, the main issue is not drawtext, but where to get the text from.
> There only a few ready-made options, all other information has to be
> drawn
> You want timecode and not pts, look at
> drawtext manual.
You may assume that I already did that.
IMHO, the main issue is not drawtext, but where to get the text from.
There only a few ready-made options, all other information has to be
drawn from metadata provided by some other source.
For
On 9/17/18, Wolfgang Hugemann wrote:
> I have a WhatsApp video which is definitively VFR, as can be told from
> the content (a passenger car at constant speed) and is reported by the
> new vfrdet filter.
>
> I would like to display a timecode in each frame, derived from the frame
> metadata:
>
>
I have a WhatsApp video which is definitively VFR, as can be told from
the content (a passenger car at constant speed) and is reported by the
new vfrdet filter.
I would like to display a timecode in each frame, derived from the frame
metadata:
"drawtext=text=%%{pts}"
yields wrong results, as it
12 matches
Mail list logo