Transcoding media with FFmpeg using Laravel queues
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bootstrap
config
database
public
resources
routes
storage
tests
.env.example
.gitattributes
.gitignore
artisan
composer.json
composer.lock
package-lock.json
package.json
phpunit.xml
readme.md
server.php
webpack.mix.js

readme.md

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