FW: FW: [PHP] getting info from video formats

2008-07-28 Thread Chris Scott
> -Original Message- > From: mike [mailto:[EMAIL PROTECTED] > Sent: Monday, July 28, 2008 2:17 PM > To: Chris Scott > Cc: php-general@lists.php.net > Subject: Re: FW: [PHP] getting info from video formats > > On 7/28/08, Chris Scott <[EMAIL PROTECTED]> wro

Re: FW: [PHP] getting info from video formats

2008-07-28 Thread mike
On 7/28/08, Chris Scott <[EMAIL PROTECTED]> wrote: > I agree. > > I use MPlayer to process videos. One script gets the video length like this. > > //use mplayer to pull some info from the video > $info = exec("\"$mplayer\" $videoPath/$videoName -identify -nosound -frames 0 > > $tmpInfoFile"); > //

FW: [PHP] getting info from video formats

2008-07-28 Thread Chris Scott
I agree. I use MPlayer to process videos. One script gets the video length like this. //use mplayer to pull some info from the video $info = exec("\"$mplayer\" $videoPath/$videoName -identify -nosound -frames 0 > $tmpInfoFile"); //and open the file it stores the data in $infoFile = fopen("$tmpIn