Aschwin Wesselius wrote:
Rene Veerman wrote:
Hi.
I want to enable video and flash for my CMS, but that requires that i
can
read at least the dimensions of a video file..
ImageMagick's "identify" command supposedly reads AVI and MPEG, but i
can't
get it to work on my avi's:
C:\Users\rene\Documents\Downloads>identify
Stargate.Atlantis.S05E02.HDTV.XviD-0TV.avi
identify: Not enough pixel data
`Stargate.Atlantis.S05E02.HDTV.XviD-0TV.avi'.
So if ImageMagick isn't the tool to use for video files, i wonder if
there
is any other tool that i can use to determine the size of video files.
I'd like to be able to read as many of the major video formats (AVI,
XVID,
DIVX, QT, etc) as possible.
Hi,
Maybe this is something for you:
http://getid3.sourceforge.net
I've used an older version a while ago, but it did some video
recognition too as far as I know.
It's PHP, so you can look at the source too.
Hi,
I took a second look at the project demo and it provides the resolution
of the video frame.... So, I think it helps.
--
Aschwin Wesselius
/'What you would like to be done to you, do that to the other....'/