ffmpeg stuck at startup; Input/Output error #1052
Comments
|
Solved. Problem was with nginx 1.12.0, 1.10.3 is ok. |
|
@PapiCZ |
|
Here is output of
I use it with nginx rtmp module 1.1.11. |
|
Thanks a lot. Figured out the reason of the errors: multi workers was on auto instead of 1. |
|
@pkviet Thanks! I had the same problem. ffmpeg would sometimes start and process the stream correctly but often it would just fail. Setting worker_processes to 1 fixed it. |
|
This issue disappeared when I compiled the module statically in nginx. |
|
I am getting input/output error when I am using FFmpeg. Ngnix is working fine status come ok for NGINX and snapped code is below please help me out ./stream1.sh ffmpeg -re -i sample.mp4 -vcodec copy -loop -1 -c:a aac -b:a 160k -ar 44100 -strict -2 -f flv rtmp:198.168.0.0/live/1234567890
|
Hello,
I have stream server using nginx 1.12.0, nginx-rtmp-module 1.1.11 and ffmpeg 3.2.5-1~bpo8+1. When I connect to nginx using OBS everything goes fine, but ffmpeg often stuck at startup, but hardly ever doesn't goes stuck and everything works fine.
My command for ffmpeg:
FFmpeg output before it goes stuck
Nginx receive play command, because I can find it in access log.
Situation is same with this very simple command that should ends with error there is needed atleast one output.
When I kill ffmepg with CTRL+C I get Input/Output error.
There shouldn't be any problem with RTMP stream, because it plays normally in VLC.
In my PC everything worked fine, but in server of my company I get this error.
The text was updated successfully, but these errors were encountered: