
Recherche avancée
Autres articles (101)
-
Les sons
15 mai 2013, par -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (11690)
-
nginx rtmp-module can't execute ffmpeg
22 août 2014, par NasirI am having an issue with nginx-rtmp-module exec ffmpeg command. i have followed the example on
www.github.com/arut/nginx-rtmp-module/home/junaid/bin/ffmpeg -f video4linux2 -i /dev/video1 -c:v libx264 -an -f flv rtmp://127.0.0.1:1935/myapp/mystream
the command is working fine in terminal
Config file :
rtmp {
server {
listen 1935;
ping 30s;
notify_method get;
application myapp {
live on;
allow play all;
exec_static /home/junaid/bin/ffmpeg -f video4linux2 -i /dev/video1 -c:v libx264 -an -f flv rtmp://127.0.0.1:1935/myapp/mystream;
}
}Error log :
http://www.codepad.org/enD4wlZ9I have tried :
- nginx running as root (have permission to execute ffmpeg)
- using ip instead of localhost
- using complete path to ffmpeg
- executing bash file (having ffmpeg and echo commands : echo commands execute just fine) from nginx
please help me resolve this issue
-
How to add module nginx-rtmp-module to lemp For Streaming
24 novembre 2018, par lamadya saidI have Vps 16GB Ram Installed Ubuntu 16.04 And Nginx Lemp Php Mysql And PhpMyadmin
Hosted 5 Web Site On virtual Host
But I want To use Rtmp For streaming On my Vps Please How
I dont finde any Tutorial How to use RTMP with Lemp just Only Nginx With Nginx-rtmp-module + HLSThank you for any body help me
-
Nginx with rtmp-module stalls between streams
14 janvier 2015, par churchmfI’m experiencing some troubles using NGINX with rtmp-module as a media server. I wish to present a continuous video as a live stream (with up to 60 second latency). However, due to some hardware constraints, I am unable to stream directly from the device. Instead, I can save out X amount of seconds from the device’s buffer as an MP4. My solution has been to save X seconds of video from the device then stream that X seconds, rise and repeat. This has been working mostly well, except for stalls ( 20 seconds) in the stream between calls.
I have searched far and wide for a solution to this however most of the people experiencing this problem have the collection of videos before starting the stream and can simply concatenate them.
My running theory is that when a stream finishes, it does an unpublish event in NGINX followed by a timeout period. This prevents the NGINX server from receiving the next publish until the timeout period has expired. I have tried adjusting nginx.config values related to timeouts, respawns, restarts, and publish, but to no avail.
Pseudocode :
while true> capture X seconds of video to "output.mp4" (this takes less than 300ms)
> stream the MP4 with FFMPEG (takes X seconds using -re)
FFMPEG call :
ffmpeg -re -i "output.mp4" -vcodec libx264 -preset veryfast -maxrate 2000k -bufsize 4000k -g 60 -acodec libmp3lame -b:a 128k -ac 2 -ar 44100 -f flv rtmp :/MYSERVER/live/outputI am using JWPlayer client side to watch the video stream, however I experience similar issues using VLC.
I have been trying to figure this out for a few days and I would appreciate any insight an expert to video streaming and NGINX can give. Thank you !