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

No loop delay #28

Open
jakiestfu opened this issue Feb 6, 2016 · 7 comments
Open

No loop delay #28

jakiestfu opened this issue Feb 6, 2016 · 7 comments

Comments

@jakiestfu
Copy link

If I wanted to just have the images be run in sequence at say 25fps, how would I go about doing that? I cannot seem to disable the loop option, and setting it's value to something like 1/25 (or 0.04), the resulting video is borken.

@h2non
Copy link
Owner

h2non commented Feb 6, 2016

Try passing an integer.

@jakiestfu
Copy link
Author

That doesn't work, because I don't want there to be a delay between frames. If I pass 1 to loop, each image would remain for 1 second, which is not what I'm hoping to achieve.

@ghost
Copy link

ghost commented Apr 18, 2016

I also faced the same issue i think it works till 0.1 so i used that

@shikaan
Copy link

shikaan commented Jul 29, 2017

Actually it doesn't. The minimum working value for me is 1 second

@cantuket
Copy link

cantuket commented Jun 7, 2018

I'm confused as to why everything isn't just done in milliseconds?

@DenisKn
Copy link

DenisKn commented Mar 1, 2019

Any resolves? That work with loop=0.06 and greather. But I want set loop=0.035 :(

@kokiweb
Copy link

kokiweb commented Sep 12, 2019

I faced exact same problem, the loop option will work with 0.06, but not lower value.
My workaround is to increase everything else by a factor (in mine case by 2) and to speed up the whole file.

const execSync = require('child_process').execSync; execSync(`ffmpeg -i "${videoTempFilePath}" -filter:v "setpts=0.5*PTS" "${videoFilePath}"\`);

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

No branches or pull requests

6 participants