Releases: soluble-io/soluble-mediatools
Version 2.0.0
V2 Introduced final keywords for classes that are not covered by semver guarantee. Users should not be impacted except if you inherit those classes. An upgrade to ^2.0 should be no-pain.
Changes
- Missing
final
keywords for classes that are not supposed to be extended
to enforce possible bc issues later. Upgrade to 2.0 is fine if you're not extending
base classes.
Version 1.0.1
Fixes
- Minor, aspect ratio __toString(), return with separator from constructor instead of default.
- Minor, use alias for psr interfaces in logger and cache to prevent accidental collisions.
Version 1.0.0
Improved
- Improved exception and logging messages for VideoInfoReader, VideoThumbGenerator and VideoConverter.
Added
- Support for AspectRatio in VideoStreams:
VideoInfo::getVideoStreams()->getFirst()->getAspectRatio()
- ConfigProvider includes
Video\Logger\LoggerInterface
andVideo\Cache\CacheInterface
.
Removed/BC
-
VideoInfo::getVideoBitRate(): int
-> UseVideoInfo::getVideoStreams()->getFirst()->getBitRate()
instead. -
VideoInfo::getAudioBitRate(): int
-> UseVideoInfo::getAudioStreams()->getFirst()->getBitRate()
instead. -
VideoInfo::getVideoCodecName(): ?string
-> UseVideoInfo::getVideoStreams()->getFirst()->getCodecName()
instead. -
VideoInfo::getAudioCodecName(): ?string
-> UseVideoInfo::getAudioStreams()->getFirst()->getCodecName()
instead. -
Removed undocumented
Video\Config\LoggerConfigInterface
from container specs, replaced by standard factoriesVideo\Logger\LoggerInterface::class
;
Version 0.9.7
Improvements
- Ensure input files are not empty (instead of relying on ffmpeg cli failure - speedup)
Added
VideoInfoReader
now accepts a psr-16 / simple-cache implementation in the constructorVideoInfoReader::getInfo($file, CacheInterface $cache=null)
to allow using a specific psr-16 cache implementaton.- Specific
InvalidFFProbeJsonException
inVideoInfoReader::getInfo()
to improve debug. VideoStream::getFps(?int $decimals=null)
to get the stream framerate.
Version 0.9.6
Added
VideoStream::getFps(?int $decimals=null)
to get the stream framerate.
Version 0.9.5
Fixed
- Do not require 'duration', 'duration_ts' and 'bitrate' for SubtitleStreamInterface
Version 0.9.4
Added
- Added support for Subtitle streams in VideoInfo.
Version 0.9.3
0.9.3 (2019-02-23)
Added
- VideoInfo now supports getting multiple audio and video streams.
- Added
MissingFFMpegBinaryException
andMissingFFProbeBinaryException
(ProcessFailedException).
Bugfix
- Missing deprecation in VideoInfoInterface
- Missing new
VideoInfoInterface::getVideoStreams()
andVideoInfoInterface::getAudioStreams()
- Some issues with type requirements in VideoInfo
Improvement
- Removal of webmozart/assert dependency.
Version 0.9.2
Added
- VideoInfo now supports getting multiple audio and video streams.
Removed
VideoInfo::getVideoBitRate(): int
-> UseVideoInfo::getVideoStreams()->getFirst()->getBitRate()
instead.VideoInfo::getAudioBitRate(): int
-> UseVideoInfo::getAudioStreams()->getFirst()->getBitRate()
instead.VideoInfo::getVideoCodecName(): ?string
-> UseVideoInfo::getVideoStreams()->getFirst()->getCodecName()
instead.VideoInfo::getAudioCodecName(): ?string
-> UseVideoInfo::getAudioStreams()->getFirst()->getCodecName()
instead.
Version 0.9.1
Added
- Missing phpdoc typehints for
VideoInfoInterface