Commit graph

65 commits

Author SHA1 Message Date
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
41i 6h0rb4n1
08ccabcd77
Issue 539 (#759)
* Issue running ClipFilter with  set to NULL #566
* Can't encode video Fatal error #539

Co-authored-by: Romain Biard <romain.biard@gmail.com>
2021-03-02 21:54:00 +01:00
Marcus Bointon
8f7575b076
Fix docs generation, PSR-12 type compliance (#790)
* Correct docs generation, fixes #774

* Standardise on unaliased int and bool types, as per PSR-12 section 2.5
2021-03-02 15:39:45 +01:00
Markus Fasselt
7abb6d36cb
Fix boolean types (#779)
Changed `Boolean` to `bool` to avoid Psalm being confused with a potential class.
Thanks @digilist
2020-12-23 11:14:24 +01:00
Ilja Lukin
73fdec8290 Added initial parameters 2020-02-24 21:42:38 +01:00
Camilo Manrique
0460b9bb60 Add copy as available codecs for X264 and WebM 2019-04-27 13:22:12 -05:00
Igor Kosteski
934ed2739a Media Default Format passing duration parameter to the ProgressListener 2018-02-21 16:38:46 +01:00
Igor Kosteski
368c65a7d5 Comment fix, Video size calculation base on the new video duration and added case on the VideoProgressListenerTest test class. 2018-02-19 10:59:58 +01:00
Igor Kosteski
53a978e021 Fix Clipping video transcoding progress not correct 2018-02-18 13:57:06 +01:00
Jens Hausdorf
fa4bd3d12b Merge branch 'master' into patch-1 2017-08-05 23:35:59 +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
Romain Biard
928a908d16 Merge branch 'master' into patch-1 2017-06-28 00:11:12 +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
Jens Hausdorf
afe1331d4f add libvpx-vp9 to WebM video 2017-05-15 21:44:48 +02: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
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 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
010b3b8a6d Creation of a setPasses method for the X264 format. 2016-11-10 12:19:17 -03:00
Ha Phan
1fee6fb4be Add missing getter $currentTime 2016-03-05 18:05:24 +01:00
sujayjaju
4b8519270d Support for libfdk_aac 2014-12-11 20:55:21 +05:30
Romain Neutron
c1993b6b92 Merge branch 'master' of github.com:SimonSimCity/PHP-FFMpeg into SimonSimCity-master
* 'master' of github.com:SimonSimCity/PHP-FFMpeg:
  checkstyle by php-cs-fixer
  Added configuration for audio channels
2014-08-12 20:53:47 +02:00
Romain Neutron
559df352c5 Minor fixes 2014-08-12 20:51:22 +02:00
mhor
ac767875a6 checkstyle by php-cs-fixer 2014-08-08 23:50:33 +02:00
sylvainv
634e67d7ec Allow to set bframe support in a format 2014-08-01 00:03:13 +08:00
Simon Schick
7004e53399 Added configuration for audio channels 2014-06-25 10:21:59 +02:00
MrHash
5211e58dc9 Support for Wav and Aac audio encoding 2014-04-21 14:09:32 +01:00
Romain Neutron
c3d7d18f5b Remove unreachable code 2014-03-19 00:24:36 -07:00
Romain Neutron
ad2b9e75a5 Fix #76 : Remove restriction on filesystem resources 2013-11-29 11:16:57 +01:00
Romain Neutron
d3e97c974e Add support for video to audio transcoding 2013-10-10 15:09:10 +02:00
Jacob Budin
790e891ffc Added Vorbis (.ogg) audio format
Use requires 2 channel (stereo) audio input
2013-09-09 13:10:31 -04:00
Romain Neutron
c476054052 Fix CS 2013-06-25 21:47:31 +02:00
Romain Neutron
0887d9088c Fix doc blocks 2013-06-25 10:40:20 +02:00
Romain Neutron
ad3a5af623 Version 0.3 2013-06-25 10:03:20 +02:00
Romain Neutron
1a7fd1f058 Add resizable doc block 2013-05-04 22:21:46 +02:00
zboyet
a4e205253d Added ability to choose between resolution modulus 2013-04-16 11:24:29 -07:00
zboyet
cb51cfafb3 Added ability to choose between resolution modulus 2013-04-16 11:23:51 -07:00
zboyet
59eb6f3541 Added resolution modulus and width or height scale
Added the ability to select the resolution modulus and a scale mode based on width or height
2013-04-16 11:22:49 -07:00
Romain Neutron
ea17f2f257 Rename Audio to AudioInterface and Video to VideoInterface 2012-12-06 11:32:32 +01:00
Romain Neutron
cf97e06650 Add VideoInterface getPasses method 2012-12-06 11:25:12 +01:00
Romain Neutron
70ba5000c1 Proper command escaping 2012-10-08 14:20:59 +02:00
Nicolas Le Goff
1cb6723d86 Implement supportBFrames method to resizableVideos 2012-06-11 19:20:53 +02:00
Nicolas Le Goff
e8b8ef7607 add supportBframes function 2012-06-06 11:12:17 +02:00
Nicolas Le Goff
6b9365c082 fix issue when provided dimensions are null 2012-06-06 11:11:58 +02:00
Nicolas Le Goff
175502e9f7 add missing new keyword 2012-06-06 11:11:28 +02:00
grosroro
44e6eb6f79 Fix CS 2012-05-31 16:16:35 +02:00
grosroro
0375f48358 Add doc blocks 2012-05-30 18:44:09 +02:00
grosroro
78bb1bd86e Rename interfaces 2012-05-30 15:06:53 +02:00
grosroro
cee2e1892e Fix CS 2012-05-30 12:26:06 +02:00
grosroro
b1e6eeaf95 Rename Interfaces 2012-05-30 12:22:22 +02:00