Re: getting info from video formats
| From: | mike | Date: | Mon, 28 Jul 2008 17:12:10 +0000 |
| Subject: | Re: getting info from video formats | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-277399@lists.php.net to get a copy of this message | ||
On 7/28/08, Rene Veerman <rene7705@gmail.com> wrote:
> ImageMagick's "identify" command supposedly reads AVI and MPEG, but i can't
> get it to work on my avi's:
i wouldn't rely on it; i'd rely on it for "Image"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'.
you naughty pirater :P
> 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.
ffmpeg is probably the best bet. i believe it has an option to get
video info and not try to process it.
also look at the mencoder/mplayer suite of tools.
maybe even transcode.