Summary: | multimedia/kodi: Unable to resolve: libdvdnav-x86_64-freebsd.so dvdnav_get_vm........ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Alexander Vereeken <Alexander88207> | ||||||||||||
Component: | Individual Port(s) | Assignee: | Fernando Apesteguía <fernape> | ||||||||||||
Status: | Closed FIXED | ||||||||||||||
Severity: | Affects Only Me | CC: | fernape, yzrh | ||||||||||||
Priority: | --- | Flags: | yzrh:
maintainer-feedback+
yzrh: merge-quarterly? |
||||||||||||
Version: | Latest | ||||||||||||||
Hardware: | Any | ||||||||||||||
OS: | Any | ||||||||||||||
Attachments: |
|
Thanks for the bug report, I can confirm the problem -- bundled libraries. I will submit a patch as soon as possible. Created attachment 236003 [details]
Use forked libdvd
portlint -C
WARN: Makefile: Consider adding support for a NLS knob to conditionally disable gettext support.
WARN: Makefile: [43]: possible direct use of command "gmake" found. use ${GMAKE} instead.
WARN: Consider to set DEVELOPER=yes in /etc/make.conf
0 fatal errors and 3 warnings found.
Created attachment 236004 [details]
testport log (bzip2)
Created attachment 236005 [details]
Use forked libdvd (Fix variable name)
portlint -C
WARN: Makefile: Consider adding support for a NLS knob to conditionally disable gettext support.
WARN: Makefile: [42]: possible direct use of command "gmake" found. use ${GMAKE} instead.
WARN: Consider to set DEVELOPER=yes in /etc/make.conf
0 fatal errors and 3 warnings found.
Created attachment 236006 [details]
new testport log (bzip2)
Hello, thank you for your quick reply and the patch. When i want now open the DVD then it reads the DVD for one sec and then kodi closes. 2022-08-19 17:05:04.298 T:105819 INFO <general>: msg: libdvdnav: Using dvdnav version 6.0.0 2022-08-19 17:05:04.298 T:105819 DEBUG <general>: libdvdread: Couldn't find device name. 2022-08-19 17:05:04.298 T:105820 DEBUG <general>: Thread BackgroundLoader 0x8ed586100 terminating 2022-08-19 17:05:04.299 T:105819 INFO <general>: msg: libdvdnav: Unable to open device file /home/Alexander88207/DVD. 2022-08-19 17:05:04.299 T:105819 DEBUG <general>: libdvdnav: vm: dvd_read_name failed 2022-08-19 17:05:04.299 T:105819 INFO <general>: msg: libdvdnav: vm: DVD Title: 2022-08-19 17:05:04.299 T:105819 INFO <general>: msg: libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 2022-08-19 17:05:04.299 T:105819 INFO <general>: msg: 1 2022-08-19 17:05:04.299 T:105819 INFO <general>: msg: 2 2022-08-19 17:05:04.299 T:105819 INFO <general>: msg: 3 2022-08-19 17:05:04.299 T:105819 INFO <general>: msg: 4 2022-08-19 17:05:04.299 T:105819 INFO <general>: msg: 5 2022-08-19 17:05:04.299 T:105819 INFO <general>: msg: 6 2022-08-19 17:05:04.299 T:105819 INFO <general>: msg: 7 2022-08-19 17:05:04.299 T:105819 INFO <general>: msg: 8 2022-08-19 17:05:04.299 T:105819 DEBUG <general>: msg: 2022-08-19 17:05:04.300 T:105819 DEBUG <general>: Open - Setting region mask 02 2022-08-19 17:05:04.300 T:105819 INFO <general>: VideoPlayer: playing a file with menu's 2022-08-19 17:05:04.300 T:105819 INFO <general>: Creating Demuxer -------- This is the log when i try it from library file 2022-08-19 17:02:19.327 T:102212 INFO <general>: VideoPlayer::OpenFile: dvd:// 2022-08-19 17:02:19.327 T:105533 DEBUG <general>: Thread VideoPlayer start, auto delete: false 2022-08-19 17:02:19.327 T:102212 DEBUG <general>: OnPlayBackStarted: CApplication::OnPlayBackStarted 2022-08-19 17:02:19.327 T:105533 INFO <general>: Creating InputStream 2022-08-19 17:02:19.327 T:105533 DEBUG <general>: SECTION:LoadDLL(special://xbmcbin/system/players/VideoPlayer/libdvdnav-x86_64-freebsd.so) 2022-08-19 17:02:19.327 T:105533 DEBUG <general>: Loading: /usr/local/lib/kodi/system/players/VideoPlayer/libdvdnav-x86_64-freebsd.so 2022-08-19 17:02:19.327 T:105533 INFO <general>: msg: libdvdnav: Using dvdnav version 6.0.0 2022-08-19 17:02:19.327 T:105533 INFO <general>: msg: libdvdread: Can't stat 2022-08-19 17:02:19.327 T:105533 INFO <general>: msg: libdvdread: Could not open 2022-08-19 17:02:19.327 T:105533 DEBUG <general>: libdvdnav: vm: failed to open/read the DVD 2022-08-19 17:02:19.327 T:105533 ERROR <general>: Error on dvdnav_open 2022-08-19 17:02:19.327 T:105533 ERROR <general>: CVideoPlayer::OpenInputStream - error opening [] 2022-08-19 17:02:19.327 T:105533 INFO <general>: CVideoPlayer::OnExit() 2022-08-19 17:02:19.327 T:105533 DEBUG <general>: Thread VideoPlayer 0x893c71100 terminating There should be no issue regarding permissions, $USER is in the operater group and other players can access /dev/cd0 fine. Opening directly /dev/cd0 works but it doesn't gets used as DVD instead the menu stuff gets played as a normal video file. There is an open issue on github: https://github.com/xbmc/xbmc/issues/20048. I guess the problem is that Kodi does not mount DVD automatically. Could you try to mount the DVD then play it in Kodi? By the way, Kodi can read IFO from a disc image, you can choose which chapter to play that way. Since we added this patch in bug #268234, is it possible to close this one? Assuming this is fixed in bug #268234 |
Created attachment 235997 [details] kodi.log Hello, when i try to play a DVD then i get the an less useful GUI error but in the log: 2022-08-18 19:40:06.981 T:104665 INFO <general>: VideoPlayer::OpenFile: dvd:// 2022-08-18 19:40:06.981 T:108387 DEBUG <general>: Thread VideoPlayer start, auto delete: false 2022-08-18 19:40:06.981 T:104665 DEBUG <general>: OnPlayBackStarted: CApplication::OnPlayBackStarted 2022-08-18 19:40:06.981 T:108387 INFO <general>: Creating InputStream 2022-08-18 19:40:06.981 T:108387 DEBUG <general>: SECTION:LoadDLL(special://xbmcbin/system/players/VideoPlayer/libdvdnav-x86_64-freebsd.so) 2022-08-18 19:40:06.981 T:108387 DEBUG <general>: Loading: /usr/local/lib/kodi/system/players/VideoPlayer/libdvdnav-x86_64-freebsd.so 2022-08-18 19:40:06.981 T:104665 DEBUG <general>: ffmpeg[(nil)X]: [image2] Custom AVIOContext makes no sense and will be ignored with AVFMT_NOFILE format. 2022-08-18 19:40:06.981 T:108387 WARNING <general>: Unable to resolve: libdvdnav-x86_64-freebsd.so dvdnav_get_vm, reason: Undefined symbol "dvdnav_get_vm" 2022-08-18 19:40:06.981 T:108387 ERROR <general>: Unable to resolve exports from dll special://xbmcbin/system/players/VideoPlayer/libdvdnav-x86_64-freebsd.so FreeBSD stable/13-n252107 Kodi: Compiled with Encrypted DVD Support Thanks in advance for any suggestions!