- Updated build system
- Updated Twig namespacing to be compliant with deprecated class aliases in 2.7.x
- Allow setting threads in config
- Added a "generate" (bool) parameter to
getVideoUrl()
, just likegetVideoThumbnailUrl()
, to optionally skip encoding - Added return value false to
getVideoThumbnailUrl()
whenffmpeg
is executed which prevents a URL is always returned, also in case offfmpeg
fails to run/create the thumbnail - Added new config parameter "createSubfolder" (boolean) to create the same subfolders that are defined in the upload target paths of the asset.
- Added config option to prevent cache clearing
- Fixed an issue where
getFileInfo()
would throw an error ifnull
was returned - Fixed an error where certain types of video streams would cause the encoder to throw an exception
- Updated build process
- Fixed namespacing issues
- Added the ability to encode to animated
.gif
files - Added multiple output paths and URLs for different media types
- Moved to a modern webpack build config for the Control Panel
- Added install confetti
- Fixed deprecation errors from Craft CMS 3 RC13
- Switched video thumbnail generation to use
EVENT_GET_THUMB_PATH
- Transcoder now requires Craft CMS 3 RC 9 or later
- Only generate a thumbnail when we're actually asked to do so via
$generate1
- Transcoder now supports the transcoding of remote video & audio files
- Added the ability to generate a thumbnail for videos in the Control Panel Assets index
- Cleaned up the exception handling
- Renamed the composer package name to
craft-transcoder
- Added support for Yii2 aliases for
transcoderPath
&transcoderUrl
settings inconfig.php
- Changed the default
config.php
to use@webroot
and@web
Yii2 aliases
- Handle Asset Volumes that use aliases
- Updated DocBlock comments
- Updated to require craftcms/cms
^3.0.0-RC1
- Craft 3 beta 23 compatibility
- Craft 3 beta 20 compatibility
hasSettings
->hasCpSettings
for Craft 3 beta 8 compatibility- Added Craft 3 beta 8 compatible settings
- Modified config service calls for Craft 3 beta 8
- Added
craft/cms
as a composer dependency - Added code inspection typehinting for the plugin & services
- Code refactor/cleanup
- Use
php-shellcommand
to allow for proper execution on Windows & Unix servers
- Minor code cleanup
- Added a summary option to
getFileInfo()
- Refactored the
config.php
options to be more consistent
- Added
height
andwidth
options for resizing the videos - Added an
aspectRatio
option to control how aspect ratio scaling is done - Added a
letterboxColor
option - Added a
sharpen
option - Added the
getFileInfo
variable to extract information from a video/audio file - The
ffmpeg
progress for video transcoding is now written out to a.progress
file - Added a
progress
controller to return video transcoding progress - Moved all of the default settings out to the
config.php
file - Added support for multiple video encoding formats
- Added the ability to transcode audio files
- Transcoder caches can be cleared via the ClearCaches utility
- Fixed some issues with the lockfile naming
- Initial release