PHPackages                             almajiro/ffsachiko - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. almajiro/ffsachiko

ActiveLibrary[Image &amp; Media](/categories/media)

almajiro/ffsachiko
==================

Lightweight FFmpeg Wrapper

204PHP

Since Jan 15Pushed 7y ago1 watchersCompare

[ Source](https://github.com/almajiro/ffsachiko)[ Packagist](https://packagist.org/packages/almajiro/ffsachiko)[ RSS](/packages/almajiro-ffsachiko/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

 [![](https://camo.githubusercontent.com/0ab72875f6fd5301c582004b2d3248ce69e6777406e69364abc715691c08e6c1/68747470733a2f2f7261772e6769746875622e636f6d2f77696b692f616c6d616a69726f2f666673616368696b6f2f696d616765732f666673616368696b6f2e6a7067)](https://camo.githubusercontent.com/0ab72875f6fd5301c582004b2d3248ce69e6777406e69364abc715691c08e6c1/68747470733a2f2f7261772e6769746875622e636f6d2f77696b692f616c6d616a69726f2f666673616368696b6f2f696d616765732f666673616368696b6f2e6a7067)

 [![](https://camo.githubusercontent.com/17eef5031fc27c761f6ea6207808d06e4464f6c71cfcfa8b2543d8954b800593/68747470733a2f2f7472617669732d63692e6f72672f616c6d616a69726f2f666673616368696b6f2e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/17eef5031fc27c761f6ea6207808d06e4464f6c71cfcfa8b2543d8954b800593/68747470733a2f2f7472617669732d63692e6f72672f616c6d616a69726f2f666673616368696b6f2e7376673f6272616e63683d6d6173746572)

FFSachiko
=========

[](#ffsachiko)

The simplest FFmpeg/FFprobe wrapper.

Install (coming soon)
---------------------

[](#install-coming-soon)

```
composer required almajiro/ffsachiko

```

Example
-------

[](#example)

```
use Almajiro\FFSachiko\FFmpeg;
use Almajiro\FFSachiko\FFmpeg\Parameters\Input;
use Almajiro\FFSachiko\FFmpeg\Parameters\Threads;
use Almajiro\FFSachiko\FFmpeg\Parameters\VideoFilters;
use Almajiro\FFSachiko\FFmpeg\Parameters\VideoFilters\Scale;

$file = '~/videos/owarimonogatari.mp4';

$ffmpeg = new FFmpeg('/usr/local/bin/ffmpeg');

$file = $ffmpeg->open(new Input($file));

// Define how many core want to use
$file->addParameter(new Threads(4));

// Declare new VideoFilters class
$videoFilter = new VideoFilters();

// Resize video size to 640x320
$videoFilter->addFilter(new Scale(640, 320));

$file->addParameter($videoFilter);
$file->saveAs('output/video.mp4')->convert();

```

Contribution
------------

[](#contribution)

1. Fork it (  )
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create new Pull Request

Author
------

[](#author)

[almajiro](https://github.com/almajiro)

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7089652?v=4)[Kuroki Almajiro](/maintainers/almajiro)[@almajiro](https://github.com/almajiro)

---

Top Contributors

[![almajiro](https://avatars.githubusercontent.com/u/7089652?v=4)](https://github.com/almajiro "almajiro (14 commits)")

---

Tags

composer-packageffmpeg-wrapperphpvideo

### Embed Badge

![Health badge](/badges/almajiro-ffsachiko/health.svg)

```
[![Health](https://phpackages.com/badges/almajiro-ffsachiko/health.svg)](https://phpackages.com/packages/almajiro-ffsachiko)
```

###  Alternatives

[goat1000/svggraph

Generates SVG graphs

133890.0k3](/packages/goat1000-svggraph)[imagekit/imagekit

PHP library for Imagekit

46877.3k10](/packages/imagekit-imagekit)[gravatarphp/gravatar

Gravatar URL builder which is most commonly called as a Gravatar library

12644.1k2](/packages/gravatarphp-gravatar)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
