stage6 thumbnails
im not sure if this is the write form for this so please corect me if im wrong
im just wondering how stage6 used to create the video thumbnails
were they generated threw the video upload program or was there something backend
and could someone tell me how i could acomplish this
php scripts or a manual of some sorts
then im also wondering how to display the thumbnails before playing the video like stage6 had
thanks in advance for your help
and hope to hear back soon
taftse
thanks for your respons
i will take a look at it over the weekend


Hey~
I've been looking into this too and I've been using php-ffmpeg to make thumbnails. You can see what I was doing here although I don't know how long it'll be up. Here are the files so you can try them on your own server. I'm a php newbie so I there might be a better way to do those things but it'll get you started, oh yeah and I hate tabbing so the code might look funky.
Take a look at the DivX Web Player SDK to learn how to do preview images, I think the thumbnails might be too low resolution to be one.
I'll post the really basic way of getting a thumbnail with ffmpeg:
<?php
//input video, in this case it is in the same directory as this script
$video = dirname(__FILE__) . '/movie.avi';
//output image, in this case it is in the same directory as this script
$image = dirname(__FILE__) . '/movie.jpg';
//time of the movie you want to take the thumbnail at, the more into the movie it is the longer it takes to snapshot
//if you want it to take it in the middle of the movie you would replace "$second = 5;" with these 2 lines:
//$movie = new ffmpeg_movie($video);
//$second = $movie->getDuration()/2;
$second = 5;
//make thumbnail, 214x120 is the size that stage 6 used
$cmd = "ffmpeg -i $video -deinterlace -y -ss $second -t 0.01 -s 214x120 -f mjpeg $image";
$return = `$cmd`;
?>