Unable to create mpg files

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
JohnF

Unable to create mpg files

Post by JohnF »

(Using 16-bit ImageMagick 6.5.5-7 DLLs on a Windows platform)

I am unable to create an MPEG animation sequence from my PNG images using either convert
(command line "convert Animate.*.png Animate.mpg") or through the MagickWand interface
(calling MagickWriteImage(mw, "Animate.mpg") after adding all the images to the wand mw).

In each case I get error messages such as this on the console output:

FFmpeg version SVN-r19313, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --enable-memalign-hack --prefix=/mingw --cross-prefix=i686-mingw32- --cc=ccache-i686-mingw32-gcc --target-os=mingw32 --arch=i686 --cpu=i686 --enable-avisynth --enable-gpl --enable-zlib --enable-bzlib --enable-libgsm --enable-libfaad --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libmp3lame --enable-libopenjpeg --enable-libxvid --enable-libschroedinger --enable-libx264
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.32. 0 / 52.32. 0
libavformat 52.36. 0 / 52.36. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 1 / 0. 7. 1
built on Jul 1 2009 04:01:50, gcc: 4.2.4
[image2 @ 0x3ed900]Could not open file : C:/DOCUME~1/johnf/LOCALS~1/Temp/magick-SmfdprDx1.jpg
Output #0, mpeg, to 'C:/DOCUME~1/johnf/LOCALS~1/Temp/magick-rkjTfGc4.mpg':
Stream #0.0: Video: mpeg1video, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 25 tbc
[image2 @ 0x3ed900]Could not open file : C:/DOCUME~1/johnf/LOCALS~1/Temp/magick-SmfdprDx1.jpg
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Unable to create mpg files

Post by fmw42 »

not an expert on this, but do you have the ffmpeg delegate installed.

type

convert -list configure

and look at the line starting with DELEGATES and see if it is included.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Unable to create mpg files

Post by magick »

Fred, as a convenience we include ffmpeg with the ImageMagick Windows distribution. We will take a look at this problem as soon as we get an opportunity and report our findings.
owoyalefemi

Re: Unable to create mpg files

Post by owoyalefemi »

magick wrote:Fred, as a convenience we include ffmpeg with the ImageMagick Windows distribution. We will take a look at this problem as soon as we get an opportunity and report our findings.
Hello,
Please, I am having the same problem as in above.
I am not able to convert my png files into mpeg movie
I have checked the delegates on my system but I don't have the ffmpeg delegate.What do I do from here please?
Please,let me add that I want to use it within my c++ code that I have written to capture and save those png images.
Post Reply