[FFmpeg-trac] #10799(undetermined:closed): Extend ffprobe/vf_showinfo time field to milliseconds
FFmpeg
trac at avcodec.org
Sun Jan 14 06:27:41 EET 2024
#10799: Extend ffprobe/vf_showinfo time field to milliseconds
-------------------------------------+-------------------------------------
Reporter: Andrew-R | Owner: (none)
Type: defect | Status: closed
Priority: normal | Component:
| undetermined
Version: git-master | Resolution: invalid
Keywords: time | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by Gyan):
* status: new => closed
* resolution: => invalid
Comment:
There is a limitation with time value displays in showinfo but this is not
it. showinfo uses a field width of 7 characters, so it can and does
display e.g. `2.96667`. When there are fewer characters shown, it means
the remaining digits are 0 i.e. `pts_time:1` indicates `1.00000`.
As for ffprobe, using the bare command will just show the input dump (same
as ffmpeg) which is meant to be a summary display. For precision, you
should use the sectional display. For input container duration, you would
use
`ffprobe -show_entries format=duration -i INPUT` which will print with
microsecond precision, e.g.
{{{
[FORMAT]
duration=179.468005
[/FORMAT]
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10799#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list