Closed vvo closed 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.
-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.
cat movie | gifify
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.