Cannot launch DVD playback
#16
Tested 19067 and it works fine ..
Reply
#17
CrashX Wrote:Tested 19067 and it works fine ..

For DVD playback? and is it a fresh install?
Reply
#18
yes dvd playback ... I updated to latest via XBMC Updater ..

I have an one internal dvd drive .. How about you ?
Reply
#19
Nope, 19607 - latest on XBMC Update - doesn't work here.
Reply
#20
I IDE DVD DRIVE here on a HTPC XP SP3 system. I'll test it on my Vista system.

Does Rev18627-jester.exe work for DVD playback for you ccMatrix?
Reply
#21
AzzX Wrote:I IDE DVD DRIVE here on a HTPC XP SP3 system. I'll test it on my Vista system.

Does Rev18627-jester.exe work for DVD playback for you ccMatrix?

Yes, Rev1867-jester works. The latest build I tested that works Rev19161. The first build I tried that doesn't work is Rev19255. I don't have any SVN builds between these two.

From the changelogs I see that there were several updates to the two dlls libdvdcss-2.dll and libdvdnav.dll so my guess it that the issue was introduced with one of these updates.

The system with the issue runs Windows Vista x64 Business. DVD drive is a Pioneer DVR-108 IDE drive in an external USB 2.0 case.
Reply
#22
I tested DVD playback with build 19067 on my Vista 64 system and DVD playback works. Why it wont work on XP is beyond me.
Reply
#23
EDIT: I have got the issue down to the libdvdnav.dll (as ccMatrix pointed out) in system\players\dvdplayer. Replacing the 19067 build with the same file from Rev19161 works again for dvd playback under my XP HTPC system.

No issue with Vista on my main PC.
Reply
#24
AzzX Wrote:EDIT: I have got the issue down to the libdvdnav.dll (as ccMatrix pointed out) in system\players\dvdplayer. Replacing the 19067 build with the same file from Rev19161 works again for dvd playback under my XP HTPC system.

No issue with Vista on my main PC.

Please read my post again. Rev19161 and older works!!! BUT any newer one doesn't Rev19255 and newer DO NOT
Reply
#25
Rev19255 and newer do work with the older libdvdnav.dll as I posted.
Reply
#26
Since everyone seems to be confused here, I'll tell you the problem.

libdvdnav was reved to the current version from mplayerhq. This is causing random issues with real DVD playback on win32pc where libdvdnav does not seem to get the device/path correct. We don't quite understand why it works on some windows boxes and does not on others.

if you look at;

http://xbmc.org/log/branches/linuxport/X...dvdnav.dll

you can see the history. 19195 brought in the new version. pre-19195 uses the previous version.

You can "fix" this by using libdvdnav.dll from pre-19195. "fix" because this only works around the problem rather than actually fixing it which is what we are more interested in.
Reply
#27
I was confused because AzzX wrote version 19067 instead of 19607 Wink

Is there a Visual Studio project for Windows to debug just the libdvdnav.dll file? Since the error happens on my machine I can maybe help locating it. I found the libdvdcss source in the mplayer SVN but they don't have a libdvdnav folder. The source from http://dvd.cvs.sourceforge.net/dvd/ is probably isn't it since it hasn't been touched for a long time.
Reply
#28
ccMatrix Wrote:I was confused because AzzX wrote version 19067 instead of 19607 Wink

Is there a Visual Studio project for Windows to debug just the libdvdnav.dll file? Since the error happens on my machine I can maybe help locating it. I found the libdvdcss source in the mplayer SVN but they don't have a libdvdnav folder. The source from http://dvd.cvs.sourceforge.net/dvd/ is probably isn't it since it hasn't been touched for a long time.

There is no Visual Studio project for Windows to build libdvdnav and friends.

wrong source URL. look in xbmc/cores/dvdplayer/Codecs/libdvd, that's the new source. It's not a libdvdnav/libdvdread/libdvdcss problem. It's a problem with the path that is passed to libdvdnav. So look in CDVDInputStreamNavigator::Open where m_dll.dvdnav_open call is and above.
Reply
#29
davilla Wrote:This is causing random issues with real DVD playback on win32pc where libdvdnav does not seem to get the device/path correct.

Where do you get this information? IIRC one of the logfile shows "can't stat h:" but h: was the right device path as the user told.
I tried with only my hw drive and with some virtual daemon drives and the first drive always wored (r19637)
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#30
http://pastebin.com/d688d676c shows two things

Quote:21:59:39 T:4512 M:4294967295 NOTICE: DVDPlayer: Opening: dvd://1
21:59:39 T:4512 M:4294967295 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
21:59:39 T:3456 M:4294967295 NOTICE: Creating InputStream
21:59:39 T:3456 M:4294967295 ERROR: perror:
21:59:39 T:3456 M:4294967295 ERROR: Error on dvdnav_open
21:59:39 T:3456 M:4294967295 ERROR: CDVDPlayer::OpenInputStream - error opening [H:]
and


Quote:22:00:56 T:4512 M:4294967295 NOTICE: DVDPlayer: Opening: dvd://1
22:00:56 T:4512 M:4294967295 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
22:00:56 T:3332 M:4294967295 DEBUG: thread start, auto delete: 0
22:00:56 T:3332 M:4294967295 NOTICE: Creating InputStream
22:00:56 T:3332 M:4294967295 DEBUG: Win32DllLoader::Load(special://xbmc/system/players/dvdplayer/libdvdnav.dll)
22:00:56 T:3332 M:4294967295 DEBUG: LoadLibraryA('libdvdcss-2.dll')
22:00:56 T:3332 M:4294967295 DEBUG: Win32DllLoader::Load(special://xbmc/system/players/dvdplayer/libdvdcss-2.dll)
22:00:56 T:3332 M:4294967295 DEBUG: LoadLibrary('libdvdcss-2.dll') returning: 04A132A8
22:00:56 T:3332 M:4294967295 INFO: msg: libdvdnav: Using dvdnav version SVN-r19116
22:00:56 T:3332 M:4294967295 INFO: msg: libdvdread: Using libdvdcss version 1.2.10 for DVD access
22:00:56 T:3332 M:4294967295 INFO: msg: libdvdread: Can't stat H:
NOTICE: DVDPlayer: Opening: dvd://1

The stat of course fails because you can't stat a device. This stat call from libdvdnav can be trapped in our wrapper as libdvdnav is wrapped. But the problem is, it's getting "H://" passed into "m_dll.dvdnav_open" so nothing it can do but fail.


m_dll.dvdnav_open wants to see something like H://VIDEO_TS

"dvd://1" is interesting because it also seems to get mapped to "H://", so something is funny with paths involving the DVD drive.

set a br in CDVDInputStreamNavigator::Open and backtrack why the path is wrong should find it.

Of course this is speculation since I can't build/debug XBMC for Windows.
Reply

Logout Mark Read Team Forum Stats Members Help
Cannot launch DVD playback0