![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum (1) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2017-11-17 (1 month ago) ![]() | Not yet rated by the users | Total: 125 This week: 5 | All time: 8,665 This week: 111![]() |
Version | License | PHP version | Categories | |||
ffmpeg-maker 1.0.0 | GNU General Publi... | 5 | PHP 5, Graphics, Audio, Video |
Description | Author | |||
This package can be used to build movies with images and audio using ffmpeg. Innovation Award
|
PHP library allow create simple movie with ffmpeg
> TODO
Initialize object Movie
$mv = new Movie([
'width' => 640,
'height' => 480,
'outputFile' => 'movie.mp4',
'outputDirectory' => './out',
]);
Add frame
$mv->addFrame(new ImageFrame([
'filePath' => 'image1.jpg',
'duration' => 6,
'effects' => [
FadeEffect::makeIn(1, 0),
FadeEffect::makeOut(1, 4)
],
'text' => new Text([
'value' => "Hello world!\nSome text.",
'posX' => '10',
'posY' => '20',
'color' => '#ffff00',
'box' => true,
'wrap' => false,
])
]));
Add audio track
$mv->addAudio(new Audio([
'filePath' => 'audio.mp3',
]));
Build movie
$mm = new MovieMaker($mv);
$mm->build();
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Doc. | Documentation |
![]() |
/ | src | / | Models |
File | Role | Description |
---|---|---|
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.