Having issues streaming using ffmpeg, it was working last week

Hi I’m using the following script that didn’t give any errors until last week:


ffmpeg \
-hide_banner \
-loglevel trace \
-stats \
-channel_layout stereo \
-f pulse \
-i auto_null.monitor \
-thread_queue_size 1024 \
-f x11grab \
-draw_mouse 0 \
-s 1024x768 \
-framerate 30 \
-i ${DISPLAY} \
-c:v libx264 \
-r 23.976 \
-x264opts "keyint=48:min-keyint=48:no-scenecut" \
-preset ultrafast \
-tune zerolatency \
-pix_fmt yuv420p \
-s 1024x768 \
-threads 0 \
-f flv "rtmp://fra02.contribute.live-video.net/app/api_key"

And I’m getting the following error:

[tcp @ 0xaaab09ff90b0] Starting connection attempt to port 1935
[tcp @ 0xaaab09ff90b0] Successfully connected to port 1935
[rtmp @ 0xaaab09f9c730] Handshaking...
[rtmp @ 0xaaab09f9c730] Type answer 3
[rtmp @ 0xaaab09f9c730] Server version
[rtmp @ 0xaaab09f9c730] Proto = rtmp, path = /app/api_key, app = app, fname = api_key
[rtmp @ 0xaaab09f9c730] Window acknowledgement size = 2500000
[rtmp @ 0xaaab09f9c730] Max sent, unacked = 2500000
[rtmp @ 0xaaab09f9c730] New incoming chunk size = 4096
[rtmp @ 0xaaab09f9c730] Releasing stream...
[rtmp @ 0xaaab09f9c730] FCPublish stream...
[rtmp @ 0xaaab09f9c730] Creating stream...
[rtmp @ 0xaaab09f9c730] Sending publish command for 'api_key'
rtmp://fra02.contribute.live-video.net/app/apy_key: Input/output error

can you help me maybe?

Could be the Stream key is not valid
Or an existing process is still running locking the stream key from use

Hi, thanks,
the stream key is valid but I didn’t check if other processes were on. And that was the problem.
Never happened before and the error wasn’t really clear.

Thank you!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.