Sabetrem 0 Posted May 9, 2019 Posted May 9, 2019 Hello, I would need some information, I have a Synology DS414 NAS server and a Sony TV (2018) and another TV with a xiaomi box s. I installed Emby and Plex Server on android apps on the drives, and my heart has a big preference for Emby, however, but i have a problem with it. Many movies and series in my library can not be without transcoding, that's not a problem. It takes a great price for it not to be read directly. My 2018 Sony TV and x-boxes, are quite capable of decoding movies and car series can work in direct reading with PLEX. The problem comes beautifully and well from Emby. Do you have a solution? Thank you in advance for your assistance. Log.txt
ebr 16169 Posted May 9, 2019 Posted May 9, 2019 Hi. Yes, support for AVI files is limited and they usually require transcoding. Is it possible for you to remux these into a different container (like MKV)?
Sabetrem 0 Posted May 9, 2019 Author Posted May 9, 2019 (edited) Thank you for your reply. I have a lot of files in this format. I would have preferred to keep them in the original format. There is no parameter in emby that would allow me to stay in this format configuration while avoiding encoding? Edited May 9, 2019 by Sabetrem
ebr 16169 Posted May 9, 2019 Posted May 9, 2019 Sorry, no. AVI is not a very well supported format these days. You could use our convert feature to help with the task, though.
Sabetrem 0 Posted May 9, 2019 Author Posted May 9, 2019 (edited) Could you upgrade to Emby Premiere for 2 or 3 days so I can test your built-in conversion system? If it turns out to be effective I would certainly take a lifetime subscription. cordially Edited May 9, 2019 by Sabetrem
Sabetrem 0 Posted May 10, 2019 Author Posted May 10, 2019 Could you upgrade to Emby Premiere for 2 or 3 days so I can test your built-in conversion system? If it turns out to be effective I would certainly take a lifetime subscription. cordially
neik 873 Posted May 10, 2019 Posted May 10, 2019 You would need a one month subscription, I guess. That's what I did and it costed me like 5 bucks iirc.
mrfragger 39 Posted May 10, 2019 Posted May 10, 2019 (edited) Yea usually avi has old codecs like mpeg2 and usually I rencode them to x265 FAST mkv with handbrake and save 50-75% file size. It’s worth the re-encode plus Emby never needs to transcode anything. I also paid for 2 months $14 (iOS) until I got a lifetime pass. Edited May 10, 2019 by mrfragger
Sabetrem 0 Posted May 10, 2019 Author Posted May 10, 2019 Thank you for your reply ! Did you use emby for conversion or other software?
neik 873 Posted May 10, 2019 Posted May 10, 2019 Thank you for your reply ! Did you use emby for conversion or other software? I use the conversion once in a while and it works as I would expect it to work.
tshegofatso100 2 Posted May 28, 2019 Posted May 28, 2019 (edited) Hi Guys ive been trying to find out why is it that Android TV App is not allowing to play Media that needs to be transcoded. So I am connecting to the server that is behind the reverse proxy and i think i set this up properly. Because the Emby App is working properly and Kodi is also working properly. So this is what i did to try to capture the traffic between the my Emby Server and my Clients. I have a middle server that does reverse proxy. Client >reverse proxy > emby server For code when playing a direct string media and show only the HTTP request from using TCP dump. The highlisted string here it is when i check the http stream. The following are examples for Emby for android TV this is the HTTP request between my server and proxy server. The highlighted line i expanded it by using follow HTTP stream on wireshark when trying to play a session that require trascoding this is what i get when i look at Apache logs. The following is from Wireshark As you can see it delete the active transcoding and the player just changes because the playing status return an internal error 500. Can you please assist in solving this issue i have added the files ffmpeg-transcode-0e1f200d-3e99-44b3-8a21-a146f994b872_1.txt embyserver.txt Edited May 28, 2019 by tshegofatso100
Luke 42077 Posted May 28, 2019 Posted May 28, 2019 Hi there, can you please attach the emby server and ffmpeg logs? thanks.
tshegofatso100 2 Posted May 28, 2019 Posted May 28, 2019 Hi Luke I have added the logs on the previous post. The time stamps you should look at is between 17:30 -> 18:45; thanks in advances
Luke 42077 Posted May 28, 2019 Posted May 28, 2019 Have you tried the same scenario inside your network without going through the reverse proxy?
tshegofatso100 2 Posted May 28, 2019 Posted May 28, 2019 Its working inside the network. however i want move my from inside my house because it makes to much noise to a different place.
ebr 16169 Posted May 29, 2019 Posted May 29, 2019 Hi. It seems something with the reverse proxy must not be configured properly. We've seen this type of thing in the past where the proxy is not forwarding on the post data for a request we send and, therefore, the server doesn't get all the information it needs.
tshegofatso100 2 Posted May 29, 2019 Posted May 29, 2019 However the same post is working with the emby app and emby - kodi plugin, however the emby for android TV is not working.
ebr 16169 Posted May 30, 2019 Posted May 30, 2019 However the same post is working with the emby app and emby - kodi plugin, however the emby for android TV is not working. Some of the other apps provide information like the user ID on the url instead of in the post data. So, while it appears that they are working, they likely are not working properly.
tshegofatso100 2 Posted June 4, 2019 Posted June 4, 2019 (edited) I am using Apache 2 as my reverse proxy. Do you have any other suggestion I can put on my reverse proxy to aid in at least making these apps also work? Here is my configuration. <VirtualHost *:443> ServerName myserver.com ProxyPreserveHost On RewriteEngine On RewriteCond %{HTTP:Connection} Upgrade [NC] RewriteCond %{HTTP:Upgrade} =websocket [NC] RewriteRule /(.*) ws://192.168.1.7:58096/$1 [P,L] RewriteCond %{HTTP:Upgrade} !=websocket [NC] RewriteRule /(.*) http://192.168.1.7:58096/$1 [P,L] #limit download speed to allow streamers to have the best experience. <Location ~ /Items/(.*)/Download$> RewriteRule http://192.168.1.7:58096/Items/$1/Download$ [P,L] SetOutputFilter RATE_LIMIT SetEnv rate-limit 300 SetEnv rate-initial-burst 600 </Location> #embystat links <Location ~ ^/emby/web/itemdetails.html(.*)> RewriteEngine On RewriteRule /emby/web/itemdetails.html(.*) https://myserver.com/web/index.html#!/itemdetails.html$1 [NE] </Location> Header unset Server Header set Strict-Transport-Security "max-age=31556926; includeSubDomains; preload" Header set Referrer-Policy "strict-origin" Header set X-Frame-Options "sameorigin" Header set X-XSS-Protection "1; mode=block" Header set X-Content-Type-Options "nosniff" Header set Content-Security-Policy "default-src 'none'; child-src 'self'; font-src 'self' data:; connect-src 'self' wss: ws: https://mb3admin.com https://github.com/MediaBrowser/; media-src 'self' blob: data: https://github.com/MediaBrowser/; manifest-src 'self'; base-uri 'none'; form-action 'self'; frame-ancestors 'self'; object-src 'none'; worker-src 'self' blob:; script-src 'self' https://www.gstatic.com; img-src data: https: http: ; style-src 'unsafe-inline' 'self' https://fonts.googleapis.com/css" ProxyPassReverseCookieDomain .myserver.com 192.168.1.7:58096 ErrorLog ${APACHE_LOG_DIR}/emby-error.ssl.log CustomLog ${APACHE_LOG_DIR}/emby-access.ssl.log combined SSLCertificateFile /etc/letsencrypt/live/myserver.com/cert.pem SSLCertificateKeyFile /etc/letsencrypt/live/myserver.com/privkey.pem Include /etc/letsencrypt/options-ssl-apache.conf SSLCertificateChainFile /etc/letsencrypt/live/myserver.com/chain.pem </VirtualHost> </IfModule> Edited June 4, 2019 by tshegofatso100
ebr 16169 Posted June 4, 2019 Posted June 4, 2019 I know we've seen this exact issue before. I'm afraid I'm not well-versed enough with reverse-proxys to help. Perhaps @@pir8radio has some advice...?
pir8radio 1312 Posted June 4, 2019 Posted June 4, 2019 (edited) I think you are thinking of this thread ebr: https://emby.media/community/index.php?/topic/54890-firetv-wont-play-any-video/?hl=%2Bapache+%2Bproxy+%2Bpir8radio&do=findComment&comment=534267 @@tshegofatso100 read through that and check that its not a cert chain issue. Maybe you already did, i didn't go back in this thread and read everything.. I'm not a sales-man for nginx, but i would suggest changing to nginx. Its native for linux, if you use windows there is a good windows version out there that is pretty amazing.. lol I know it "works on other devices" but how they do some of the emby clients can be a bit strange, using different "native" players in some OS's and devices, the requests for video comes from those players so it can inject some confusion to the troubleshooting process. Edited June 4, 2019 by pir8radio
Solution ebr 16169 Posted June 4, 2019 Solution Posted June 4, 2019 No, it isn't a certificate issue. His proxy is not passing along the post data for the requests. I'm afraid the only solution we've seen so far is using nginx instead...
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