Hi all!!
I have an external thumbnail.php class which successfully grabs a screenshot of an FLV using FFmpeg. It's a long winded process, and i'm not really allowed to show all my code as it's part of our content management system.
Basically I have a flashvar for the image, which looks like this
&image=thumbnail.php?&filename=video.flv
The thumbnail.php returns an image using:
readfile($this->FileName);
Unfortunately, the FLV player doesn't seem to pick the resulting image up and display it. If I set an img tag calling thumbnail.php as the src like below, it displays the thumbnail just fine. Is it IS actually working and pulling the thumbnail, but the FLV player doesnt seems like it is recognizing it
<img src="thumbnail.php?&filename=video.flv" />
Any help would be appreciated.
try <img src="thumbnail.php?&filename=video.flv&x=x.jpg" />