Commit graph

203 commits

Author SHA1 Message Date
Mohamed Radhi Guennichi
af00b9d6a3 fix sources parameter type (array) in concat function (#363) 2017-06-28 00:18:05 +02:00
Jens Hausdorf
cb7d850338 Audio Params (#344)
* 🚀 video profile and level
* add missing getter
* add missing use statement
* add missing return $this
* 1 test fixed
* fix other tests and clean up
We MUST rewrite them. They are too complex when it comes to new features
* trim trailing whitespaces
* fix typo
* 🚀 support for additional params in audio
2017-06-27 23:44:26 +02:00
Kyle Tse
4cfcabd7b5 Support resize and watermark in ordering. (#343)
* Support multiple -vf commands

Marge Filters into one command

* Ordering Scale

Using -vf to scale instead of -s to have ordering

* Correct the ResizeFilterTest

* Remove useless comments

* Fixed filter bug

Add checking on filters if only one process.

* Fixed typo error
2017-06-27 23:18:22 +02:00
Sébastien Nikolaou
e8b247891b Fix missing audio artwork metadata on multiple exports (#340)
When the metadata filter is applied on an `Audio` media, the `artwork`
parameter was being unset from the metadata array.

Saving the same `Audio` instance into multiple formats generated the
correct commands for the first export, but the subsequent commands were
missing the `artwork` parameter.

This commit fixes this issue by copying (by value) the `metaArr`
property to a local variable each time the filter is applied.
2017-04-12 14:40:31 -03:00
Romain Biard
eebdbea1f7 The variable MUST be an integer. Test it and convert it if needed. (#350) 2017-04-12 14:20:33 -03:00
Romain Biard
edf87d9cb1 Set a default duration to 0 to fix issue 333 (#334) 2017-04-12 13:15:13 -03:00
Jens Hausdorf
ecd50cd5f1 Audio Clip (#314)
* add missing headers
* add audio clip filter and improve timecode
* php 5.4 :(
* prevent audio from being reencoded
* php 5.x: Really?
* fix tests... I need to concentrate...
2017-03-06 10:17:12 -03:00
Romain Biard
a76f6528ff Concat (#309)
* Fixed the way to throw an exception when we open the file in the Concat media.
2017-02-22 18:15:15 -03:00
GuillaumeVerdon
fe47ab74ef Added a getAsBase64() method to Frame object (#292)
* Added a getAsBase64() method to Frame object
* Merged the getBase64 method in save method
* Differentiate the two possible return
* Corrected typo (Edited from github)
2017-02-14 14:21:07 -03:00
Romain Biard
21c28dea25 Concatenation feature (#287)
* Creation of a feature to concatenate files into a new one.

* Update of the README
* Creation of the tests for the concatenation
* We use an array of videos instead of a path to a text files
* We use the bundle Temporary File System instead of getcwd
2017-02-14 13:55:07 -03:00
Romain Biard
a6f6bbcb1e Improvements (#286)
* Adding a missing use statement in src/FFMpeg/Filters/Video/ExtractMultipleFramesFilter.php
* We remove a user specific folder from the gitignore
* We remove an unused use statement from src/FFMpeg/Filters/Video/ExtractMultipleFramesFilter.php
* We remove an unused use statement from src/FFMpeg/Filters/Video/PadFilter.php
* We remove an unused use statement from src/FFMpeg/Media/Waveform.php
* We remove an unused variable from src/FFMpeg/Filters/Waveform/WaveformDownmixFilter.php
* We fix the name of a variable in src/FFMpeg/Filters/Audio/AddMetadataFilter.php
2017-01-24 15:45:56 -03:00
Romain Biard
6ba011de3a Methods getAdditionalParams & setAdditionalParams which allow the user to pass additional parameters to the encoding request (#284)
* Modification of the format Video to add additional parameters based on user's desire
* Update of the README
* Working version of this feature. Still needs tests
* Fixing the tests of FFMPeg\Media\Video
* Setting up tests for the additionalParams feature
* Correction des tests
* Modifying tests. They work locally but not on Travis.
* Still trying to understand why Travis is throwing errors when PHPUnit is not.
* Add the additional params at the end of the command
* Fixed the tests and the way we add the parameters
* We remove log files
2017-01-24 15:19:32 -03:00
Romain Biard
2b5d18f510 Creation of a Gif Media to be able to extract gif animation based on video sequences (#285)
* Creation of a media to extract video sequences into gif files
* We add a gif method to the class Video to be able to use the Gif Media.
* Parameters where missing in the declaration of the gif function
* One parameter was badly defined in the gif method
* We use the proper media in the method gif
* We add a missing declaration in the Video class
* Update of the README file
* Modification of the README file
* We remove an empty class
2017-01-24 15:03:51 -03:00
Romain Biard
7adc8c73c0 Merge branch 'master' into multipleframes 2017-01-13 12:28:36 -03:00
Romain Biard
31629f7162 Merge branch 'master' into addAudioMetadata 2017-01-13 12:12:26 -03:00
Romain Biard
4c0777b7c4 Merge branch 'master' into padding 2017-01-13 11:53:59 -03:00
Romain Biard
580765386a We change the way we deal with the number of digits in the filename 2017-01-11 11:49:34 -03:00
Romain Biard
4d76b26d1d We improve the way we pass the number of digits in the filename 2017-01-11 11:17:47 -03:00
Romain Biard
5ff0b24230 Here is the stable version of the filter, all bugs fixed. 2017-01-11 11:15:22 -03:00
Romain Biard
ca8eea7ec6 We fix the usage of 2017-01-11 10:59:22 -03:00
Romain Biard
8bdc839e91 We remove a useless variable. 2017-01-11 10:55:49 -03:00
Romain Biard
c7df2b17e6 Fixing the way we apply for the filter. 2017-01-11 10:49:37 -03:00
Romain Biard
223118db4e We remove a break instruction inacurrately copied-pasted. 2017-01-11 10:43:30 -03:00
Romain Biard
2f47c45093 Fixing the names of the constants 2017-01-11 10:41:01 -03:00
Romain Biard
8ac67679ab Fixing a bug when throwing an exception 2017-01-11 10:35:29 -03:00
Romain Biard
cbb4c35ef0 We remove a bracket which has nothing to do there. 2017-01-11 10:31:18 -03:00
Romain Biard
6aeec7d337 We make sure that the destination folder has a trailing slash 2017-01-11 10:21:14 -03:00
Romain Biard
3aa13c09d3 This filter is a video filter, not a frame filter 2017-01-11 10:17:21 -03:00
Romain Biard
b3155f9622 Creation of the method to add the filter 2017-01-11 10:06:17 -03:00
Romain Biard
d83c7e271f Creation of a filter to extract multiple frames from a video 2017-01-11 10:01:09 -03:00
shadrech
35474279e1 Added set priority to AddMetadataFilter class 2017-01-09 17:34:43 +00:00
shadrech
8cfb17682f Add metadata to audio files - feature 2017-01-09 13:41:32 +00:00
Romain Biard
71bfcbcc11 We change the description of the method 2016-12-28 16:47:22 -03:00
Romain Biard
af38e5b0ac Creation of a method to apply custom filters 2016-12-28 16:42:03 -03:00
Romain Biard
7c4eed68f9 We change the way we execute this filter. 2016-12-20 18:47:40 -03:00
Romain Biard
345656b1dc Creation of a pad filters which adds padding (black bars) to a video 2016-12-20 18:25:45 -03:00
Romain Neutron
8908cd19bc Merge pull request #257 from ScoringLine/feature/aac-codec-support
Add support for aac codec of ffmpeg3
2016-12-15 15:46:14 +01:00
Maxime Veber
8f3b65dec6 Add support for aac codec of ffmpeg3 2016-12-05 18:12:12 +01:00
Romain Biard
5ef964f2b5 Fixed bugs in the tests 2016-11-16 14:46:11 -03:00
Romain Biard
e1625f1f94 Modification of the filters 2016-11-16 14:11:11 -03:00
Romain Biard
a331632725 Fixed an error in a variable and method of the waveform Class 2016-11-16 13:20:48 -03:00
Romain Biard
a32fa06ac4 Fixed an error in a variable and method of the waveform Class 2016-11-16 13:19:05 -03:00
Romain Biard
dab2ae5a8c Improvements in the way we deal with filters for the waveform 2016-11-16 13:15:27 -03:00
Romain Biard
7ce571119a The waveform filter can only be applied to audio files 2016-11-16 12:55:48 -03:00
Romain Biard
4c0b6f3595 Fixed a bug in the way the input file is passed to the waveform request 2016-11-16 12:49:33 -03:00
Romain Biard
18845d406e We add a missing parameter to the ffmpeg command 2016-11-16 12:43:40 -03:00
Romain Biard
9f970c5d5a Creation of a waveform method in FFMpeg\Media\Video 2016-11-16 12:29:56 -03:00
Romain Biard
b7a8be46aa First implemtation of the waveform feature 2016-11-15 16:54:46 -03:00
Romain Biard
010b3b8a6d Creation of a setPasses method for the X264 format. 2016-11-10 12:19:17 -03:00
Ha Phan
bd61d8d35e Remove unused statement 2016-03-05 18:05:30 +01:00