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
This commit is contained in:
Romain Biard 2017-02-14 13:55:07 -03:00 committed by GitHub
commit 21c28dea25
8 changed files with 541 additions and 1 deletions

View file

@ -204,4 +204,15 @@ class Video extends Audio
{
return new Gif($this, $this->driver, $this->ffprobe, $at, $dimension, $duration);
}
/**
* Concatenates a list of videos into one unique video.
*
* @param string $sources
* @return Concat
*/
public function concat($sources)
{
return new Concat($sources, $this->driver, $this->ffprobe);
}
}