|
-
Jun 5th, 2008, 09:35 AM
#1
Thread Starter
Frenzied Member
How to insall ffmpeg in apache (creating video thamnail)
How to create .avi and mpeg video thumbnail?
Hi all. i got a huge list of video(.avi and mepeg) in my pc. I want to create a php script that displays all the video names along with its thamnail.(I already have video name and path in mysql db).
After searching google i came to this program called ffmpeg and i tried to install it but it never work.The page takes for ever to load and nothing happens. Could any one help me install it in Apache/1.3.33 (Win32) (wamp server). My main goal is to create thamnail for all these videos and store the location of those thambs in db too. I hope some one help me.Thanks
Installation method that doesn't work:
Download the latest version from:
http://ffdshow.faireal.net/mirror/ffmpeg/
Install:
unzip it to a folder on your computer. that´s all!
This is how I use ffmpeg and PHP
<?php
// movie.avi.... name of the movie you want to take a screenshot from
// 00:00:00.... Where in the movie do you wanna take your screenshot, 10 seconds from start? ex: 00:00:10
// picname..... name your generated pic
exec("START c:/ffmpeg/ffmpeg -vcodec png -i movie.avi -ss 00:00:00 -vframes frames picname%d.png");
?>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|