2021-10-24, 21:37
This is a continuation of the work done by others in Win - Intel HTPCs/NUCs & Kodi-native 3D MVC Playback which is dedicated to release prior to v19. This thread deals with Kodi v19 and beyond.
The intention of this fork is to add full frame 3D stereoscopic video playback capabilities to Kodi using a patched version of ffmpeg (video decoding), IntelMFX (HW based video decoding) & DirectX11 (HW accelerated rendering).
Upstream Kodi 3D playback is limited to Side-by-Side and Top-Bottom - both half resolution quality and this fork completes it by adding support for full-frame 3D. Due to 3rd party libraries usage (MFX) and patched ffmpeg integration, this fork will not be able to be merged to the upstream Kodi code.
TODO - add additional info on the fork here
How to determine if your setup will be able to playback 3D stereoscopic using this fork:
This fork should work fine on most of Intel's 3rd to 5th gen PCs. Specific HW can be searched on the link noted above to see if it has been reported as working in the past. I use a Gen10 and Gen4 laptops with this fork and both show full 3D correctly. The test guideline is as follows (in that specific order):
Releases:
TODO list:
Code:
The intention of this fork is to add full frame 3D stereoscopic video playback capabilities to Kodi using a patched version of ffmpeg (video decoding), IntelMFX (HW based video decoding) & DirectX11 (HW accelerated rendering).
Upstream Kodi 3D playback is limited to Side-by-Side and Top-Bottom - both half resolution quality and this fork completes it by adding support for full-frame 3D. Due to 3rd party libraries usage (MFX) and patched ffmpeg integration, this fork will not be able to be merged to the upstream Kodi code.
TODO - add additional info on the fork here
How to determine if your setup will be able to playback 3D stereoscopic using this fork:
This fork should work fine on most of Intel's 3rd to 5th gen PCs. Specific HW can be searched on the link noted above to see if it has been reported as working in the past. I use a Gen10 and Gen4 laptops with this fork and both show full 3D correctly. The test guideline is as follows (in that specific order):
- You have a 3D capable LCD or projector - aka display device
- In Windows "Display settings" dialog, you can see a "3D display mode" checkbox or a binary state slider and clicking it cause your display device to enter/exit to 3D mode
- In case you have 3D capable display and dont see this checkbox, you might need to either replace the HDMI cable to a better one, update the display card drivers, or make sure you are in single display view (and not extended or duplicated)
- In case you have 3D capable display and dont see this checkbox, you might need to either replace the HDMI cable to a better one, update the display card drivers, or make sure you are in single display view (and not extended or duplicated)
- Install this Kodi fork, download one of the 3D MKV example from Samples (wiki) and attempt play it in Kodi
- In case you see black image on both eyes or 2D image, you might need to lower the value of the MFX HW level under the Kodi player settings
- In case you only see black image only on one eye or one eye is skipping check if your GPU has a driver update
- In case you see black image on both eyes or 2D image, you might need to lower the value of the MFX HW level under the Kodi player settings
- If #1, #2, & #3 are passed - this is the fork you've been looking for
Releases:
- v20 - build 2 - 23-Jan-2023
- Changelog
- Excatly like build #1 but the "newer version" issue notification is fixed
- Excatly like build #1 but the "newer version" issue notification is fixed
- Download:
- Known Issues:
- Starting Kodi when Windows is in 3D Display mode - breaks Kodi rendering
- Workaround: Exit Kodi and disable 3D Display mode in the Windows Display Settings, after that restart Kodi
- Workaround: Exit Kodi and disable 3D Display mode in the Windows Display Settings, after that restart Kodi
- Kodi audio is broken after playing some media and audio recovers only after restarting Kodi
- Workaround: In Kodi display setting disable "Windowed Fullscreen" mode and restart Kodi to recover - might also require setting some delay in the Kodi Display setting
- Workaround: In Kodi display setting disable "Windowed Fullscreen" mode and restart Kodi to recover - might also require setting some delay in the Kodi Display setting
- Eyes are inverted on some PCs - while kodi should auto-recognize the eye order, sometimes the replacement will fail
- Workaround: during play enter the video settings and enable the eye inversion
- Workaround: during play enter the video settings and enable the eye inversion
- 3D Bluray disc menu view is broken - as it always have - mostly working
- When playing a 3D movie as a mono or with 3D disabled, there might be slowness in command response (stop/play/pause/etc...)
- Starting Kodi when Windows is in 3D Display mode - breaks Kodi rendering
- Changelog
- v20 - build 1 - 19-Jan-2023
- Changelog
- Resynced to v20
- Encrypted 2D&3D Bluray discs specific titled play flawlessly by selection - tested with MakeMKV 1.17.1
- Encrypted 2D&3D Bluray discs specific titled play flawlessly by selection - tested with MakeMKV 1.17.1
- Fixed indefinite eye sync issue which caused black screen on some movies
- Resynced to v20
- Download:
- Known Issues:
- Starting Kodi when Windows is in 3D Display mode - breaks Kodi rendering
- Workaround: Exit Kodi and disable 3D Display mode in the Windows Display Settings, after that restart Kodi
- Workaround: Exit Kodi and disable 3D Display mode in the Windows Display Settings, after that restart Kodi
- Kodi audio is broken after playing some media and audio recovers only after restarting Kodi
- Workaround: In Kodi display setting disable "Windowed Fullscreen" mode and restart Kodi to recover - might also require setting some delay in the Kodi Display setting
- Workaround: In Kodi display setting disable "Windowed Fullscreen" mode and restart Kodi to recover - might also require setting some delay in the Kodi Display setting
- Eyes are inverted on some PCs - while kodi should auto-recognize the eye order, sometimes the replacement will fail
- Workaround: during play enter the video settings and enable the eye inversion
- Workaround: during play enter the video settings and enable the eye inversion
- 3D Bluray disc menu view is broken - as it always have - mostly working
- When playing a 3D movie as a mono or with 3D disabled, there might be slowness in command response (stop/play/pause/etc...)
- Starting Kodi when Windows is in 3D Display mode - breaks Kodi rendering
- Changelog
- v19.4 - build 1 - 6-Mar-2022
- Changelog
- Resynced to v19.4
- Encrypted 2D&3D Bluray discs specific titled play flawlessly by selection - tested with MakeMKV 1.15.4 & 1.16.7
- Encrypted 2D&3D Bluray discs specific titled play flawlessly by selection - tested with MakeMKV 1.15.4 & 1.16.7
- Resynced to v19.4
- Download:
- Known Issues:
- Starting Kodi when Windows is in 3D Display mode - breaks Kodi rendering
- Workaround: Exit Kodi and disable 3D Display mode in the Windows Display Settings, after that restart Kodi
- Workaround: Exit Kodi and disable 3D Display mode in the Windows Display Settings, after that restart Kodi
- Kodi audio is broken after playing some media and audio recovers only after restarting Kodi
- Workaround: In Kodi display setting disable "Windowed Fullscreen" mode and restart Kodi to recover - might also require setting some delay in the Kodi Display setting
- Workaround: In Kodi display setting disable "Windowed Fullscreen" mode and restart Kodi to recover - might also require setting some delay in the Kodi Display setting
- Eyes are inverted on some PCs - while kodi should auto-recognize the eye order, sometimes the replacement will fail
- Workaround: during play enter the video settings and enable the eye inversion
- Workaround: during play enter the video settings and enable the eye inversion
- 3D Bluray disc menu view is broken - as it always have
- When playing a 3D movie as a mono or with 3D disabled, there might be slowness in command response (stop/play/pause/etc...)
- Starting Kodi when Windows is in 3D Display mode - breaks Kodi rendering
- Changelog
- v19.3 - build 4 - 3-Mar-2022
- Changelog
- [NEW] Update libbluray to v1.3.0 and libudfread to 1.1.2
- Bluray menus only works with 2D bluray discs as it always have
- Unencrypted 2D & 3D titles play flawlessly by selection
- Encrypted 2D&3D Bluray discs specific titled play flawlessly by selection - tested with MakeMKV 1.15.4
- Bluray menus only works with 2D bluray discs as it always have
- [NEW] Update libbluray to v1.3.0 and libudfread to 1.1.2
- Download:
- Known Issues:
- Starting Kodi when Windows is in 3D Display mode - breaks Kodi rendering
- Workaround: Exit Kodi and disable 3D Display mode in the Windows Display Settings, after that restart Kodi
- Workaround: Exit Kodi and disable 3D Display mode in the Windows Display Settings, after that restart Kodi
- Kodi audio is broken after playing some media and audio recovers only after restarting Kodi
- Workaround: In Kodi display setting disable "Windowed Fullscreen" mode and restart Kodi to recover - might also require setting some delay in the Kodi Display setting
- Workaround: In Kodi display setting disable "Windowed Fullscreen" mode and restart Kodi to recover - might also require setting some delay in the Kodi Display setting
- Eyes are inverted on some PCs - while kodi should auto-recognize the eye order, sometimes the replacement will fail
- Workaround: during play enter the video settings and enable the eye inversion
- Workaround: during play enter the video settings and enable the eye inversion
- 3D Bluray disc menu view is broken - as it always have
- Starting Kodi when Windows is in 3D Display mode - breaks Kodi rendering
- Changelog
- v19.3 - build 3 - 11-Feb-2022
- Changelog
- [FIX] 3D rendering in full screen is not working properly on some PCs
- [NEW] HSBS & HTAB can be auto converted to full resolution 3D frame packed data
- Require enabling the Auto 3D Display flag in Kodi Display settings, exit Kodi settings dialog, re-enter the Kodi Display settings (required refresh) and select Hardware Based as preferred stereoscopic mode
- Hardware Based will now always be visible when Auto 3D Display is enabled - in case HW does not support, it will revert to be the same as video or HTAB in case of frame packed MVC video
- Require enabling the Auto 3D Display flag in Kodi Display settings, exit Kodi settings dialog, re-enter the Kodi Display settings (required refresh) and select Hardware Based as preferred stereoscopic mode
- [FIX] 3D rendering in full screen is not working properly on some PCs
- Download:
- Known Issues:
- Starting Kodi when Windows is in 3D Display mode - breaks Kodi rendering
- Workaround: Exit Kodi and disable 3D Display mode in the Windows Display Settings, after that restart Kodi
- Workaround: Exit Kodi and disable 3D Display mode in the Windows Display Settings, after that restart Kodi
- Kodi audio is broken after playing some media and audio recovers only after restarting Kodi
- Workaround: In Kodi display setting disable "Windowed Fullscreen" mode and restart Kodi to recover - might also require setting some delay in the Kodi Display setting
- Workaround: In Kodi display setting disable "Windowed Fullscreen" mode and restart Kodi to recover - might also require setting some delay in the Kodi Display setting
- Eyes are inverted on some PCs - while kodi should auto-recognize the eye order, sometimes the replacement will fail
- Workaround: during play enter the video settings and enable the eye inversion
- Workaround: during play enter the video settings and enable the eye inversion
- Starting Kodi when Windows is in 3D Display mode - breaks Kodi rendering
- Changelog
- v19.3 - build 2 - 22-Nov-2021
- Changelog
- Add a new setting under System->Display to auto control 3D Display mode on Windows - defaults to true
- If you want to control the 3D Display mode manually as was done in the v18 releases, set it to false (pre-Windows 10 1803 build and below).
- If you want to control the 3D Display mode manually as was done in the v18 releases, set it to false (pre-Windows 10 1803 build and below).
- Add a new setting under System->Display to auto control 3D Display mode on Windows - defaults to true
- Download:
- Known Issues:
- 3D rendering in full screen is not working properly on some PCs
- Workaround: change the 3D stereoscopic preferred mode to Top-Bottom
- Workaround: change the 3D stereoscopic preferred mode to Top-Bottom
- Eyes are inverted on some PCs - while kodi should auto-recognize the eye order, sometimes the replacement will fail
- Workaround: during play enter the video settings and enable the eye inversion
- Workaround: during play enter the video settings and enable the eye inversion
- 3D rendering in full screen is not working properly on some PCs
- Changelog
- v19.3 - build 1 - 27-Oct-2021
- Changelog
- Code sync to Kodi v19.3 release
- Code sync to Kodi v19.3 release
- Download:
- Known Issues:
- 3D rendering in full screen is not working properly on some PCs
- Workaround: change the 3D stereoscopic preferred mode to Top-Bottom
- Workaround: change the 3D stereoscopic preferred mode to Top-Bottom
- Eyes are inverted on some PCs - while kodi should auto-recognize the eye order, sometimes the replacement will fail
- Workaround: during play enter the video settings and enable the eye inversion
- Workaround: during play enter the video settings and enable the eye inversion
- 3D rendering in full screen is not working properly on some PCs
- Changelog
- v19.2 - build 1 - 24-Oct-2021
- Changelog:
- Code sync to Kodi v19.2 release
- Code sync to Kodi v19.2 release
- Download:
- Known Issues:
- 3D rendering in full screen is not working properly on some PCs
- Workaround: change the 3D stereoscopic preferred mode to Top-Bottom
- Workaround: change the 3D stereoscopic preferred mode to Top-Bottom
- Eyes are inverted on some PCs - while kodi should auto-recognize the eye order, sometimes the replacement will fail
- Workaround: during play enter the video settings and enable the eye inversion
- Workaround: during play enter the video settings and enable the eye inversion
- 3D rendering in full screen is not working properly on some PCs
- Changelog:
- v19.1 - build 1 - 3-Jun-2021
- Changelog:
- Code sync to Kodi v19.1 release
- Auto-enable 3D mode at OS level
- Code sync to Kodi v19.1 release
- Download:
- Known Issues:
- 3D rendering in full screen is not working properly on some PCs
- Workaround: change the 3D stereoscopic preferred mode to Top-Bottom
- Workaround: change the 3D stereoscopic preferred mode to Top-Bottom
- Eyes are inverted on some PCs - while kodi should auto-recognize the eye order, sometimes the replacement will fail
- Workaround: during play enter the video settings and enable the eye inversion
- Workaround: during play enter the video settings and enable the eye inversion
- 3D rendering in full screen is not working properly on some PCs
- Changelog:
- v19 - build 2 - 30-May-2021
- Changelog:
- Add MFX level setting - by default the MFX HW level is set to 20, this might be too high for some PC with older GPUs. If this value is set too high the decoding of the 3D content will fail and you will see the video in mono rather than in 3D stereoscopic. Another symptom is that when click on "o" during the 3D video play you will see that "MSDK MVC (HW)" is not listed as the Video Decoder which is required.
- Add MFX level setting - by default the MFX HW level is set to 20, this might be too high for some PC with older GPUs. If this value is set too high the decoding of the 3D content will fail and you will see the video in mono rather than in 3D stereoscopic. Another symptom is that when click on "o" during the 3D video play you will see that "MSDK MVC (HW)" is not listed as the Video Decoder which is required.
- Download:
- Known Issues:
- 3D rendering in full screen is not working properly on some PCs
- Workaround: change the 3D stereoscopic preferred mode to Top-Bottom
- Workaround: change the 3D stereoscopic preferred mode to Top-Bottom
- Eyes are inverted on some PCs - while kodi should auto-recognize the eye order, sometimes the replacement will fail
- Workaround: during play enter the video settings and enable the eye inversion
- Workaround: during play enter the video settings and enable the eye inversion
- 3D view must be enabled manually at OS level prior to kodi start - done in Windows Display properties
- 3D rendering in full screen is not working properly on some PCs
- Changelog:
- v19 - build 1 - 23-May-2021
- Changelog:
- Code sync to Kodi v19.0 release
- Update MFX release
- Re-wire Kodi's DXVA renderer interaction with the MFX parser
- Downgrade libbluray
- Code sync to Kodi v19.0 release
- Download:
- Known Issues:
- Does not work on PCs with older GPUs - due to hardcoded MFX HW level
- 3D rendering in full screen is not working properly on some PCs -
- Workaround: change the 3D stereoscopic preferred mode to Top-Bottom
- Workaround: change the 3D stereoscopic preferred mode to Top-Bottom
- Eyes are inverted on some PCs - while kodi should auto-recognize the eye order, sometimes the replacement will fail
- Workaround: during play enter the video settings and enable the eye inversion
- Workaround: during play enter the video settings and enable the eye inversion
- 3D view must be enabled manually at OS level prior to kodi start - done in Windows Display properties
- Does not work on PCs with older GPUs - due to hardcoded MFX HW level
- Changelog:
TODO list:
- Keep up-to-date with Kodi's upstream releases - ONGOING
- Updated libbluray - to latest used by kodi - the required API for reading blurays or ISOs does not exist on the latest libbluray code - DONE
- Eye inversion not always working - most likely related to bug #1 - according to the logs Kodi identifies that the eyes should be flipped, attempt to flip them, but for some reason they are rendered out of order
- Fix bluray 3D menu view - mostly working
- Half resolution (htab/hsbs) fail play when auto upscale is active
Code:
- My patches are maintained under https://github.com/damagedspline/xbmc on top of the release branches