fluent-ffmpeg / node-fluent-ffmpeg

A fluent API to FFMPEG (http://www.ffmpeg.org)
MIT License
7.96k stars 880 forks source link

image2video not working for me #319

Closed SebastianNette closed 10 years ago

SebastianNette commented 10 years ago

Hey guys,

I haven't found a solution to my issue yet. There is this exampls of creating a video from an image. https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/blob/master/examples/image2video.js

I tried it and the only thing I get is nothing.

It does create the video, it has a length of 0 or is close to be 0 seconds even tho the image is supposed to loop 5 seconds.

What could be the issue?

Also how would I turn a whole directory of images called frame0.png to frame1800.png into a video?

Cheers

SebastianNette commented 10 years ago

I have solved my issue by reinstalling ffmpeg using this script: https://gist.github.com/holms/7009218 Maybe you can add this to the wiki to help other people who are struggling with ffmpeg.