New Image Magick user - Help creating mpg
Posted: 2008-02-23T15:14:34-07:00
I woukd like to create an mpg with 5 jpeg images from one directory and tried this
#!c:\perl\bin\perl.exe -w
print "Content-type: text/html\n\n";
# generate the animation
my $mpegname = "movie.mpg";
print `convert -delay 1 *.jpg $mpegname`;
print "finished";
exit;
But i get an error message in bowser
N must be positive convert: Delegate failed `mpeg2enc.exe "%i" "%o"'. finished
Im runing windows xp with
ActivePerl-5.10.0.1002-MSWin32-x86-283697.msi
ImageMagick-6.3.8-9-Q16-windows-dll.exe
installed
All the other commands work fine, have tried most of the examples of your pages.
So i know that the code is wrong but have no idea where to start and could not find any examples with mpg only with gif animation. So if somoeone could show me an example.
Thanks in advance
#!c:\perl\bin\perl.exe -w
print "Content-type: text/html\n\n";
# generate the animation
my $mpegname = "movie.mpg";
print `convert -delay 1 *.jpg $mpegname`;
print "finished";
exit;
But i get an error message in bowser
N must be positive convert: Delegate failed `mpeg2enc.exe "%i" "%o"'. finished
Im runing windows xp with
ActivePerl-5.10.0.1002-MSWin32-x86-283697.msi
ImageMagick-6.3.8-9-Q16-windows-dll.exe
installed
All the other commands work fine, have tried most of the examples of your pages.
So i know that the code is wrong but have no idea where to start and could not find any examples with mpg only with gif animation. So if somoeone could show me an example.
Thanks in advance