[FFmpeg-devel] [PATCH]lavf/img2enc: Allow to reverse frame order

Ronald S. Bultje rsbultje at gmail.com
Tue Feb 23 17:49:07 CET 2016


Hi,

On Tue, Feb 23, 2016 at 10:39 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Hi!
>
> As requested on ffmpeg-user.


I'm a little ambivalent to this. Let me explain. You can easily fix this
with a shell script that creates links from img-{1000...1}.jpg to
img_2_{1...1000}.jpg and deletes them after the ffmpeg run. This is
super-trivial.

The problem I have with this is that we're slowly, and very very hackishly,
extending the sequential image support without addressing its fundamental
weakness as a non-unix tool: it doesn't use shell expansion. I'd want to
use ffmpeg -i img-*.jpg so it skips non-existing frames, or use other unix
tools to rev the order or whatever, shell syntax is great for this but
ffmpeg.exe does not support any of that. So why hack in this one silly
thing if we don't address the fundamental problem instead, which would also
fix this?

Ronald


More information about the ffmpeg-devel mailing list