Requirements for a Video Website
Posted by Sajith M.R in webworld on 23. Jun, 2008 | 10 Comments
If you are planing to start a video website like youtube, here is some things to keep in mind.
FLV PLAYER
========
You know in now a days most of the video streaming websites use flash player for video streaming. The video file is in flv format. So you need a flash video player for this purpose.
You [...]
ffmpeg sample code
Posted by Sajith M.R in Downloads, php source code on 12. Jun, 2007 | 77 Comments
Install ffmpeg library in your server first.
Place a video file of any type on current directory (or anywhere), here it is clock.avi .
Click more for source code:
extension_loaded(’ffmpeg’) or die(’Error in loading ffmpeg’);
$ffmpegInstance = new ffmpeg_movie(’clock.avi’);
echo “getDuration: ” . $ffmpegInstance->getDuration() .
“getFrameCount: ” . $ffmpegInstance->getFrameCount() .
“getFrameRate: ” . $ffmpegInstance->getFrameRate() .
“getFilename: ” . $ffmpegInstance->getFilename() .
“getComment: ” . $ffmpegInstance->getComment() [...]



