开发者

uploadify video encode with ffmpeg and encoding progress

want to know how to encode uploaded video files through the uploadify I开发者_开发百科 do tried a lot. I call the uploaded file and use the encode script using ffmpeg in uploadify.php file in the uploadify but its not doing nothing. Also I need to show he progress of encoding in the front-end interface

The ffmpeg script is working correctly in ssh putty client. But nothing happens inside uploadify.

Please help me in this regard Thanks in advance


Once uploadify is done with the file, you will need to have the uploaded file be executed with some FFMPEG parameters. To return output from CLI:

    $file = file_get_contents("php://stdin", "r");
    echo $file;

Will return what the CLI command is doing, you would then simply scrape for data you would need to create a "progress" bar on a front end.

http://ffmpeg-php.sourceforge.net/ I would suggest using this.

http://www.ibm.com/developerworks/opensource/library/os-php-command/index.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜