{
    "name": "danog/php-rtc-av",
    "type": "library",
    "description": "FFmpeg/libav FFI bindings for PHP media processing. MadelineProto's PHP 8.2+ fork uses lazy, optional FFI, strict ABI checks, and the modular danog/php-rtc stack.",
    "keywords": [
        "ffmpeg",
        "libavcodec",
        "avcodec",
        "libavfilter",
        "avfilter",
        "libavformat",
        "avformat",
        "libswscale",
        "swscale",
        "webrtc",
        "codec"
    ],
    "homepage": "https://github.com/danog/php-rtc-av",
    "license": "MIT",
    "authors": [
        {
            "name": "Amin Yazdanpanah",
            "email": "github@aminyazdanpanah.com"
        },
        {
            "name": "Sana Moniri",
            "email": "s.mo@quasarstream.com"
        },
        {
            "name": "Quasar Stream Community"
        },
        {
            "name": "Daniil Gentili",
            "email": "daniil@daniil.it"
        }
    ],
    "require": {
        "php-64bit": "^8.2",
        "danog/php-rtc-exception": "^1.1.5",
        "danog/php-rtc-mixin": "^1.1.6 || ^2.0"
    },
    "require-dev": {
        "phpunit/phpunit": "^11.5 || ^12.0 || ^13.3.2",
        "bamarni/composer-bin-plugin": "^1.9.1"
    },
    "autoload": {
        "psr-4": {
            "Webrtc\\AVCodec\\": "src"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\Webrtc\\AVCodec\\": "tests"
        }
    },
    "scripts": {
        "setup-ffmpeg": [
            "php scripts/ffmpeg-downloader.php"
        ],
        "pre-install-cmd": [
            "@check-linux"
        ],
        "pre-update-cmd": [
            "@check-linux"
        ],
        "check-linux": [
            "php -r \"if (stripos(PHP_OS_FAMILY, 'Linux') === false) { fwrite(STDERR, 'This package only supports Linux.' . PHP_EOL); exit(1); }\""
        ]
    },
    "minimum-stability": "stable",
    "suggest": {
        "ext-ffi": "Install the FFI extension and libavcodec/libavformat/libavfilter to transcode media; not required to mux or packetize already-encoded media"
    },
    "config": {
        "allow-plugins": {
            "bamarni/composer-bin-plugin": true
        }
    },
    "extra": {
        "bamarni-bin": {
            "bin-links": true,
            "forward-command": true
        }
    }
}
