Private RTMP server (preconfigured virtualbox image)

MarkKing

New Member
Jack0r said:
Guys: Flash/HTML5 is the rendering method/plugin. You will always stream with rtmp if you use nginx + rtmp and OBS. So it just depends on the support of the browser you use for playback.

Now to your problem: The HTML files can be used anywhere. You just have to make sure your server can be accessed from this location and the IP addresses have to be configured correctly of course. (As mentioned in the other thread)

PS: JWplayer might want to be hosted on a webserver to work.

Jack, I already have the JWplayer files on my website server (remote server).
 

jhn123

New Member
1. Go to http://www.htaccesstools.com/htpasswd-generator/
2. Create a username and password.
3. Click Generate
4. Copy the entire line
Example: USERNAME:$apr1$pfPCPxZR$rlyHeG79ooyWL42zrlG
5.Open terminal
6. sudo nano nginx/conf/htpasswd
7. password is adminuser if using my virutal machine.
7. Put the cursor at the top left of the page using the arrow keys. Right click to paste.
8. Ctrl+O to save, hit enter and Ctrl+X to exit nano
 

dynamitemedia

New Member
thanks!! yeah i may just use the virtualbox solution cause i have NO idea how to compile it for windows! is there a download for it somewhere already compiled?
 
maybe you could edit the original post and explain why you would want to set this up. is this merely for those who don't want to send people to twitch or other already setup streaming websites live ustream and what not? this would allow you to send people to your own website stream?

you don't discuss hosting either. where is this nginx server hosted? at your own home? what type of upload would you need to be able to support multiple people watching your stream on your nginx server hosted at home?

maybe i am missing something here.
 

z0rz

Member
MarkKing said:
jhn123 said:
Private RTMP server using nginx 1.4.1 -- Preconfigured VirtualBox Image

....
Image:
https://www.dropbox.com/s/69t6qx9cz...86-Desktop-RELEASE-[VirtualBoxImages.com].rar

USER: adminuser
PASS: adminuser
...

jhn123, I just tried to download your image but it looks like dropbox has disabled your account because of excess traffic. Would you please try to re-enable it when you can. Thanks.

--nevermind, found a backup copy
Where did you find a backup copy?
 
jhn123 said:
Watch Stream from Android Device:
MX Player Pro>Network Stream

rtmp://UbuntuIPHere/live/STREAMKEYHERE.flv (Watch stream over wifi.)
Wow, thanks for this! Been trying forever to get my streams to work on Android, this worked perfect first try!

I had to use url rtmp://mydomain.com:12345/live/test to make it work (I'm running on non-standard port, and had to leave off the .flv as well).

Works on WiFi AND mobile data too! I can now watch my favourite TV channel when I'm on the train every morning :)

288z39z.jpg


-Jamie M.
 

sneaky4oe

Member
paladzin said:
Thanks.
Using this vm for transcoding 1080>720p, and restreaming.
Install -> ffmpeg/x264 ppa
Code:
sudo add-apt-repository ppa:jon-severinsson/ffmpeg
sudo apt-get update && apt-get install ffmpeg x264

Transcoding example:
Code:
                     application live_orig {
                        live on;
                        record off;
                        push rtmp://sreaming.url/paladzin;
                        exec_static ffmpeg -re -i rtmp://localhost/live_orig -vcodec libx264 -vprofile baseline -preset veryfast -g 10 -s 1280x720 -acodec copy -f flv rtmp://streaming.url/paladzin~720p;
                                           }
Works great.

I didn't manage to apply this on a virtual machine from http://www.xedocproject.com/forum/index.php?/topic/16-мультистрим-без-нагрузки-на-процессор/ thread.
I am able to multistream now, but I need to transcode it to 480p. Could somebody please help?


7578bb4954b8.png
 

narlex

New Member
I keep getting an issue with the data sent from the VM consistently freezing. I can't find anything wrong with nginx, so I really am not sure what to do about it. The connection is bridged, so I don't exactly see an issue with the bandwidth, latency, or and packet loss. Does anybody have thoughts?
https://dl.dropboxusercontent.com/u/40826004/rtmp.png
https://dl.dropboxusercontent.com/u/40826004/rtmp2.png
The logs for NGinx aren't reporting anything other than when connections are made, and for how long.
 
narlex said:
I keep getting an issue with the data sent from the VM consistently freezing. I can't find anything wrong with nginx, so I really am not sure what to do about it. The connection is bridged, so I don't exactly see an issue with the bandwidth, latency, or and packet loss. Does anybody have thoughts?
https://dl.dropboxusercontent.com/u/40826004/rtmp.png
https://dl.dropboxusercontent.com/u/40826004/rtmp2.png
The logs for NGinx aren't reporting anything other than when connections are made, and for how long.
Are you using VLC player? Try SM player instead.

-Jamie M.
 

Tehcero

New Member
Having some issues connecting to the stream from my external IP address.

I am running the VirtualBox on the same computer as the gaming computer. Following the instructions as they were put, I could not get the stream to connect. (Using my external IP where required, no results.) Using my Ubuntu IP where required, I can connect.

Not sure why it is that way, but either way, I can not connect to my stream from an external IP address, so any ideas. I can give more info if needed.
 

narlex

New Member
toysareforboys said:
narlex said:
I keep getting an issue with the data sent from the VM consistently freezing. I can't find anything wrong with nginx, so I really am not sure what to do about it. The connection is bridged, so I don't exactly see an issue with the bandwidth, latency, or and packet loss. Does anybody have thoughts?
https://dl.dropboxusercontent.com/u/40826004/rtmp.png
https://dl.dropboxusercontent.com/u/40826004/rtmp2.png
The logs for NGinx aren't reporting anything other than when connections are made, and for how long.
Are you using VLC player? Try SM player instead.

-Jamie M.
Seems VLC was probably the issue because the JWPlayer worked. Any idea how I can give out an address outside of my network for that index page? Even after opening the ports, specifying the protocol (and port), I can't seem to get anything from my browser.

I've tried:
http://ip.ad.dr.ess:80
http://ip.ad.dr.ess/live/livestream
http://ip.ad.dr.ess
...etc

on the bright side, SMPlayer works flawlessly! I can finally stream for my buds thanks to your helpful tip. I cannot thank you enough. If I can figure out how to connect to JWPlayer through my WAN address, I'll be golden.

logoster said:
link has to much traffic, backup link?
Sorry. I would, but I had to remove the image file as my main drive ran low on space. The best I could do is upload my current config; pm me if the official link doesn't go back up in the next few days.
 

014

Member
Dropbox is still blocking downloads to this. Can it be uploaded somewhere again, perhaps bittorrent?

I made a pre-configured Virtual Box VM minus the jwplayer website.
[link deleted]

EDIT: Newer version! Please read page 3 of this thread for more information.
https://mega.co.nz/#!YJsRWTqR!lSzIMqVxxE2sreiO8MrGXZ_lIKVXZQ71VcF3R9d_BJo

root: tides
streamer: tides

OBS broadcast settings:
rtmp://[IP address of VM]/live
key: test

In your player (like VLC or SM Player), use rtmp://[IP address of VM]/live/test

More thorough information to come.
 
Last edited:
Top