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

convert: no images defined `gif:-' @ error/convert.c/ConvertImageCommand/3257 #50

Open
kilianc opened this issue May 17, 2016 · 3 comments

Comments

@kilianc
Copy link

kilianc commented May 17, 2016

const get = require('request').get
const readStream = get(someURL)
const gif = require('fs').createWriteStream(`${this.params.id}.gif`)
gifify(readStream, {}).pipe(gif)

yields

Error: Uncaught, unspecified "error" event. (convert: no decode delegate for this image format `' @ error/constitute.c/ReadImage/501.
convert: no images defined `gif:-' @ error/convert.c/ConvertImageCommand/3257.
)
    at Socket.emit (events.js:157:17)
    at Socket.gotSomeErrors (/.../node_modules/gifify/index.js:53:23)
    at emitOne (events.js:90:13)
    at Socket.emit (events.js:182:7)
    at readableAddChunk (_stream_readable.js:153:18)
    at Socket.Readable.push (_stream_readable.js:111:10)
    at Pipe.onread (net.js:534:20)
@vvo
Copy link
Owner

vvo commented May 25, 2016

I have no idea, it might be because the video you are using is not https://gpac.wp.mines-telecom.fr/mp4box/ but I am really not sure, create a reproduction repo

@vvo
Copy link
Owner

vvo commented May 25, 2016

@jblamber
Copy link

In my case, this was because I was trying to convert a portion of a video that didnt exist - say seconds 30-34 of a 7 second mp4.

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

3 participants