Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use end time (--to) #73

Open
dhruvkjaura opened this issue Nov 11, 2016 · 3 comments
Open

Unable to use end time (--to) #73

dhruvkjaura opened this issue Nov 11, 2016 · 3 comments

Comments

@dhruvkjaura
Copy link

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.

@vvo
Copy link
Owner

vvo commented Nov 12, 2016

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.

@oeon
Copy link

oeon commented Jan 3, 2017

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.

@polyrhythmatic
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants