Skip to content

Releases: soluble-io/soluble-mediatools

Version 2.0.0

14 Mar 13:15
Compare
Choose a tag to compare

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

13 Mar 18:09
Compare
Choose a tag to compare

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

12 Mar 11:50
Compare
Choose a tag to compare

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 and Video\Cache\CacheInterface.

Removed/BC

  • VideoInfo::getVideoBitRate(): int -> Use VideoInfo::getVideoStreams()->getFirst()->getBitRate() instead.

  • VideoInfo::getAudioBitRate(): int -> Use VideoInfo::getAudioStreams()->getFirst()->getBitRate() instead.

  • VideoInfo::getVideoCodecName(): ?string -> Use VideoInfo::getVideoStreams()->getFirst()->getCodecName() instead.

  • VideoInfo::getAudioCodecName(): ?string -> Use VideoInfo::getAudioStreams()->getFirst()->getCodecName() instead.

  • Removed undocumented Video\Config\LoggerConfigInterface from container specs, replaced by standard factories Video\Logger\LoggerInterface::class;

Version 0.9.7

04 Mar 11:23
Compare
Choose a tag to compare

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 constructor
  • VideoInfoReader::getInfo($file, CacheInterface $cache=null) to allow using a specific psr-16 cache implementaton.
  • Specific InvalidFFProbeJsonException in VideoInfoReader::getInfo() to improve debug.
  • VideoStream::getFps(?int $decimals=null) to get the stream framerate.

Version 0.9.6

26 Feb 13:22
Compare
Choose a tag to compare

Added

  • VideoStream::getFps(?int $decimals=null) to get the stream framerate.

Version 0.9.5

26 Feb 11:56
Compare
Choose a tag to compare

Fixed

  • Do not require 'duration', 'duration_ts' and 'bitrate' for SubtitleStreamInterface

Version 0.9.4

26 Feb 11:56
Compare
Choose a tag to compare

Added

  • Added support for Subtitle streams in VideoInfo.

Version 0.9.3

23 Feb 15:08
Compare
Choose a tag to compare

0.9.3 (2019-02-23)

Added

  • VideoInfo now supports getting multiple audio and video streams.
  • Added MissingFFMpegBinaryException and MissingFFProbeBinaryException (ProcessFailedException).

Bugfix

  • Missing deprecation in VideoInfoInterface
  • Missing new VideoInfoInterface::getVideoStreams() and VideoInfoInterface::getAudioStreams()
  • Some issues with type requirements in VideoInfo

Improvement

  • Removal of webmozart/assert dependency.

Version 0.9.2

20 Feb 17:07
Compare
Choose a tag to compare

Added

  • VideoInfo now supports getting multiple audio and video streams.

Removed

  • VideoInfo::getVideoBitRate(): int -> Use VideoInfo::getVideoStreams()->getFirst()->getBitRate() instead.
  • VideoInfo::getAudioBitRate(): int -> Use VideoInfo::getAudioStreams()->getFirst()->getBitRate() instead.
  • VideoInfo::getVideoCodecName(): ?string -> Use VideoInfo::getVideoStreams()->getFirst()->getCodecName() instead.
  • VideoInfo::getAudioCodecName(): ?string -> Use VideoInfo::getAudioStreams()->getFirst()->getCodecName() instead.

Version 0.9.1

05 Jan 19:29
Compare
Choose a tag to compare

Added

  • Missing phpdoc typehints for VideoInfoInterface