Kodi Community Forum

Full Version: Netflix + External Player?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, Netflix Add-on (input stream) works perfeclty in Kodi with internal player. But...

I would like to enhance viewing of Netflix with additional video and audio renderers (madVR, DmitriRender, JRiver room correction, ...), hence I need to go through MPC-HC.

So, I try to use it with MPC-HC to open the video stream through the add on's service, but the player says "
Failed to render the file".
Settings seems ok since the argument received is something like: http://localhost:7968/manifest?id=81026918 
... and should be the same as the one used by internal player of Kodi whith which it works perfecly well.

I don't understand what's going on. Can someone help me please?

To gather more logging details, I lauched VLC with logging, and I get an error message which might give more clues: 
xml error: XML parser error (line 1) : Namespace prefix widevine on license is not defined

I also got some feedback from 
Stefano Gottardo, author of the Netflix add-on (astagnaIT/plugin.video.netflix), and he says the followings:
"the addon not handle the playback
the addon only provides a netflix manifest data to inputstream addon. so inputstream addon manage the streams, and communicate to Kodi what streams link to use
you have to ask in the forum kodi if exsists a way to manage externally the DRM streams
i have some doubts that this may work"

I hope I can get an answer because going through MPC-HC would greatly improve images of Netfix.

Thank you in advance!

PS: more details below... (both work perfeclty with video files - not iso files though which require mounting the iso first but this is out of scope here)

1: setup with MPC-HC

playercorefactory.xml
xml:
 <playercorefactory>
  <players>
    <player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
      <filename>C:\Users\Devidin\AppData\Roaming\Kodi\userdata\startmpchc.bat</filename>
      <args>{1} /fullscreen /close</args>
      <hidexbmc>false</hidexbmc>
      <hideconsole>false</hideconsole>
      <warpcursor>none</warpcursor>
    </player>
  </players>
  <rules action="prepend">
    <rule video="true" player="MPC-HC"/>
  </rules>
 </playercorefactory>


startmpchc.bat
cpp:
echo %*
echo %* > "C:\Users\Devidin\AppData\Roaming\Kodi\userdata\startmpchc.log"
"C:\Program Files\MPC-HC\mpc-hc64.exe" %*

1: setup with VLC
playercorefactory.xml
xml:
<playercorefactory>
  <players>
    <player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
      <filename>C:\Users\Devidin\AppData\Roaming\Kodi\userdata\startmpchc.bat</filename>
      <args>"{1}" /fullscreen /close</args>
      <hidexbmc>false</hidexbmc>
      <hideconsole>false</hideconsole>
      <warpcursor>none</warpcursor>
    </player>
    <player name="VLC" type="ExternalPlayer" audio="false" video="true">
      <filename>C:\Users\Devidin\AppData\Roaming\Kodi\userdata\startvlc.bat</filename>
      <args>"{1}"</args>
      <hidexbmc>false</hidexbmc>
      <hideconsole>false</hideconsole>
      <warpcursor>none</warpcursor>
    </player>
  </players>
  <rules action="prepend">
    <rule video="true" player="VLC"/>
  </rules>
 </playercorefactory>

startvlc.bat
cpp:
echo %*
echo %* > "C:\Users\Devidin\AppData\Roaming\Kodi\userdata\startvlc.log"
"C:\Program Files\VideoLAN\VLC\vlc.exe" %* --file-logging --log-verbose=1 --logfile="C:\Users\Devidin\AppData\Roaming\Kodi\userdata\vlc.log"

vlc.log
[size=medium][size=medium][color=#074454][font=Courier New,Courier,monospace]==============================
-- logger module started --
mmdevice error: cannot get selected device {0.0.0.00000000}.{584a4def-5c33-4c98-b951-eaec5b5f5a98} (error 0x80070490)
mmdevice error: cannot get device identifier (error 0x80070490)
main: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.

xml error: XML parser error (line 1) : Namespace prefix widevine on license is not defined

xml error: XML parser error (line 1) : Namespace prefix widevine on license is not defined


adaptive warning: Unknown uuid type box
adaptive warning: Unknown uuid type box
adaptive warning: unknown box type pssh (incompletely loaded)
adaptive warning: unknown box type pssh (incompletely loaded)
adaptive warning: unknown box type pssh (incompletely loaded)
adaptive warning: unknown box type avcC (incompletely loaded)
adaptive warning: Unknown uuid type box
adaptive warning: unknown box type schm (incompletely loaded)
adaptive warning: Unknown uuid type box
adaptive warning: unknown box type schm (incompletely loaded)
adaptive warning: unknown box type tenc (incompletely loaded)
adaptive warning: unknown box type ssix (incompletely loaded)
adaptive warning: out of bound child uuid
adaptive warning: out of bound child uuid
mp4 warning: Unknown uuid type box
mp4 warning: Unknown uuid type box
mp4 warning: unknown box type pssh (incompletely loaded)
mp4 warning: unknown box type pssh (incompletely loaded)
mp4 warning: unknown box type pssh (incompletely loaded)
mp4 warning: unknown box type avcC (incompletely loaded)
mp4 warning: Unknown uuid type box
mp4 warning: unknown box type schm (incompletely loaded)
mp4 warning: Unknown uuid type box
mp4 warning: unknown box type schm (incompletely loaded)
mp4 warning: unknown box type tenc (incompletely loaded)
mp4 warning: elst box found
mp4 warning: no chunk defined
mp4 warning: STTS table of 0 entries
mp4 warning: CTTS table of 0 entries
mp4 warning: Original Format Box: avc1
mp4 error: missing avcC
mp4 warning: unknown box type ssix (incompletely loaded)
mp4 warning: Unknown uuid type box
mp4 warning: unknown box type saiz (incompletely loaded)
mp4 warning: unknown box type saio (incompletely loaded)
mp4 warning: Unknown uuid type box
mp4 warning: out of bound child     
mp4 warning: out of bound child     
mp4: Fragment sequence discontinuity detected 1 != 0
mp4 warning: unknown box type      (incompletely loaded)
mp4 warning: truncated box      discarded
mp4 warning: unknown box type      (incompletely loaded)
mp4 warning: truncated box      discarded
adaptive warning: Unknown uuid type box
adaptive warning: Unknown uuid type box
adaptive warning: out of bound child ssix
adaptive warning: out of bound child ssix
mp4 warning: Unknown uuid type box
mp4 warning: Unknown uuid type box
mp4 warning: no chunk defined
mp4 warning: STTS table of 0 entries
mp4 warning: CTTS table of 0 entries
mp4 warning: unknown box type ssix (incompletely loaded)
mp4 warning: found an invalid sized 0 box      @62717
mp4 warning: found an invalid sized 0 box      @62717
mp4 warning: found an invalid sized 0 box      @62717
mp4 warning: found an invalid sized 0 box      @62717
main error: module not functional
main error: failed to create audio output
main error: buffer deadlock prevented
main error: buffer deadlock prevented
-- logger module stopped --
-- logger module started --
mmdevice error: cannot get selected device {0.0.0.00000000}.{584a4def I need to go through MPC-HC.-5c33-4c98-b951-eaec5b5f5a98} (error 0x80070490)
mmdevice error: cannot get device identifier (error 0x80070490)
main: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
xml error: XML parser error (line 1) : Namespace prefix widevine on license is not defined

xml error: XML parser error (line 1) : Namespace prefix widevine on license is not defined

adaptive warning: Unknown uuid type box
adaptive warning: Unknown uuid type box
adaptive warning: unknown box type pssh (incompletely loaded)
adaptive warning: unknown box type pssh (incompletely loaded)
adaptive warning: unknown box type pssh (incompletely loaded)
adaptive warning: unknown box type avcC (incompletely loaded)
adaptive warning: Unknown uuid type box
adaptive warning: unknown box type schm (incompletely loaded)
adaptive warning: Unknown uuid type box
adaptive warning: unknown box type schm (incompletely loaded)
adaptive warning: unknown box type tenc (incompletely loaded)
adaptive warning: unknown box type ssix (incompletely loaded)
adaptive warning: out of bound child uuid
adaptive warning: out of bound child uuid
mp4 warning: Unknown uuid type box
mp4 warning: Unknown uuid type box
mp4 warning: unknown box type pssh (incompletely loaded)
mp4 warning: unknown box type pssh (incompletely loaded)
mp4 warning: unknown box type pssh (incompletely loaded)
mp4 warning: unknown box type avcC (incompletely loaded)
mp4 warning: Unknown uuid type box
mp4 warning: unknown box type schm (incompletely loaded)
mp4 warning: Unknown uuid type box
mp4 warning: unknown box type schm (incompletely loaded)
mp4 warning: unknown box type tenc (incompletely loaded)
mp4 warning: elst box found
mp4 warning: no chunk defined
mp4 warning: STTS table of 0 entries
mp4 warning: CTTS table of 0 entries
mp4 warning: Original Format Box: avc1
mp4 error: missing avcC
mp4 warning: unknown box type ssix (incompletely loaded)
mp4 warning: Unknown uuid type box
mp4 warning: unknown box type saiz (incompletely loaded)
mp4 warning: unknown box type saio (incompletely loaded)
mp4 warning: Unknown uuid type box
mp4 warning: out of bound child     
mp4 warning: out of bound child     
mp4: Fragment sequence discontinuity detected 1 != 0
mp4 warning: unknown box type      (incompletely loaded)
mp4 warning: truncated box      discarded
mp4 warning: unknown box type      (incompletely loaded)
mp4 warning: truncated box      discarded
adaptive warning: Unknown uuid type box
adaptive warning: Unknown uuid type box
adaptive warning: out of bound child ssix
adaptive warning: out of bound child ssix
mp4 warning: Unknown uuid type box
mp4 warning: Unknown uuid type box
mp4 warning: no chunk defined
mp4 warning: STTS table of 0 entries
mp4 warning: CTTS table of 0 entries
mp4 warning: unknown box type ssix (incompletely loaded)
mp4 warning: found an invalid sized 0 box      @62717
mp4 warning: found an invalid sized 0 box      @62717
mp4 warning: found an invalid sized 0 box      @62717
mp4 warning: found an invalid sized 0 box      @62717
main error: module not functional
main error: failed to create audio output
main error: buffer deadlock prevented
main error: buffer deadlock prevented
-- logger module stopped --
(2019-11-21, 11:59)devidin Wrote: [ -> ]But...

Next time, please use a pastebin website for log files.
We don't need clutter on our forum server.
Hi,
I'm very interested in this topic. Did you find any solution to use external player with Netflix plugin?
Aye. I'm dying to know, too.
I loved using SVP (motion interpolation) with Kodi 17 but newer versions needed for the Netflix addon don't have a DS (DirectShow) player fork so I was hoping an external player like PotPlayer could restore this feature, but unfortunately I just get a manifiest something stream with a "codec not found" error or a corrupted stream (though subtitle works) with other addons.
By the way, here's a response from the addon developer:
Quote:the addon not handle the playback
the addon only provides a netflix manifest data to inputstream addon. so inputstream addon manage the streams, and communicate to Kodi what streams link to use
you have to ask in the forum kodi if exsists a way to manage externally the DRM streams
i have some doubts that this may work
https://github.com/CastagnaIT/plugin.vid...issues/323

So unless there's a player capable of DRM-protected stream, I doubt this would work.
Even if it did, it'd probably be glitchy or limited like the Amazon VOD addon, which apparently doesn't even support HD in Kodi on Windows https://github.com/Sandmann79/xbmc/issue...1039091369
correction:
amazon does not support HD on Level 3 widevine
windows does not support Level 1 widevine

it has nothing to do with the quality of the addon, its just the way the streaming world works now