pir8radio 1292 Posted February 26, 2017 Author Share Posted February 26, 2017 (edited) yea sorry, I just left the tracker code in as an example... probably made that post more complicated than it needed to be. @@shorty1483 he also wanted to replace the favicon and tab/page text title which is HTML that's the reason for the complicating things with sub_filter. But I agree he should be using CSS where possible. I may have to change mine for the "Home Logo".. @@Swynol I also fixed the first sub filter in my previous post, I had a mistake in it. The post is correct now. Edited February 26, 2017 by pir8radio 2 Link to comment Share on other sites More sharing options...
Swynol 375 Posted February 26, 2017 Share Posted February 26, 2017 thanks both - i will give it a go! Link to comment Share on other sites More sharing options...
shorty1483 450 Posted February 28, 2017 Share Posted February 28, 2017 (edited) yea sorry, I just left the tracker code in as an example... probably made that post more complicated than it needed to be. @@shorty1483 he also wanted to replace the favicon and tab/page text title which is HTML that's the reason for the complicating things with sub_filter. But I agree he should be using CSS where possible. I may have to change mine for the "Home Logo".. @@Swynol I also fixed the first sub filter in my previous post, I had a mistake in it. The post is correct now. Now I'm interested Managed to get sub filter for favicon working with this one inside Emby location block /: proxy_set_header Accept-Encoding ""; sub_filter_types text/html; sub_filter '<link rel="shortcut icon" href="css/images/favicon.ico">' '<link rel="shortcut icon" href="https://domainname.com/start/assets/favicon.ico">'; sub_filter '<title>Emby</title>' '<title>3lysium</title>'; sub_filter '<img class="imgLogoIcon" src="css/images/logo.png">' '<img class="imgLogoIcon" src="https://domainname.com/start/media/images/3lysium2.png">'; sub_filter '<img src="css/images/logo.png" style="height:20px;">' '<img src="https://domainname.com/start/media/images/3lysium2.png"style="height:15px;">'; sub_filter_last_modified on; But how the heck do I replace the login and left corner logo with an own one? The sub filters for this specific items seem not to work for me, also when I try with you config. Edited February 28, 2017 by shorty1483 Link to comment Share on other sites More sharing options...
rbjtech 4218 Posted February 28, 2017 Share Posted February 28, 2017 Impressive I had 9 x 1080p streams running in Chrome - interestingly, the quality worsened on just the added streams the more streams I added. The last stream (#9) was macroblocking pretty heavily so I called it a day at stream #9 as I imagine your CPU was hitting 100% across all cores & threads.. (you did ask us to test it ..) Total streaming bandwidth from my side was just over 17Mbit/sec average, peaking at 30Mbit/sec. That's only 20% of my download bandwidth so I was prepared to go a lot further... If you want me to go further then let me know but good job on the deployment Link to comment Share on other sites More sharing options...
pir8radio 1292 Posted February 28, 2017 Author Share Posted February 28, 2017 (edited) Impressive I had 9 x 1080p streams running in Chrome - interestingly, the quality worsened on just the added streams the more streams I added. The last stream (#9) was macroblocking pretty heavily so I called it a day at stream #9 as I imagine your CPU was hitting 100% across all cores & threads.. (you did ask us to test it ..) Total streaming bandwidth from my side was just over 17Mbit/sec average, peaking at 30Mbit/sec. That's only 20% of my download bandwidth so I was prepared to go a lot further... If you want me to go further then let me know but good job on the deployment I suspect the degrading of the image is due to Emby's attempt to automatically set the bitrate... Try to manually set the bitrate I bet you get better results, let me know!.. Below is what I saw from your visit, in case you are curious. Looks like I was properly load balancing you through two NIC's My CPU and Memory usage: FFMPEG Chart: Network and Drives: Edited February 28, 2017 by pir8radio 1 Link to comment Share on other sites More sharing options...
rbjtech 4218 Posted February 28, 2017 Share Posted February 28, 2017 Nice stats - let me re-run the test and this time I'll set the bitrate to max per stream .. lets see what breaks first (I suspect it will be my end .. lol) 1 Link to comment Share on other sites More sharing options...
rbjtech 4218 Posted February 28, 2017 Share Posted February 28, 2017 Nice stats - let me re-run the test and this time I'll set the bitrate to max per stream .. lets see what breaks first (I suspect it will be my end .. lol) 5 x Max 60Mbps streams appeared to kill the UI, dropped to Max 30Mbps and UI returned, 6 x max 30Mbps and UI died again. Other sites quick response so I don't believe it was my bandwidth (160Mbps down) My incoming traffic hit 98Mbps .. so that must have given your server something to think about Link to comment Share on other sites More sharing options...
pir8radio 1292 Posted February 28, 2017 Author Share Posted February 28, 2017 5 x Max 60Mbps streams appeared to kill the UI, dropped to Max 30Mbps and UI returned, 6 x max 30Mbps and UI died again. Other sites quick response so I don't believe it was my bandwidth (160Mbps down) My incoming traffic hit 98Mbps .. so that must have given your server something to think about Humm Ill have to see what the bottle neck could be with the UI... CPU usage was actually less, because you set to the highest bitrate my server didn't have to transcode. But my drives and network saw more use! Thanks for the test! Network: CPU/RAM: FFMPEG: Drives and Network cards: 1 Link to comment Share on other sites More sharing options...
pir8radio 1292 Posted February 28, 2017 Author Share Posted February 28, 2017 Now I'm interested Managed to get sub filter for favicon working with this one inside Emby location block /: proxy_set_header Accept-Encoding ""; sub_filter_types text/html; sub_filter '<link rel="shortcut icon" href="css/images/favicon.ico">' '<link rel="shortcut icon" href="https://domainname.com/start/assets/favicon.ico">'; sub_filter '<title>Emby</title>' '<title>3lysium</title>'; sub_filter '<img class="imgLogoIcon" src="css/images/logo.png">' '<img class="imgLogoIcon" src="https://domainname.com/start/media/images/3lysium2.png">'; sub_filter '<img src="css/images/logo.png" style="height:20px;">' '<img src="https://domainname.com/start/media/images/3lysium2.png"style="height:15px;">'; sub_filter_last_modified on; But how the heck do I replace the login and left corner logo with an own one? The sub filters for this specific items seem not to work for me, also when I try with you config. I did the login with CSS, because i had to hide stuff and move things around: .imgLogoIcon { display: none; } #loginPage { padding-top: 130px; } #loginPage:before { position: absolute; margin-left: auto; margin-right: auto; left: 0; right: 0; top: 60px; content: " "; background: url(https://mydomain.com/images/logo_white.png); background-size: 100% 100%; width: 240px; height: 52px; } 1 Link to comment Share on other sites More sharing options...
gleep52 15 Posted March 7, 2017 Share Posted March 7, 2017 Humm Ill have to see what the bottle neck could be with the UI... CPU usage was actually less, because you set to the highest bitrate my server didn't have to transcode. But my drives and network saw more use! Thanks for the test! Network: CPU/RAM: FFMPEG: Drives and Network cards: Is this PRTG? Link to comment Share on other sites More sharing options...
pir8radio 1292 Posted March 7, 2017 Author Share Posted March 7, 2017 Is this PRTG? Yes Link to comment Share on other sites More sharing options...
gleep52 15 Posted March 7, 2017 Share Posted March 7, 2017 I've never met someone who used it besides me Glad to meet ya! 1 Link to comment Share on other sites More sharing options...
pir8radio 1292 Posted March 7, 2017 Author Share Posted March 7, 2017 I've never met someone who used it besides me Glad to meet ya! I love PRTG... Monitors all of my stuff... Well it used to when the server was at my house. I will be installing a second free copy to pickup all of my home items again... Yea I love my stats.... Link to comment Share on other sites More sharing options...
gleep52 15 Posted March 7, 2017 Share Posted March 7, 2017 If you have enough free sensors to cover both you can add a different probe as an offsite (remote install) that all talks back with the master server. That way you still get push notifications from both sites to one phone. Sorry for being off topic. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now