• 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

Laravel with App Engine Standard Class 'FacadeIgnitionIgnitionServiceProvider' not found

*** ERROR *** The PHP configuration loaded file is: c:/wamp64/bin/php/php8.1.0/php.ini - should be: c:/wamp64/bin/apache/apache2.4.53.1/bin/php.ini

Could not decode a text frame as UTF-8.

Stop caching for PHP 5.5.3 in MAMP

Group rows by column and sum another column within groups [duplicate]

Get keys from associative array [duplicate]

Laravel post contact form giving me error 419

Pages are working fine on localhost but not running on the hosting server

Sum array values of a column within each column of an array with 3 levels

MOODLE: What does it mean to aggregate h5p assets?

Why i get wrong output for html markdown?

PDOException SQLSTATE[HY000] [2002] No such file or directory

How can I convert from a{a{} b{}} to a[a[],b[]] using php preg_match?

How to override header set in Apache config with more specific header in a virtual host

using random function but it's displaying duplicates

About Contact Privacy policy Terms and conditions