Jump to content

Play by Loopback, any gothchas?


Go to solution Solved by Peter Nent,

Recommended Posts

maxxcool7421
Posted (edited)

Question,  Is playback on Theater supported by 127.0.0.0:<port>?

I ask as I am trying to set the Media server to also be a player.  I noticed that if I start a file copy TOO the Media player which is the EMBY SERVER that playback will begin stuttering and eventually buffer in Theater.  So I had the Idea to connect the local THEATER install on loopback to avoid the THEATER to SERVER traffic from leaving the device and avoid actual 'network use' without using a external player.

Is this supported and or does it have any weird gotchas to look out for?

TY in advance ..

Edited by maxxcool7421
Posted

Hi there, yes it should work just fine. Have you given it a try?

maxxcool7421
Posted

Hi there, yes it should work just fine. Have you given it a try?

Indeed,  monitored it and it does not use any external traffic for playback,  seems to work.  I will test loading the actual nic and see if playback is affected... I 'think' it should not ... but Windows is Windows so I will advise.

Posted

Thanks for the feedback.

maxxcool7421
Posted (edited)

Indeed,  monitored it and it does not use any external traffic for playback,  seems to work.  I will test loading the actual nic and see if playback is affected... I 'think' it should not ... but Windows is Windows so I will advise.

Test failed,  :(  It still stutters playback terribly to transfer a file 'to the server' while using Theater 'on the server' to play files.  Drat. 

 

I assume this is expected since the servers's disk I/O is tied up on the file transfer? 

 

The incoming file transfer is @ 104MB\s (Windows server) over 1GB wire.   

Edited by maxxcool7421
Posted

 

 

I assume this is expected since the servers's disk I/O is tied up on the file transfer? 

It could be, but we'd have to look at an example.

maxxcool7421
Posted

It could be, but we'd have to look at an example.

Are there additional log settings to set?  I did not see any 'errors' but I am unfamiliar with Emby's logs

=============================================

2020-04-06 11:40:04.355 Info SessionManager: Playback start reported by app Emby Theater 3.0.11 playing Big Hero 6. Started at 0 ms
2020-04-06 11:40:04.356 Info HttpServer: HTTP Response 204 to 127.0.0.1. Time: 4ms. http://127.0.0.1:8096/emby/Sessions/Playing
2020-04-06 11:40:04.357 Info MediaInfoService: User policy for beecker. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2020-04-06 11:40:04.425 Debug ImageProcessor: Image encoding took 70ms for C:\Users\beecker\AppData\Roaming\Emby-Server\programdata\metadata\library\51\512c781719f6d4bb7980f13adfe8ccd2\clearlogo.png
2020-04-06 11:40:04.426 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 71ms. http://127.0.0.1:8096/emby/Items/105/Images/Logo?tag=52a1067220f5f444e670db385d37e25e&quality=90
2020-04-06 11:40:05.017 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:05.018 Info HttpServer: HTTP Response 204 to 127.0.0.1. Time: 1ms. http://127.0.0.1:8096/emby/Sessions/Playing/Progress
2020-04-06 11:40:09.266 Info HttpServer: HTTP POST http://192.168.1.100:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:09.418 Info HttpServer: HTTP Response 204 to 192.168.1.120. Time: 152ms. http://192.168.1.100:8096/emby/Sessions/Playing/Progress
2020-04-06 11:40:09.889 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:09.890 Info HttpServer: HTTP Response 204 to 127.0.0.1. Time: 1ms. http://127.0.0.1:8096/emby/Sessions/Playing/Progress
2020-04-06 11:40:09.972 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:09.973 Info HttpServer: HTTP Response 204 to 127.0.0.1. Time: 1ms. http://127.0.0.1:8096/emby/Sessions/Playing/Progress
2020-04-06 11:40:10.018 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:10.019 Info HttpServer: HTTP Response 204 to 127.0.0.1. Time: 1ms. http://127.0.0.1:8096/emby/Sessions/Playing/Progress
2020-04-06 11:40:11.097 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:11.098 Info HttpServer: HTTP Response 204 to 127.0.0.1. Time: 1ms. http://127.0.0.1:8096/emby/Sessions/Playing/Progress
2020-04-06 11:40:11.716 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:11.717 Info HttpServer: HTTP Response 204 to 127.0.0.1. Time: 1ms. http://127.0.0.1:8096/emby/Sessions/Playing/Progress
2020-04-06 11:40:12.018 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:12.019 Info HttpServer: HTTP Response 204 to 127.0.0.1. Time: 1ms. http://127.0.0.1:8096/emby/Sessions/Playing/Progress
2020-04-06 11:40:19.266 Info HttpServer: HTTP POST http://192.168.1.100:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:19.267 Info HttpServer: HTTP Response 204 to 192.168.1.120. Time: 1ms. http://192.168.1.100:8096/emby/Sessions/Playing/Progress
2020-04-06 11:40:22.020 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:22.058 Info HttpServer: HTTP Response 204 to 127.0.0.1. Time: 38ms. http://127.0.0.1:8096/emby/Sessions/Playing/Progress
2020-04-06 11:40:22.231 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:22.232 Info HttpServer: HTTP Response 204 to 127.0.0.1. Time: 1ms. http://127.0.0.1:8096/emby/Sessions/Playing/Progress
2020-04-06 11:40:23.019 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:23.065 Info HttpServer: HTTP Response 204 to 127.0.0.1. Time: 46ms. http://127.0.0.1:8096/emby/Sessions/Playing/Progress
2020-04-06 11:40:23.067 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:23.068 Info HttpServer: HTTP Response 204 to 127.0.0.1. Time: 1ms. http://127.0.0.1:8096/emby/Sessions/Playing/Progress
2020-04-06 11:40:24.019 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:24.020 Info HttpServer: HTTP Response 204 to 127.0.0.1. Time: 1ms. http://127.0.0.1:8096/emby/Sessions/Playing/Progress
2020-04-06 11:40:24.484 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:24.509 Info HttpServer: HTTP Response 204 to 127.0.0.1. Time: 26ms. http://127.0.0.1:8096/emby/Sessions/Playing/Progress
2020-04-06 11:40:24.767 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:24.767 Info HttpServer: HTTP Response 204 to 127.0.0.1. Time: 1ms. http://127.0.0.1:8096/emby/Sessions/Playing/Progress
2020-04-06 11:40:25.019 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:25.020 Info HttpServer: HTTP Response 204 to 127.0.0.1. Time: 1ms. http://127.0.0.1:8096/emby/Sessions/Playing/Progress
2020-04-06 11:40:29.268 Info HttpServer: HTTP POST http://192.168.1.100:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:29.269 Info HttpServer: HTTP Response 204 to 192.168.1.120. Time: 1ms. http://192.168.1.100:8096/emby/Sessions/Playing/Progress
2020-04-06 11:40:35.022 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:35.023 Info HttpServer: HTTP Response 204 to 127.0.0.1. Time: 1ms. http://127.0.0.1:8096/emby/Sessions/Playing/Progress
2020-04-06 11:40:39.267 Info HttpServer: HTTP POST http://192.168.1.100:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:39.268 Info HttpServer: HTTP Response 204 to 192.168.1.120. Time: 1ms. http://192.168.1.100:8096/emby/Sessions/Playing/Progress
2020-04-06 11:40:44.209 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:44.284 Info HttpServer: HTTP Response 204 to 127.0.0.1. Time: 76ms. http://127.0.0.1:8096/emby/Sessions/Playing/Progress
2020-04-06 11:40:44.332 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:44.333 Info HttpServer: HTTP Response 204 to 127.0.0.1. Time: 1ms. http://127.0.0.1:8096/emby/Sessions/Playing/Progress
2020-04-06 11:40:44.377 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:44.378 Info HttpServer: HTTP Response 204 to 127.0.0.1. Time: 1ms. http://127.0.0.1:8096/emby/Sessions/Playing/Progress
2020-04-06 11:40:45.024 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:45.026 Info HttpServer: HTTP Response 204 to 127.0.0.1. Time: 1ms. http://127.0.0.1:8096/emby/Sessions/Playing/Progress
2020-04-06 11:40:47.442 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Sessions/Playing/Stopped. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/3.0.11 Chrome/80.0.3987.137 Electron/8.1.0 Safari/537.36
2020-04-06 11:40:47.443 Debug PlaystateService: ReportPlaybackStopped PlaySessionId: 
2020-04-06 11:40:47.443 Info SessionManager: Playback stopped reported by app Emby Theater 3.0.11 playing Big Hero 6. Stopped at 41124 ms
2020-04-06 11:40:47.444 Info HttpServer: HTTP Response 204 to 127.0.0.1. Time: 1ms. http://127.0.0.1:8096/emby/Sessions/Playing/Stopped

============================================

maxxcool7421
Posted
------------------

System Information

------------------

      Time of this report: 4/6/2020, 12:21:20

             Machine name: MEDIADELL

               Machine Id: {683D07D4-83F3-4CFF-85F2-DBCAD02CE009}

         Operating System: Windows 10 Pro 64-bit (10.0, Build 18363) (18362.19h1_release.190318-1202)

                 Language: English (Regional Setting: English)

      System Manufacturer: Dell Inc.

             System Model: OptiPlex 7010

                     BIOS: BRCM MBA Slot 0300 v15.4.2 (type: BIOS)

                Processor: Intel® Core i7-3770 CPU @ 3.40GHz (8 CPUs), ~3.4GHz

                   Memory: 16384MB RAM

      Available OS Memory: 16370MB RAM

                Page File: 4468MB used, 14333MB available

              Windows Dir: C:\Windows

          DirectX Version: DirectX 12

      DX Setup Parameters: Not found

         User DPI Setting: 288 DPI (300 percent)

       System DPI Setting: 288 DPI (300 percent)

          DWM DPI Scaling: UnKnown

                 Miracast: Available, with HDCP

Microsoft Graphics Hybrid: Not Supported

 DirectX Database Version: Unknown

           DxDiag Version: 10.00.18362.0387 64bit Unicode

 

---------------

Display Devices

---------------

           Card name: NVIDIA GeForce GT 1030

        Manufacturer: NVIDIA

           Chip type: GeForce GT 1030

            DAC type: Integrated RAMDAC

         Device Type: Full Device (POST)

          Device Key: Enum\PCI\VEN_10DE&DEV_1D01&SUBSYS_63363842&REV_A1

       Device Status: 0180200A [DN_DRIVER_LOADED|DN_STARTED|DN_DISABLEABLE|DN_NT_ENUMERATOR|DN_NT_DRIVER] 

 Device Problem Code: No Problem

 Driver Problem Code: Unknown

      Display Memory: 10167 MB

    Dedicated Memory: 1982 MB

       Shared Memory: 8185 MB

        Current Mode: 3840 x 2160 (32 bit) (23Hz)

         HDR Support: Supported

    Display Topology: Internal

 Display Color Space: DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709

     Color Primaries: Red(0.659180,0.339844), Green(0.244141,0.669922), Blue(0.129883,0.040039), White Point(0.312500,0.329102)

   Display Luminance: Min Luminance = 0.010000, Max Luminance = 1499.000000, MaxFullFrameLuminance = 799.000000

        Monitor Name: Generic PnP Monitor

       Monitor Model: SAMSUNG

          Monitor Id: SAM0FF1

         Native Mode: 3840 x 2160(p) (60.000Hz)

         Output Type: HDMI

Monitor Capabilities: HDR Supported (BT2020RGB BT2020YCC Eotf2084Supported )

Display Pixel Format: DISPLAYCONFIG_PIXELFORMAT_32BPP

      Advanced Color: AdvancedColorSupported 

         Driver Name: C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_e0a5a1b06de180e3\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_e0a5a1b06de180e3\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_e0a5a1b06de180e3\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_e0a5a1b06de180e3\nvldumdx.dll

 Driver File Version: 26.21.0014.4575 (English)

      Driver Version: 26.21.14.4575

         DDI Version: 12

      Feature Levels: 12_1,12_0,11_1,11_0,10_1,10_0,9_3,9_2,9_1

        Driver Model: WDDM 2.6

 Graphics Preemption: Pixel

  Compute Preemption: Dispatch

            Miracast: Not Supported

      Detachable GPU: No

 Hybrid Graphics GPU: Not Supported

      Power P-states: Not Supported

      Virtualization: Paravirtualization 

          Block List: No Blocks

  Catalog Attributes: Universal:False Declarative:True 

   Driver Attributes: Final Retail

    Driver Date/Size: 3/16/2020 5:00:00 PM, 964712 bytes

         WHQL Logo'd: n/a

     WHQL Date Stamp: n/a

   Device Identifier: {D7B71E3E-5E41-11CF-2D4A-38431BC2D735}

           Vendor ID: 0x10DE

           Device ID: 0x1D01

           SubSys ID: 0x63363842

         Revision ID: 0x00A1

  Driver Strong Name: oem2.inf:0f066de3baa39039:Section064:26.21.14.4575:pci\ven_10de&dev_1d01

      Rank Of Driver: 00CF2001

         Video Accel: 

         DXVA2 Modes: DXVA2_ModeMPEG2_VLD  DXVA2_ModeVC1_D2010  DXVA2_ModeVC1_VLD  DXVA2_ModeH264_VLD_Stereo_Progressive_NoFGT  DXVA2_ModeH264_VLD_Stereo_NoFGT  DXVA2_ModeH264_VLD_NoFGT  DXVA2_ModeHEVC_VLD_Main  DXVA2_ModeHEVC_VLD_Main10  DXVA2_ModeMPEG4pt2_VLD_Simple  DXVA2_ModeMPEG4pt2_VLD_AdvSimple_NoGMC  DXVA2_ModeVP9_VLD_Profile0  DXVA2_ModeVP9_VLD_10bit_Profile2 
Posted

Please attach the complete emby server log, and the ffmpeg log (if there was one). thanks.

maxxcool7421
Posted

Please attach the complete emby server log, and the ffmpeg log (if there was one). thanks.

I upped my TCP transmit and received buffers on my NIC,  and in two rounds of testing have not seen the issue.  stay tuned ... do more comprehensive testing later.

Posted

Thanks for the feedback.

maxxcool7421
Posted (edited)

Thanks for the feedback.

I am calling it resolved. After upping the buffers on the NIC in windows the issue seems to no longer occur. :) 

 

for others reference : Control Panel > Network and sharing center > change adapter settings > right click + properties of your NIC > 'configure' > Advanced > 

   ---max out Transmit buffers

   ---max out receive buffers

 

 

Edited by maxxcool7421
Posted

Thanks for the feedback.

  • Solution
Peter Nent
Posted (edited)

I've had simular problems and after long investigating it, it became clear that the problem was generated by my internet router: the firmware of the router caused so called NAT loopback error and eventually crashed the router-restarted-crashed-etc.

 

Thus at my situation the problem didn't come from Emby, but a NAT loopback error of my router...

 

 

Thnx & regards,

Peter  

Edited by Peter Nent
  • Like 1
Posted

Thanks for the feedback !

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...