Commit graph

22 commits

Author SHA1 Message Date
Alexander Schranz
bc50855aa9 Fix php 5.3 compatibility 2021-11-27 00:28:01 +01:00
Alexander Schranz
d7df3dae8d Fix php 5.3 compatibility 2021-11-27 00:17:12 +01:00
Ilya Chekalsky
afffd627ff
Add ability to disable -b:v (#767)
* adds ability to disable -b:v

* Fixed a bug in the way the paths to the test files were defined in the AudioConcatenationTest.php file

* Added a test to make sure that a negative kilobit rate returns an exception

* Added a test to check that the -b:v options are not set if the kilo bitrate is set to 0

* Disable 2pass when -b:v is disabled

Co-Authored-By: Philipp Doblhofer <6283313+philipp-doblhofer@users.noreply.github.com>

* Changed the way we call the class FFMpeg\Exception\InvalidArgumentException in tests

* Changed the way we call the class FFMpeg\Exception\InvalidArgumentException in tests

* Updated the README to include this new option

Co-authored-by: Romain Biard <romain.biard@gmail.com>
Co-authored-by: Philipp Doblhofer <6283313+philipp-doblhofer@users.noreply.github.com>
2021-03-04 19:17:34 +01:00
CaliforniaMountainSnake
0d3bed21a7 ComplexMedia has been renamed to the AdvancedMedia. 2020-03-23 17:47:36 +03:00
CaliforniaMountainSnake
580fb21d5a Merge remote-tracking branch 'upstream/master' 2020-02-26 09:43:23 +03:00
CaliforniaMountainSnake
f20ad8a82e Added the ComplexMedia type and the possibility to use -filter_complex and -map features. Added some built-in complex filters. Added the unit and functional tests of the new features. README.md has been updated. 2020-02-18 13:49:32 +03:00
Alexander Schranz
14dc6a8b1b Fix PhpUnit tests for newer php version 2020-02-13 00:39:31 +01:00
Alexander Schranz
537f61095f Fix mocking of objects for newer phpunit version 2020-02-13 00:23:11 +01:00
Miroslav Nový
0b871e59e7 Clip using input seek (#543)
Making video clip by input seeking
2018-07-06 18:51:09 +02:00
qcjackman
1711c66aad fix the test expectations 2018-05-28 14:00:32 +08:00
Ivan Ganev
8950598211 addressing author requested fixes/changes 2017-11-05 16:28:24 +02:00
Ivan Ganev
60534a1dbb added waveform color option 2017-11-02 17:33:41 +02:00
Ivan Ganev
9314f64f54 added waveform color option 2017-11-02 17:28:12 +02:00
Romain Biard
96225b2dff Revert "Audio Params" (#377)
* Revert "Correct  type in VideoFilters->framerate (#372)"

This reverts commit cedcd37bd2.

* Revert "fix sources parameter type (array) in concat function (#363)"

This reverts commit af00b9d6a3.

* Revert "Audio Params (#344)"

This reverts commit cb7d850338.
2017-06-30 21:27:10 +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
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
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
e1625f1f94 Modification of the filters 2016-11-16 14:11:11 -03:00
Romain Biard
b7a8be46aa First implemtation of the waveform feature 2016-11-15 16:54:46 -03:00
Patrik Karisch
f9c6316bad Cleanup phpunit configs and PSR-4 autoloading and namespaces for tests 2016-03-06 23:38:04 +01:00