Commit graph

227 commits

Author SHA1 Message Date
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
Ivan Ganev
d5fc9ed9db array representation backward compat for php5 2017-11-08 18:32:56 +02:00
Ivan Ganev
d13fa59759 updated color setter validation to throw InvalidArgumentException instead of silently unsetting values 2017-11-07 11:07:33 +02:00
Ivan Ganev
a989b49df1
Merge branch 'master' into master 2017-11-07 10:58:17 +02:00
jens1o
c393e31803
old php versions <.< 2017-11-05 18:45:35 +01:00
jens1o
c43632faa8
Add Video#getFinalCommand and some refactor 2017-11-05 18:26:04 +01:00
jens1o
5a889aa5f2
Added buildCommand and getFinalCommand to Audio class
#403
2017-11-05 17:35:41 +01:00
Ivan Ganev
ff1a36fdcc unnecessary use of preg_match_all replaced with preg_match 2017-11-05 16:35:50 +02:00
Ivan Ganev
8950598211 addressing author requested fixes/changes 2017-11-05 16:28:24 +02:00
Ivan Ganev
456d9c6485 added -y property to ffmpeg when generating waveforms 2017-11-03 12:14:00 +02:00
Ivan Ganev
eb0bc309ef added waveform color option 2017-11-02 17:31:39 +02:00
Ivan Ganev
9314f64f54 added waveform color option 2017-11-02 17:28:12 +02:00
Emre Sokullu
2bd63f4feb Fixed: the use of [] was killing PHP 5.3 compat 2017-10-11 16:45:20 -07:00
Jens Hausdorf
85f67937dc Merge branch 'master' into patch-1 2017-09-20 06:23:23 +02:00
jens1o
ed5f21e0c8
php 5.x has problems with mocking with type hinting... 2017-09-19 20:18:43 +02:00
jens1o
74a1d6539c
Add FFProbe#isValid
fixes #394
2017-09-19 19:28:34 +02:00
Le_Tung
3210b1d4fd support crop with dynamic point 2017-09-08 16:03:14 +09: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
Jens Hausdorf
292ec162e4 Merge branch 'master' into patch-1 2017-06-28 05:59:32 +02:00
Cuong M. Tran
cedcd37bd2 Correct type in VideoFilters->framerate (#372) 2017-06-28 00:46:54 +02:00
Mohamed Radhi Guennichi
af00b9d6a3 fix sources parameter type (array) in concat function (#363) 2017-06-28 00:18:05 +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
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
Jens Hausdorf
afe1331d4f add libvpx-vp9 to WebM video 2017-05-15 21:44:48 +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