10-26-2020, 09:15 AM
On my PinebookPro running Majaro, I try to setup a ffmpeg streaming server.
I start ffmpeg this way:
As a result, ffmpeg is hangig as if it was listening on the socket. But when I check the sockets (e.g. with ss -a), port 1935 is not displayed.
When I try to stream from the pinecube, with this command:
I get this error:
which can be expected, as there is nothing listening on port 1935 on pbp.
Has anybody got ffmpeg working as a rtmp server or are you using nginx with rtmp support enabled?
Are there other lightweight streaming servers availabe?
Thanks for your help!
I start ffmpeg this way:
Code:
ffmpeg -listen 1 -i rtmp://localhost:1935/live/cube -c copy rtmp://localhost:1935/live/mpv
As a result, ffmpeg is hangig as if it was listening on the socket. But when I check the sockets (e.g. with ss -a), port 1935 is not displayed.
When I try to stream from the pinecube, with this command:
Code:
[root@nixos:/home/nixos]# ffmpeg -s 640x480 -r 15 -i /dev/video0 -vcodec flv -f flv rtmp://pbp:1935/live/cube
Code:
[tcp @ 0x81110] Connection to tcp://pbp:1935 failed: Connection refused
[rtmp @ 0x80c10] Cannot open connection tcp://pbp:1935
rtmp://pbp:1935/live/cube: Connection refused
Has anybody got ffmpeg working as a rtmp server or are you using nginx with rtmp support enabled?
Are there other lightweight streaming servers availabe?
Thanks for your help!