Skip to content

Releases: soluble-io/soluble-mediatools

Version 0.6.0

11 Jul 13:02
Compare
Choose a tag to compare

Changed

  • [BC-Break] ThumbServiceInterface::makeThumbnail() now requires ThumbParamsInterface.

Added

  • Support for psr/log in video conversion, thumbnail and info services.
  • Added VideoFilterChain::__construct(array $filters = [])
  • Added VideoFilterChain::addFilters(array $filters = [])

Improved

  • Separation of concern for ProcessParamInterface

Version 0.5.0

10 Jul 15:03
Compare
Choose a tag to compare

Changed

  • [BC-Break] Moved [Conversion|Thumb|Detection|Info]Service one level up in Video\[Conversion|Thumb|Detection|Info]Service.
    As well VideoConversionParams becomes Video\ConversionParams. Search/replace should be sufficient.
    (This change makes possible a future split of this repo (audio-video-subtitles...) without
    sacrificing BC)
    .
  • [BC-Break] ProcessTimeOutException renamed to ProcessTimedOutException for coherence.
  • [BC-Break] Moved Config\* to Video\Config\*, update FFMpegConfig, FFProbeConfig, ConfigProvider locations.

The following changes concerns internal classes (less possible bc-break):

  • Possible bc-break moved base exception into MediaTools\Common namespace.
  • Possible bc-break some internal util classes moved into MediaTools\Common namespace.
  • Possible bc-break PlatformNullFile moved into MediaTools\Common\IO namespace.

Improved

  • Consumption of ConversionParamsInterface instead of concrete implementation in convert().

Added

  • Possibility to set timeout per conversion: see ProcessParamsInterface in convert() or makeThumbnail()
  • Q&A Testing timed-out behaviour (functional tests working)

Version 0.4.0

10 Jul 15:02
Compare
Choose a tag to compare

Changed

  • [BC-Break] Renamed params in global configuration file
  • [BC-Break] Renamed VideoInfoService::getMediaInfo() in VideoInfoService::getInfo()
  • [BC-Break] Renamed VideoConversionService::getConversionProcess() in getSymfonyProcess()
  • Moved internal class VideoInfo in Video\Info namespace.
  • VideoConversionService set withOverwrite() by default.

Added

  • ConversionParamsInterface::withBuiltInParam() to set a built-in (supported) param.
  • ConversionParamsInterface::withNoOverwrite() to ensure a file is never overwritten

Improved

  • Uniform Exceptions for conversion, thumbnailing and infos (doc coming).
  • VideoInfoServices now relies on symfony/process
  • Improved config params separation for FFProbeConfig and FFMpegConfig.
  • Improved customization of config factories FFProbeConfigFactory and FFMpegConfigFactory
  • Improved error reporting using config factories.
  • Factories for FFProbeConfigFactory and FFMpegConfigFactory uses interfaces.

Fixed

  • Added missing interface methods in AdapterInterface
  • Added missing interface methods in ConversionParamsInterface

Removed

  • AbstractProcess family internal classes, no use exclusively symfony/process

Version 0.3.0

07 Jul 22:22
Compare
Choose a tag to compare

Changed

  • [BC-Break] Video\ProbeService renamed to Video\InfoService.
  • [BC-Break] Concrete services instances moved to top level directory.

Added

  • Support for withSeekStart and withSeekEnd methods.
  • Support for withOverwrite.