class DB
{
private static $db;
private $host = 'localhost';
private $dbname = 'test';
private $charset = 'utf8';
private $username = 'root';
private $password = '';
static public function connect()
{
if (self::$db === Null) {
self::$db = new self();
}
return self::$db;
}
private function __clone() {}
private function __construct()
{
return new \PDO("mysql:host=".$this->host.";dbname=".$this->dbname.";charset=".$this->charset, $this->username, $this->password);
}
}
$db = DB::connect();
FFMpeg::open('my_movie.mov')
// export to FTP, converted in WMV
->export()
->toDisk('ftp')
->inFormat(new \FFMpeg\Format\Video\WMV)
->save('my_movie.wmv')
// export to Amazon S3, converted in X264
->export()
->toDisk('s3')
->inFormat(new \FFMpeg\Format\Video\X264)
->save('my_movie.mkv');
// you could even discard the 'toDisk()' method,
// now the converted file will be saved to
// the same disk as the source!
->export()
->inFormat(new FFMpeg\Format\Video\WebM)
->save('my_movie.webm')
.vt_showcase {
display: block;
/* padding-bottom: 50px; */ <---
.vt_box > h3 {
display: none !important;
}