Opened 5 years ago

Closed 5 years ago

#1445 closed enhancement (wontfix)

image2 to support start_index and step_increment

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

Description

image2 could be improved to support 2 new parameters, namely start_index and step_increment (or similar), that would be used like this:

for encoding:

ffmpeg -i input -f image2 -start_index 14 -step_increment 3 out%04d.png

this would produce following files: out0014.png, out0017.png, out0020.png, out0023.png, ...

for decoding:

ffmpeg -f image2 -start_index 14 -step_increment 3 -i in%04d.png

this would expect following files on input: in0014.png, in0017.png, in0020.png, in0023.png, ...

Change History (2)

comment:1 Changed 5 years ago by saste

  • Analyzed by developer set
  • Component changed from undetermined to avformat
  • Keywords image2 added
  • Status changed from new to open

We already have a -start_number and support glob patterns.

As for -step_increment, it seems to cover a rather specific requirement which can be easily addressed with some scripting, so I prefer to avoid the avoidable complexity of its implementation.

comment:2 Changed 5 years ago by saste

  • Resolution set to wontfix
  • Status changed from open to closed

Closing the ticket. Please reopen if you think there is a specific use case for the -step_increment option.

Note: See TracTickets for help on using tickets.