Opened 2 years ago

Closed 2 years ago

#6097 closed defect (invalid)

Get milliseconds information for filenames in image sequence

Reported by: clic Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: image2
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary:
It is not possible to generate filenames in image sequences containing milliseconds information.

How to reproduce:

% ffmpeg -f dshow -i video="Integrated Webcam" img_%07d.jpg

.. records JPEGs using sequence pattern

% ffmpeg -f dshow -i video="Integrated Webcam" -strftime 1 img_%Y-%m-%d_%H-%M-%S.jpg

.. uses strftime to generate date information in filenames - but does not support milliseconds

ffmpeg 3.2.2
built from zeranoe

Change History (1)

comment:1 Changed 2 years ago by cehoyos

  • Component changed from ffmpeg to undetermined
  • Resolution set to invalid
  • Status changed from new to closed
  • Type changed from enhancement to defect

Afaict, there is no way to get the current time with a higher precision than seconds in POSIX on which FFmpeg depends.
If you want the timestamps (that have a higher precision than seconds) in the output file name, this is a duplicate of ticket #1452.

Note: See TracTickets for help on using tickets.