gifify icon indicating copy to clipboard operation
gifify copied to clipboard

Unable to use end time (--to)

Open dhruvkjaura opened this issue 8 years ago • 3 comments

I've tried across different source videos and different configurations, the gif does start from the defined start time, however, doesn't end based on the "to" value passed. The final gif goes all the way till the end of the video which is the default setting.

dhruvkjaura avatar Nov 11 '16 07:11 dhruvkjaura

If I remember well, I think --to means "duration" when used with --from. Can you try that? Then it would be a readme update or fix.

vvo avatar Nov 12 '16 13:11 vvo

I was getting blurry/fuzzy output (perhaps separate issue) when I tried to convert my entire .mov selection to .gif, so I tried breaking it up.

gifify -o cleanup-formula0.gif --to 00:00:21 cleanup-cmd.mov --resize 950:-1 --speed 2 worked

gifify -o cleanup-formula1.gif --from 00:00:23 --to 00:00:38 cleanup-cmd.mov --resize 950:-1 --speed 2 worked

gifify -o cleanup-formula2.gif --from 00:00:40 --to 00:00:52 cleanup-cmd.mov --resize 950:-1 --speed 2 went to the end of the video.

gifify -o cleanup-formula2a.gif --from 00:00:40 --to 00:00:12 cleanup-cmd.mov --resize 950:-1 --speed 2 cropped selection as intended. So thank you for mentioning the "duration" detail...that seemed to help in my situation.

oeon avatar Jan 03 '17 20:01 oeon

I'm having an issue with --from and --to as well. Seems to ignore --from completely.

I have tried the following with no success with any.

gifify scorpion_mouse.mp4 --from: "00:00:40" --to "00:00:05" --fps 29.97 --compression 20 -o scorpion_mouse.gif
gifify scorpion_mouse.mp4 --from: "00:00:30" --to "00:00:05" --compression 20 -o scorpion_mouse.gif
gifify scorpion_mouse.mp4 --from: 00:00:30 --to 00:00:45 --compression 60 -o scorpion_mouse.gif

No matter what I try, --from does not set the start point.

polyrhythmatic avatar Apr 04 '17 16:04 polyrhythmatic