Newbie getting an exception straight away
Posted: 2009-03-06T06:13:40-07:00
I'm using (or trying t use) RMagick for the first time.
I need to play back video files - (there's a vast library of .avi files) and I get the following:
vid = ImageList.new("video_data/... long_file_name... .avi")
Magick::ImageMagickError Exception: Not enough pixel data `video_data/... long_file_name... .avi'.
The files all play happily enough through a browser when called directly but I need to do it programmatically.
I've tried googling to no avail. Can anybody point me in the right direction?
thanks
Martin
I need to play back video files - (there's a vast library of .avi files) and I get the following:
vid = ImageList.new("video_data/... long_file_name... .avi")
Magick::ImageMagickError Exception: Not enough pixel data `video_data/... long_file_name... .avi'.
The files all play happily enough through a browser when called directly but I need to do it programmatically.
I've tried googling to no avail. Can anybody point me in the right direction?
thanks
Martin