Skip to content

PHP FFmpeg is a php/ajax/ffmpeg test case, demonstrating how to create a php script that works with FFmpeg and has a status update.

Notifications You must be signed in to change notification settings

amereservant/phpffmpeg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP FFMPEG Example

PHP FFMPEG Example is a PHP test-case written for a tutorial at MyOwnHomeServer.com.

It serves as an example of how to create your own PHP script with status/progress update polling via AJAX and executing FFMPEG on the server to convert your video.

How It Works

This was written to be ran on a Windows Apache/PHP server, such as XAMPP.

You'll first need to make some minor changes in config.php, mainly setting the FFMPEG_PATH constant to the correct location for your Windows computer.

Add a video file to your source folder, then you should be able to visit index.php from your web browser and run the conversion test.

A sample video can be downloaded from http://wp.me/a1Xgia-3W if you don't have one to test with.

Additional information and details can be found at MyOwnHomeServer.com.

Please post any questions there and if you have any script issues that aren't configuration-related, please post them in the Issues section on GitHub. Thanks!

About

PHP FFmpeg is a php/ajax/ffmpeg test case, demonstrating how to create a php script that works with FFmpeg and has a status update.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published