Soluble Mediatools Versions Save

Video / audio conversion, thumbnailing and more ! PHP FFmpeg wrapper

2.0.0

5 years ago

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.

1.0.1

5 years ago

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.

1.0.0

5 years ago

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;

0.9.7

5 years ago

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.

0.9.6

5 years ago

Added

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

0.9.5

5 years ago

Fixed

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

0.9.4

5 years ago

Added

  • Added support for Subtitle streams in VideoInfo.

0.9.3

5 years ago

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.

0.9.2

5 years ago

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.

0.9.1

5 years ago

Added

  • Missing phpdoc typehints for VideoInfoInterface