• 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

Results page in other window

With doctrine ODM, can I embed many subdocuments in a main document?

How to connect to MSSQL Server with PHP from Ubuntu 18.04?

woocommerce change position of price

How can I make good efficent AJAX live forms with just jQuery and

How do I Post to .txt document before form submits

Ajax GET request fails in laravel 8

Yii Ajax Submit button

Laravel MSSQL Server Connection not working

how to use extended ASCII instead of unicode in PHP

Project structure for PHP

java URL working on browser but not in client program

how to remove white space in select 2

The difference when using if statement true === something() vs something() === true [duplicate]

VichUploaderBundle error "Expected argument of type "File", "NULL" given" when submitting the form without selecting any file

About Contact Privacy policy Terms and conditions