Question Video to image
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Question Video to image
trywinracer wrote:Does anyone have a thought about this?
thanks!
convert -list format
and see if your avi is read enabled
AVI* AVI r-- Microsoft Audio/Visual Interleaved
Re: Question Video to image
fmw42 wrote:trywinracer wrote:Does anyone have a thought about this?
thanks!
convert -list format
and see if your avi is read enabled
AVI* AVI r-- Microsoft Audio/Visual Interleaved
thanks
i get this below on the
convert -list format
[6] => AVI* AVI r-- Microsoft Audio/Visual Interleaved
anythoughts?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Question Video to image
try running it outside PHP and see what happens, i.e. command line.
if that fails, then post a link to your avi file. perhaps it is corrupt? otherwise, some one may be able to try it and see what might be at issue.
if that fails, then post a link to your avi file. perhaps it is corrupt? otherwise, some one may be able to try it and see what might be at issue.
Re: Question Video to image
fmw42 wrote:try running it outside PHP and see what happens, i.e. command line.
if that fails, then post a link to your avi file. perhaps it is corrupt? otherwise, some one may be able to try it and see what might be at issue.
thanks I can not run command line stuff. but the link is here
http://www.myfunnypets.com/30/1/cat.avi
to the cat.avi.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Question Video to image
your video displays fine in Quicktime, but
convert -delay 10 cat.avi -loop 0 cat.gif
convert: no decode delegate for this image format `cat.avi' @ error/constitute.c/ReadImage/532.
convert: missing an image filename `cat.gif' @ error/convert.c/ConvertImageCommand/2922.
This tells me I don't have some needed windows delegate library to decode .avi files. I am not sure what I need for that, possibly wmf, which I did not include in my install.
my compile was set to use
--without-wmf
disable WMF support.
Perhaps a windows user can help test your file.
convert -delay 10 cat.avi -loop 0 cat.gif
convert: no decode delegate for this image format `cat.avi' @ error/constitute.c/ReadImage/532.
convert: missing an image filename `cat.gif' @ error/convert.c/ConvertImageCommand/2922.
This tells me I don't have some needed windows delegate library to decode .avi files. I am not sure what I need for that, possibly wmf, which I did not include in my install.
my compile was set to use
--without-wmf
disable WMF support.
Perhaps a windows user can help test your file.
Re: Question Video to image
fmw42 wrote:your video displays fine in Quicktime, but
convert -delay 10 cat.avi -loop 0 cat.gif
convert: no decode delegate for this image format `cat.avi' @ error/constitute.c/ReadImage/532.
convert: missing an image filename `cat.gif' @ error/convert.c/ConvertImageCommand/2922.
This tells me I don't have some needed windows delegate library to decode .avi files. I am not sure what I need for that, possibly wmf, which I did not include in my install.
my compile was set to use
--without-wmf
disable WMF support.
Perhaps a windows user can help test your file.
thanks fmw42 for the try, could be a good thought, I am running a linux server and not a windows. would this be the problem?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Question Video to image
what is your ./configuration (how did you install === from binary or source). In either case you may need to 1) upgrade (what version are you on) or 2) enable wmf or some other delegate for avi files. The fact that you get not enough data, seems to me to be some error in your compile as the rest of us get no decode delegate for avi. Try upgrading IM if you are not using something close to the current IM at 6.5.9.1
Re: Question Video to image
fmw42fmw42 wrote:what is your ./configuration (how did you install === from binary or source). In either case you may need to 1) upgrade (what version are you on) or 2) enable wmf or some other delegate for avi files. The fact that you get not enough data, seems to me to be some error in your compile as the rest of us get no decode delegate for avi. Try upgrading IM if you are not using something close to the current IM at 6.5.9.1
i did not install it is pervided by my hosting company and I am version Version:
ImageMagick 6.3.9 12/10/08 Q16 http://www.imagemagick.org
I can run other converts and works fine link this one, work fine for me.
<?php
// Setup the vaiables http://www.rubblewebs.co.uk/imagemagick ... _f_66.html
$sourceFile = "-1332.jpg";
$width = "100";
$height = "100";
$destinationFile = "output.png";
// Displays the output size of the new image
$command="convert $sourceFile -resize {$width}x{$height} \( +write $destinationFile \) -format \"%wx%h\" info: ";
$output = exec("$command");
print("<b>New image size:</b>".$output."<br>");
?>
should I see if hosting company will upgrade to newer version?
thanks!
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Question Video to image
try
convert -list configure
and send that back. It should tell what you might have installed via your configuration file.
convert -list configure
and send that back. It should tell what you might have installed via your configuration file.
Re: Question Video to image
Thanks!fmw42 wrote:try
convert -list configure
and send that back. It should tell what you might have installed via your configuration file.
here is my configure files
Array
(
[0] =>
[1] => Path: /usr/lib/ImageMagick-6.3.9/config/configure.xml
[2] =>
[3] => Name Value
[4] => -------------------------------------------------------------------------------
[5] => CC gcc
[6] => CFLAGS -g -O2 -Wall -W -pthread
[7] => CONFIGURE ./configure --prefix=/usr
[8] => COPYRIGHT Copyright (C) 1999-2008 ImageMagick Studio LLC
[9] => CPPFLAGS -I/usr/include/ImageMagick
[10] => CXX g++
[11] => CXXFLAGS -g -O2 -Wall -W -pthread
[12] => DEFS -DHAVE_CONFIG_H
[13] => DELEGATES fontconfig freetype jpeg png tiff x11 xml zlib
[14] => DISTCHECK_CONFIG_FLAGS --disable-deprecate --with-quantum-depth=16 --with-djvu=no --with-umem=no --with-fontpath= --with-lqr=no
[15] => EXEC-PREFIX /usr
[16] => HOST i686-pc-linux-gnu
[17] => LDFLAGS -L/usr/lib -lfreetype
[18] => LIB_VERSION 0x639
[19] => LIB_VERSION_NUMBER 6,3,9,10
[20] => LIBS -lMagickCore -ltiff -lfreetype -ljpeg -lfontconfig -lX11 -lz -lm -lpthread
[21] => NAME ImageMagick
[22] => PCFLAGS
[23] => PREFIX /usr
[24] => QuantumDepth 16
[25] => RELEASE_DATE 12/10/08
[26] => VERSION 6.3.9
[27] => WEBSITE http://www.imagemagick.org
)
1
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Question Video to image
unfortunately it does not say anything about avi or wmf which may or may not be significant.
Best I can suggest is upgrade to a more current version of IM. you are at 6.3.9 and IM is at 6.5.9.1 (so you are about 200 versions behind).
Best I can suggest is upgrade to a more current version of IM. you are at 6.3.9 and IM is at 6.5.9.1 (so you are about 200 versions behind).
Re: Question Video to image
fmw42 wrote:unfortunately it does not say anything about avi or wmf which may or may not be significant.
Best I can suggest is upgrade to a more current version of IM. you are at 6.3.9 and IM is at 6.5.9.1 (so you are about 200 versions behind).
thanks I will see if my hosting company will upgrade it. thanks for your help. I will let you know
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Question Video to image
perhaps one of the windows users on the forum can test this. maybe their compilation includes avi or wmf
Re: Question Video to image
I hope one of them can.fmw42 wrote:perhaps one of the windows users on the forum can test this. maybe their compilation includes avi or wmf