in reply to Video Thumbnail Script

Hello MonkE, I wanted to get a thumbnail of a video file (.avi or .wmv) and also get the length (play time) of the video. I came across your script here but not quite know how to use it. I'm familiar with php but new to cgi, I try execute your cgi but couldn't get it to work. Can you tell me the steps in using your Video thrmbnail Script? Thanks in advance, -d

Replies are listed 'Best First'.
Re^2: Video Thumbnail Script
by MonkE (Hermit) on Apr 04, 2007 at 23:54 UTC

    First thing: I don't recommend you use it on an internet-facing web server. I just threw it together for my own mollification. It is not hardened for internet use. Let's face it, it's accepting local pathnames as parameters. It's not internet-safe.

    CGI scripts frequently go in the cgi-bin directory of your web server or wherever it's configured to look for CGI scripts. Also, this particular script assumes that you are on a Unix-based system (the mplayer command invocations are Unix-specific).