elynrose / laravel-stream

Transcoding media with FFmpeg using Laravel queues

Home Page:https://quantizd.com/transcoding-videos-using-ffmpeg-and-laravel-queues/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example code repository for tutorial on how to transcode video using FFmpeg in Laravel using queues.

Setup Instructions

$ git clone https://github.com/waleedahmad/laravel-stream.git
$ composer install
$ php artisan preset bootstrap
$ npm install && npm run dev

# update database credentials, queue connection driver and FFmpeg binaries
# if you're running app on Windows.
$ nano .env

DB_DATABASE=laravel_stream
DB_USERNAME=username
DB_PASSWORD=password

QUEUE_CONNECTION=database

FFMPEG_BINARIES=''
FFPROBE_BINARIES=''

Running queue worker

$ php artisan queue:work --tries=3 --timeout=8600

About

Transcoding media with FFmpeg using Laravel queues

https://quantizd.com/transcoding-videos-using-ffmpeg-and-laravel-queues/

License:MIT License


Languages

Language:PHP 82.2%Language:HTML 17.3%Language:Vue 0.5%