vvo / gifify

😻 Convert any video file to an optimized animated GIF.
ISC License
6.21k stars 314 forks source link

Cutting parts of long movies takes ages #1

Closed vvo closed 9 years ago

vvo commented 9 years ago

Say you want to cut "hasta la vista, baby" from Terminator 2.

It will be very long because gifify will create a read stream from the movie and pipe it to ffmpeg.

If the sentence is at 1,2gb of the movie then we pipe 1.2gb for nothing.

I expect ffmpeg to be more clever when dealing with the file itself, so we should do that, give the file to ffmpeg input as -i file.

We will not be able to do so when the user does this: cat movie | gifify but that's not the main usage.