Hi everyone
Has anyone tried setting this up with the new ubuntu bash native set up in windows 10 (https://msdn.microsoft.com/en-us/commandline/wsl/about)?
I managed to do all the steps correctly, however once I ran the server, I came across a few errors like this:
Code:nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] still could not bind()
Then I read somewhere that windows uses http port 80
so I changed the config file to have the http server point to port 81
unfortunatly on obs side, the 'start stream' button would stall on 'connecting'
I tried adding port 81 to the firewall, and wasn't successful.
Let me know if anyone has a good way of doing this. Thanks!
16:27:58.909: [Media Foundation AAC: 'simple_aac']: encoder created
16:27:58.909: bitrate: 160
16:27:58.909: channels: 2
16:27:58.909: sample rate: 44100
16:27:58.909: bits-per-sample: 16
16:27:58.909:
16:27:58.909: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://<LOCALHOST_SERVER>:1935...
16:27:58.909: No application or playpath in URL!
16:27:58.911: [rtmp stream: 'simple_stream'] Interface: Intel(R) Centrino(R) Ultimate-N 6300 AGN (802.11, 54 mbps)
Hi again
I removed the http's server portion in the conf file, and running nginx didn't give any problems in window's 10 bash.
However OBS still has trouble connecting to the server <localhost>:1935. The stream button is stalling and labeled as "connecting...".
Here is the log file.. note the portion <LOCALHOST_SERVER> shown below is used to represent my actual numerical ip of my localhost. In OBS I use the actual numerical ip.
Code:16:27:58.909: [Media Foundation AAC: 'simple_aac']: encoder created 16:27:58.909: bitrate: 160 16:27:58.909: channels: 2 16:27:58.909: sample rate: 44100 16:27:58.909: bits-per-sample: 16 16:27:58.909: 16:27:58.909: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://<LOCALHOST_SERVER>:1935... 16:27:58.909: No application or playpath in URL! 16:27:58.911: [rtmp stream: 'simple_stream'] Interface: Intel(R) Centrino(R) Ultimate-N 6300 AGN (802.11, 54 mbps)
Let me know if anyone got this working on windows 10 bash.
I think I see your problem. You need to include the application from your rtmp block in the stream URL.
i.e. if you set the application name as the default of live your full RTMP url would be rtmp://localhost/live (no need to specify port 1935, as it's assumed by OBS as the default).
@Rockisdead, that error comes up if nginx runs without rtmp module. You probably have to remove nginx first and then install it with rtmp-module.
Hi!
I stream in 1080p and 4700kbps. Some Platforms don't want this good quality and allow only 3500kbps.
Now i want to Stream to Twitch, HitBox, YouTube,.. with 4700kbps and to other servers in 720p or something and 3500kpbs or lower.
Anyone who have a good Config for that?
Is it enough if i add this Code for the other plattforms?
Code:exec ffmpeg -re -i rtmp://localhost:1935/transcode/test -Some good Quality-settings who i can find in this forum... rtmp://other-plattform:1935/live/test;
I'm not sure on which line of Code i should use :)
So nobody have a answer for my little problem? :(
Or I have read the wrong way through ....
Thanks!
ffmpeg -i rtmp://127.0.0.1/live/ -vcodec libx264 -preset fast -x264opts nal-hrd=cbr:force-cfr=1:keyint=60 -b:v 3000k -maxrate 3000k -bufsize 3000k -s 1280x720 -sws_flags spline -r 30 -acodec copy -f flv rtmp://YourStreamingPlatformServerLikeTwitchOrYouTube/YourKey
pause
rtmp {
server {
listen 1935;
chunk_size 8192;
application live {
live on;
meta copy;
record all;
record_unique on;
record_max_size 500M;
}
}
}
Thank you I tried google but I couldn't find the right keywords I guess. Sorry if the video.js was a no duh answer I just didn't see anything else in the FAQ and when I tried JWPlayer it wasn't so. Thank you very much for your help.@Edward_Stryfe I pretty much only know of video.js and jwplayer. There might be smaller less known projects. Google is your friend. (You can host the jwplayer files youself btw)
@Rockisdead: https://github.com/arut/nginx-rtmp-module/wiki/Directives#record
In short:
You will have to test if nginx splits the files that way or just stops recording after 500mb.Code:rtmp { server { listen 1935; chunk_size 8192; application live { live on; meta copy; record all; record_unique on; record_max_size 500M; } } }
some body know how to setup "RTMP statistics" auto refresh ?
http://localhost:8080/stat
ubuntu 14.04
<meta http-equiv="refresh" content="30">
Code:<script type="text/javascript"> setTimeout(function () { location.reload(true); }, 40000); </script>