Hi team, thank you for your useful module but an issue was appeared when I using it, plz help me.
We have used nginx-rtmp-module and ffmpeg to convert rtmp to hls
Everything works fine until a day .ts files are not created
The first, I guess may be nginx crash by something, I do reload nginx and everything is back to the way it was.
After that, I realized that nginx do not crash because at least nginx log work fine during the time the problem occurred
To use ngx_rtmp_module i have to add command load_module modules/ngx_rtmp_module.so;
Is there any possibility that the error is caused by that module ?
What the happen in here ? What should I do to fix it ?
Here is my config
Ubuntu 18.04.5 LTS (GNU/Linux 5.4.0-1029-aws x86_64)
I use ffmpeg as a command line with format like :
ffmpeg -i [input_rtmp] -f flv rtmp://localhost/hls/channelName
Hi team, thank you for your useful module but an issue was appeared when I using it, plz help me.
We have used nginx-rtmp-module and ffmpeg to convert rtmp to hls Everything works fine until a day .ts files are not created
The first, I guess may be nginx crash by something, I do reload nginx and everything is back to the way it was.
After that, I realized that nginx do not crash because at least nginx log work fine during the time the problem occurred
To use ngx_rtmp_module i have to add command load_module modules/ngx_rtmp_module.so; Is there any possibility that the error is caused by that module ?
What the happen in here ? What should I do to fix it ?
Here is my config Ubuntu 18.04.5 LTS (GNU/Linux 5.4.0-1029-aws x86_64) I use ffmpeg as a command line with format like : ffmpeg -i [input_rtmp] -f flv rtmp://localhost/hls/channelName
My nginx config
**load_module modules/ngx_rtmp_module.so; pid /var/run/nginx.pid; error_log /opt/data/error.log info; worker_processes 4; worker_rlimit_nofile 16384; events { worker_connections 4096; }
rtmp { server { listen 1935; chunk_size 4096; max_message 1M; buflen 500ms;
live
}
http { access_log /opt/data/access.log combined; sendfile on; include mime.types; keepalive_timeout 600; keepalive_requests 1000; ssl_ciphers HIGH:!aNULL:!MD5; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_session_cache shared:SSL:10m; ssl_session_timeout 10m; server { listen 8080; server_name localhost;
Uncomment these lines to enable SSL.
}**