koying / SPMC

fork of xbmc/kodi
Other
634 stars 257 forks source link

3D Iso / MVC files on amlogic S905X won't play in 2D #657

Open woronczak opened 7 years ago

woronczak commented 7 years ago

Hi there. Let me start out by saying thanks for all your hard work koying.

When using SPMC on an NexBox S905X player running Android 6.0.1 (and also in the Libreelec version for the amlogic hardware; this log is for Android), I am having problems with 3d files not playing in 2D.

I have set up the box so that refresh rate switching works and amlogic is enabled.

In my log, firstly I have played the movie 2010, a 2D MKV rip of a Bluray (made using MakeMKV) which works without issue.

The second movie is Batman v Superman, a 3D MVC MKV made using MakeMKV (which works fine on raspberry pi, intel nuc with special Windows 10 MVC version of Kodi). With 3d turned off (either in SPMC settings as set to "ignore" or even when watching the video in 3D and then disabling 3d using the onscreen menu) the movie displays Top and Bottom and won't let you change this via the 3D onscreen menu (it displays that 3d is disabled, the output format is Top and Bottom, which you can't change). If I manually switch my TV to 3D, then it plays as 3D (when 3d is enabled in SPMC, the TV automatically switches to 3d). THis is the same for all the 3D MVC MKVs that I have and happens even if I switch to a TV that does not support 3D (so I cannot watch the rips of the 3d movies that I have using this box, on a 2D TV).

The 3rd movie is a 3d Bluray iso of Man of Steel. If I play the "Main Title", then it plays in 2D - no problems. If I "Play in 3d" via menu, then it behaves as above - shows in Top and Bottom if SPMC 3D is disabled (so cannot watch it in 2D via this way in the menu; I mention this just for what I think is happening) or switches TV to 3D if SPMC 3d is enabled. The 3d output seems to work fine when enabled.

It seems that what is happening is that once either SPMC detects (in the MVC MKV) or the user chooses (via the "Play in 3D" menu for isos) that the file is MVC stereoscopic, it defaults to Top and Bottom display of the two streams automatically and not just when the "Enable" button is switched on in the 3d section. Hence being unable to play 3D MVC MKVs in 2D. If I disable amcodec, it plays in 2d. In regular Kodi 16.1, even with amcodec enabled, it plays (as Kodi does not have the MVC stuff you added).

Log is at http://paste.semperpax.com/psgg9a0nu

I don't know if you are going to make any changes to this given that amcodec is not supported in Kodi 17, but like I said above, there are people using the changes you made for 3d in the Libreelec for amlogic, so they might still live on anyways.

If there is any other information you need, please let me know.

woronczak commented 7 years ago

Perhaps there could be a button (like in Libreelec for the Pi) which toggles stereoscopic decoding for MVC files...?