• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

Nginx RTMP not recording

phplinuxnginxrecordrtmp


PHP Snippet 1:

chown -R nobody:nogroup foldername

chmod -R 700 foldername

PHP Snippet 2:

ffmpeg -v error -y -i "$1" -vcodec libx264 -acodec aac -f mp4 -movflags +faststart "/tmp/recordings/$2.mp4"

aws s3 cp "/tmp/recordings/$basname.mp4" "s3://bucketname/"

exec_record_done bash -c "/home/ubuntu/script/record.sh $path $basname";

PHP Snippet 3:

record_path /tmp/rec;

Related Snippets

PHP Warning: Module already loaded in Unknown on line 0

Multiple order by in WooCommerce

Ajax GET request fails in laravel 8

Laravel Pagination links() not working

How to delete old images from public folder on update using Laravel

How to increase the PHP upload limits [duplicate]

Install mysql client in docker image

How to get result of the formula on import xlsx with maatwebsite using Laravel? I get formula and not value of the formula

Laravel implode array items to new lines

java URL working on browser but not in client program

How can I stop a symfony process which is listening on http://127.0.0.1:8000

HTML + PHP + PHPMAILER

Uploading video to Youtube using Youtube Data API V3 and Google API Client PHP -- getting 401 (unauthorized) message

Getting values for an enum?

How do I remove this delivery notification from here?

About Contact Privacy policy Terms and conditions