JFIF x x C C " } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2B #3Rbr{
File "ImageFormat.php"
Full Path: /home2/yvrgircc/public_html/ariseskilltech.com/vendor/pbmedia/laravel-ffmpeg/src/FFMpeg/ImageFormat.php
File size: 1.9 KB
MIME-type: text/x-php
Charset: utf-8
<?php
namespace ProtoneMedia\LaravelFFMpeg\FFMpeg;
use FFMpeg\Format\Video\DefaultVideo;
class ImageFormat extends DefaultVideo
{
public function __construct()
{
$this->kiloBitrate = 0;
$this->audioKiloBitrate = null;
}
/**
* Gets the kiloBitrate value.
*
* @return int
*/
public function getKiloBitrate()
{
return $this->kiloBitrate;
}
/**
* Returns the modulus used by the Resizable video.
*
* This used to calculate the target dimensions while maintaining the best
* aspect ratio.
*
* @see http://www.undeadborn.net/tools/rescalculator.php
*
* @return int
*/
public function getModulus()
{
return 0;
}
/**
* Returns the video codec.
*
* @return string
*/
public function getVideoCodec()
{
return null;
}
/**
* Returns true if the current format supports B-Frames.
*
* @see https://wikipedia.org/wiki/Video_compression_picture_types
*
* @return bool
*/
public function supportBFrames()
{
return false;
}
/**
* Returns the list of available video codecs for this format.
*
* @return array
*/
public function getAvailableVideoCodecs()
{
return [];
}
/**
* Returns the list of additional parameters for this format.
*
* @return array
*/
public function getAdditionalParameters()
{
return ['-f', 'image2'];
}
/**
* Returns the list of initial parameters for this format.
*
* @return array
*/
public function getInitialParameters()
{
return [];
}
/**
* {@inheritdoc}
*/
public function getExtraParams()
{
return [];
}
/**
* {@inheritDoc}
*/
public function getAvailableAudioCodecs()
{
return [];
}
}