tested in windows 7 64bit only. If you have an intel cpu, enable intel virtualization technology in the bios first. --- 1.Install VirtualBox-5.0.2-102096-Win.exe http://download.virtualbox.org/virtualbox/5.0.2/VirtualBox-5.0.2-102096-Win.exe https://www.virtualbox.org/wiki/Downloads 2.Extract RTMP_Encoder_1.3.7z https://mega.co.nz/#!hAEFkIRZ!d46J0ECiIuVwgTsO9SIMCASAk5ahvEO6eG_cj9AWRY0 3.Open Oracle VM VirtualBox 4.Go Machine > Add > find RTMP_Encoder.vbox that you extracted and choose it Don't mind if you get error, just click close vm/'change network settings' and exit. Go settings > Network and in Adapter 1 tick 'Enable Network Adapter', Attached to: Bridged Adapter Name: Choose your local internet connection >Advanced Adapter Type: Intel PRO/1000 MT Server (82545EM) Promiscuous Mode: Deny MAC Address: its already there (you can refresh new) tick Cable Connected click OK. 5.Start your machine (RTMP_Encoder) If it asks for boot option, choose the one without recovery mode. (in this case: Debian GNU/Linux, with Linux 3.2.0-4-amd64) (!) VirtualBox may ask if you want to enable HostKey which means it assigns a key (usually by default: right ctrl) so that when you press it you stay in your virtual machine's window only and press it again to get back to your windows. login with: root password: tides (you can't see password, just write it and click enter) write: ifconfig and press enter. in eth0 section look at inet addr:192.168.x.x it's your virtual machine's ip. remember it. 6. If you need your stream on Flash player website download and install FTP Program like Filezilla and connect to your virtual machine: 192.168.x.x (your vm ip) port:22 and use SFTP-SSH, normal login with user: root and password: tides go back as far as you can to the '/' directory, then 'usr/local/nginx/html/stream/' and edit index.html change ip address from the bottom to your vm's ip or DNS name {file: "rtmp://192.168.1.123/stream/flv:encoded.flv"} to {file: "rtmp://yourdns.address.com/stream/flv:encoded.flv"} Save and overwrite. If you need DNS setup for public changing ip address, follow these steps, otherwise skip 7-8: 7.Install ddclient-1.4.0.exe (http://www.mediafire.com/download/q998269rswd55uw/ddclient-1.4.0.exe) and don't worry about filling information just click next all the way to finish. After installation open notepad as administrator and open ddclient.conf file in 'C:\Program Files (x86)\ddclient\' then copypaste ddclient settings below (replace) and fill your information to web= , server= , login= , password= and lastly yourdns.address.com (you can ask about this information from your dns provider. Free dns: https://freedns.afraid.org/): # ddclient.conf # daemon=5m use=web web=checkip.dyndns.com server=www.yourdnsserver.com protocol=dyndns2 login=youruserhere, password=yourpasshere yourdns.address.com ssl=no Save. Now when you reset your pc it should update your static or dynamic changing ip to your dns address. In some cases for mobile 4G internets you may have to ask your internet provider for public dynamic ip address service if you don't have it already (for me it costs 1,99€/month) and put a word like for example. internet4 to your router's WAN/APN settings. 8. Go to 'C:\Windows\System32\drivers\etc' and edit 'hosts' file with administrator notepad and write at the bottom: (tab) your vm's ip (tab) yourdns.address.com example: # localhost name resolution is handled within DNS itself. # 127.0.0.1 localhost # ::1 localhost 192.168.x.x yourdns.address.com 9. go to windows search: cmd and open it. write ipconfig and press enter. find your default gateway which is your router's ip address so you can access it in the browser. go to your router (for example. 192.168.1.1) usually username: admin password: admin port forward 1935 and 80 as TCP to your virtual machine's ip address (not windows's ip) If you don't know about port forwarding you have to google your router's model and how to do it. (it's different for lot of them) Configure your antivirus program/firewall to allow port 1935 from your windows and vm's ip addresses. 192.168.x.x etc. Allow virtual machine traffic in antivirus program and virtualbox program through windows firewall if possible. Reset router and then pc. ------------------------------------------------------------------------------------------- 10. (!)SKIP THIS STEP IF YOU DON'T NEED PASSWORD FOR YOUR STREAM Go to '/usr/local/nginx/conf' and edit nginx.conf find: #access_log logs/host.access.log main; location / { root html; index index.html index.htm; and copy and paste this under it: auth_basic "Restricted"; auth_basic_user_file /usr/local/nginx/.htpasswd; Save and overwrite. go to your vm window again (RTMP_Encoder) and write: apt-get install apache2-utils hit enter Accept always with Y if it asks for it. then do: apt-get update and one more time: apt-get install apache2-utils then you should be able to do: htpasswd -c /usr/local/nginx/.htpasswd exampleuser (!) edit exampleuser it will be your username for the password The tool will prompt you for password. Write it and press enter and do it again. go to ftp program again and chmod your '/usr/local/nginx/conf/nginx.conf' file to 777 write in vm /usr/local/nginx/conf/nginx.conf reload chmod it back to 644 Close RTMP_Encoder (your vm window) and choose 'Power off the machine' Close Virtualbox Restart them again. Password is ready and should work when you go to yourdns.address.com To add/remove passwords use ftp and edit: /usr/local/nginx/.htpasswd generate user with encrypted password for example. using this online generator: http://www.htaccesstools.com/htpasswd-generator/ and copy and paste it to .htpasswd file into another line. Power off the machine and close virtualbox. Restart. (Must be done every time you edit .htpasswd !) You may have to clear browser data using for example. ccleaner because your browser will remember the last password. ------------------------------------------------------------------------------------------- Done. edit /usr/local/nginx/conf/nginx.conf -file if you want to stream to twitch (http://i2.minus.com/inLx3t7TGcUPl.png) OBS broadcast settings: custom rtmp://192.168.x.x/transcode key: pass Flash player website: http://192.168.x.x/stream RTMP URL (for VLC, SMPlayer, or MX Player (Android), etc): rtmp://192.168.x.x/stream/encoded *if you get warning later about image file not being accessible click 'check'>optical disks -tab and right click/remove debian .iso from the list. No idea why this happens. If you need to change how frontpage or stream looks like use ftp program again and go edit: /usr/local/nginx/html/index.html (for frontpage) /usr/local/nginx/html/stream/index.html (for stream)