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 decode delegate for this image format #10

Closed
pixelastic opened this issue Dec 17, 2014 · 8 comments
Closed

no decode delegate for this image format #10

pixelastic opened this issue Dec 17, 2014 · 8 comments

Comments

@pixelastic
Copy link

Hello,

I just tried to use gifify to extract a gif from a mp4 video I downloaded from YouTube, and got the following error:

$ gifify input.mp4 -o output.gif --from 257 --to 279 --resize 250:-1
convert.im6: no decode delegate for this image format `/tmp/magick-Ij8cWq6S' @ error/constitute.c/ReadImage/544.
convert.im6: no images defined `gif:-' @ error/convert.c/ConvertImageCommand/3044.

I'm on Ubuntu, with the following dependency versions:

$ fffmpeg -version
ffmpeg version 0.10.12-7:0.10.12-1~saucy1
built on Apr 26 2014 09:54:16 with gcc 4.8.1
configuration: --arch=amd64 --disable-stripping --enable-pthreads --enable-runtime-cpudetect --extra-version='7:0.10.12-1~saucy1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
libavutil      51. 35.100 / 51. 35.100
libavcodec     53. 61.100 / 53. 61.100
libavformat    53. 32.100 / 53. 32.100
libavdevice    53.  4.100 / 53.  4.100
libavfilter     2. 61.100 /  2. 61.100
libswscale      2.  1.100 /  2.  1.100
libswresample   0.  6.100 /  0.  6.100
libpostproc    52.  0.100 / 52.  0.100
$ convert --version
Version: ImageMagick 6.7.7-10 2014-03-06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP    
$ gifsicle --version
LCDF Gifsicle 1.82
Copyright (C) 1997-2014 Eddie Kohler
This is free software; see the source for copying conditions.
There is NO warranty, not even for merchantability or fitness for a
particular purpose.

Note that I've installed gifsicle from the giflossy repository. I'm not sure where the issue lies.

@vvo
Copy link
Owner

vvo commented Dec 18, 2014

can u link the mp4?

@vvo
Copy link
Owner

vvo commented Dec 18, 2014

try to pass it to mp4box before. see what it does. then I ll try to get a more precise error message

@pixelastic
Copy link
Author

The video is available to download [here](http://tmp.pixelastic.com/Joachim de Posada - Ne mangez pas le marshmallow-553.mp4). It was originally downloaded with youtube-dl.

Edit: I just installed MP4Box, but I'm not sure exactly what command you would like me to run on my file.

$ MP4Box -version
MP4Box - GPAC version 0.5.1-DEV-rev5563M
GPAC Copyright (c) Telecom ParisTech 2000-2012
GPAC Configuration: --host=x86_64-linux-gnu --prefix=/usr --build=x86_64-linux-gnu --mandir=${prefix}/share/man --extra-cflags=-Wall -g -fPIC -DPIC --cc=ccache cc CXX=ccache g++
Features: GPAC_64_BITS GPAC_HAS_SSL GPAC_HAS_SPIDERMONKEY GPAC_HAS_JPEG GPAC_HAS_PNG 

@vvo
Copy link
Owner

vvo commented Dec 18, 2014

output

> ffmpeg -version
ffmpeg version 2.5 Copyright (c) 2000-2014 the FFmpeg developers

> convert -version
Version: ImageMagick 6.9.0-0 Q16 x86_64 2014-11-17 http://www.imagemagick.org

> gifsicle --version        
LCDF Gifsicle 1.82

I think your ffmpeg version is way too old.

@pixelastic
Copy link
Author

Which version is the minimum?

On Thu, Dec 18, 2014 at 12:26 PM, Vincent Voyer notifications@github.com
wrote:

output

> ffmpeg -version
ffmpeg version 2.5 Copyright (c) 2000-2014 the FFmpeg developers
> convert -version
Version: ImageMagick 6.9.0-0 Q16 x86_64 2014-11-17 http://www.imagemagick.org
> gifsicle --version        
LCDF Gifsicle 1.82

I think your ffmpeg version is way too old.

Reply to this email directly or view it on GitHub:
#10 (comment)

@vvo
Copy link
Owner

vvo commented Dec 18, 2014

I really dont know, latest stable should be ok

@pixelastic
Copy link
Author

Thanks, I reinstalled ffmpeg from source and it's now working well.

@vvo
Copy link
Owner

vvo commented Dec 19, 2014

Nice!

@vvo vvo closed this as completed Dec 19, 2014
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

2 participants