Commit graph

108 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
Gabriel Caruso
ee4edc8b02 Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase 2017-11-08 18:38:32 -02: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
jens1o
74a1d6539c
Add FFProbe#isValid
fixes #394
2017-09-19 19:28:34 +02:00
Le_Tung
47b8d84979 add dynamic point Unit Test 2017-09-19 10:44:11 +09: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
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
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
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
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
c90f26724c Creation of the tests for the ExtractMultipleFramesFilter class 2017-01-11 12:03:54 -03:00
shadrech
89098b24a2 Add metadata to audio files | completed tests 2017-01-09 14:26:40 +00:00
shadrech
8cfb17682f Add metadata to audio files - feature 2017-01-09 13:41:32 +00:00
Romain Biard
ac3e8f16ca We use getMote instead of createMock 2016-12-21 12:43:57 -03:00
Romain Biard
bbe94784c2 Addition of the tests 2016-12-21 10:26:51 -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
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
Romain Neutron
f765864749 Fix test URL 2016-03-05 18:03:49 +01:00
Romain Neutron
f62077ab64 gnéééé 2015-01-30 20:05:30 +01:00
Romain Neutron
559708c0e4 Merge pull request #134 from cangelis/cropfilter
Add Crop Filter
2015-01-30 20:03:31 +01:00
Romain Neutron
0736141e16 Use latest fix 2015-01-30 19:59:13 +01:00
Romain Neutron
863fd1b70f Fix file name 2015-01-30 19:52:57 +01:00
Can Geliş
6c39d07274 add tests 2014-11-16 21:28:14 +02:00
Romain Neutron
f2a6329829 Merge branch 'fix-aspect-ratio' of github.com:nlegoff/PHP-FFmpeg into nlegoff-fix-aspect-ratio
* 'fix-aspect-ratio' of github.com:nlegoff/PHP-FFmpeg:
  Fix video aspect ratio calculation
2014-08-26 10:45:33 +02:00
Nicolas Le Goff
c51ccf4f2c Fix video aspect ratio calculation 2014-08-25 20:36:05 +02:00
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
mhor
ac767875a6 checkstyle by php-cs-fixer 2014-08-08 23:50:33 +02:00
sylvainv
72d7a8c236 Added custom filter support 2014-07-30 18:01:39 +08:00
sylvainv
475d1a508a Added watermark functionality and unit tests 2014-07-28 17:27:12 +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
8dfaf18158 Merge pull request #81 from alchemy-fr/fix-dimensions
Fix dimensions
2013-12-17 08:54:46 -08:00
Romain Neutron
197b534359 Fix CS 2013-12-17 17:40:31 +01:00
Romain Neutron
c4fcee4517 Fix width / height detection 2013-12-17 17:38:12 +01:00
Romain Neutron
18abae55a9 Fix compatibility with avconv 0.9 2013-12-02 14:05:18 +01:00
Romain Neutron
fca866e1d8 Fix using rotate and resize filters at the same time (#78) 2013-11-29 14:21:21 +01:00
Romain Neutron
ad2b9e75a5 Fix #76 : Remove restriction on filesystem resources 2013-11-29 11:16:57 +01:00
Romain Neutron
a875227591 Fix tests 2013-11-28 18:49:13 +01:00