Extracting frames from movie gives different sized images
Posted: 2010-06-29T15:47:38-07:00
Hello,
I am trying to use convert to extract frames from a .mwv file with a nominal size of 640x480 pixels. I have ImageMagick 6.5.8-8 2009-12-18 on Windows XP. I'm using convert with the following command:
> convert -deconstruct video_file.wmv image_file_%03d.jpg
which works great, except that some of the images are different sizes - some are 592x480, some 608x464, etc. I even tried using -resize 640x480 (which technically isn't correct, because the undersized images are more clipped than scaled), but the result is the same.
Does anyone have an idea about how to enforce the 640x480 size for every image? Any help would be greatly appreciated.
Thanks,
Dan
I am trying to use convert to extract frames from a .mwv file with a nominal size of 640x480 pixels. I have ImageMagick 6.5.8-8 2009-12-18 on Windows XP. I'm using convert with the following command:
> convert -deconstruct video_file.wmv image_file_%03d.jpg
which works great, except that some of the images are different sizes - some are 592x480, some 608x464, etc. I even tried using -resize 640x480 (which technically isn't correct, because the undersized images are more clipped than scaled), but the result is the same.
Does anyone have an idea about how to enforce the 640x480 size for every image? Any help would be greatly appreciated.
Thanks,
Dan