Encode video with Srt support

Encoding video and Subtitles together using Php5 and mencoder, ffmpeg

Usage

usage : copy code above into encoder.php place this file into your web server root directory, install all the requried tools needed to use ffmpeg-php now place some video.avi and video.srt or video.sub etc video.idx subtitle ,to encode video with srt visit your script http://yourip/encoder.php it should grab thumbnail then start the encoding job, refresh page and thats it



this encoding script has been tested on a bare bone VPS ubuntu 8.04 server with the following tools installed

Apache2
PHP5
Php-cli
ffmpeg-php
ffmpeg
mencoder

optional : mplayer - could be used instead of ffmpeg to grab thumbnails

thanks for neo from expcore for helping me complete code

trackback url : http://www.expertcore.org/viewtopic.php?f=67

 

Comments