Ticket #1452 (open enhancement)

Opened 11 months ago

Last modified 4 months ago

image2 to support %t

Reported by: burek Owned by:
Priority: wish Component: avformat
Version: unspecified Keywords: image2
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Parameter %t in the output file name (just like %d) could be used to store the time stamp info of the current frame being written in the file. It could follow the same syntax like %d for formatting.

It also might be used as an input parameter, but the list of matching input files would have to be sorted first, I guess, to have a correct sequence of input files.

Change History

comment:1 in reply to: ↑ description Changed 4 months ago by saste

  • Keywords image2 added
  • Status changed from new to open
  • Component changed from undetermined to avformat

Replying to burek:

Parameter %t in the output file name (just like %d) could be used to store the time stamp info of the current frame being written in the file. It could follow the same syntax like %d for formatting.

It also might be used as an input parameter, but the list of matching input files would have to be sorted first, I guess, to have a correct sequence of input files.

This looks a lot like #1969.

comment:2 Changed 4 months ago by burek

Yes, I guess the ticket #1969 is a duplicate of this ticket (this one was opened 7 months ago).

The idea is just to have a way to use the time stamps rather than the list of sequential numbers, in the input/output file name. The code for the input files might be a bit trickier than the code for the output output, but I guess it can be solved using file globing (replacing %t with *) or similar filtering.

Note: See TracTickets for help on using tickets.