I would have posted somewhere more specific to libdvdnav, but
dvd-...@lists.sourceforge.net appears to be dead now.
I have a DVD on my hard drive unpacked in the usual format (VIDEO_TS
directory, etc.) and not in an ISO. If I play it back, like so, it works
no problem.
$ mplayer -dvd-device . dvd://
If I burn it to disc (I am using a dual layer 8.5 GB, since it is a
large film), libdvdnav appears to choke and I can't seem to play it back
off of the disc
$ mplayer -dvd-device /dev/sr0 dvd://2
MPlayer SVN-r33094-4.4.5 (C) 2000-2011 MPlayer Team
Playing dvd://2.
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.BU.
Can't open VMG info!
No stream found to handle url dvd://2
Exiting... (End of file)
It's very strange because the disc is mounted as a regular iso9660
filesystem. If I perform an md5 checksum on the files on the disc and
back on the hard drive, they match perfectly. If I play the individual
files back off of the disc or on the hard drive, they play fine. e.g.
$ mplayer /media/dvd/VIDEO_TS/VTS_01_0.BUP
Any ideas?
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
> I would have posted somewhere more specific to libdvdnav, but
> dvd-devel <at> lists.sourceforge.net appears to be dead now.
https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss
Carl Eugen
_______________________________________________
MPlayer-users mailing list
MPlaye...@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
Most likely that's not strange but the problem. DVDs need to have a UDF filesystem, and you probably burned it only with iso9660.
And mounting it is pointless. Well, unless maybe if you give the actual path instead of the device name to -dvd-device, though I think that won't actually make a difference.
Thanks Carl. Someone should really take down this one since it looks
like it is dead since early 2009.
http://sourceforge.net/mailarchive/forum.php?forum_name=dvd-devel
Hey Reimar. I think you might be right, but I have burned DVDs as
regular iso9660 and had them playback on standalone vanilla DVD players
without any trouble.
Nevertheless, I took your point and burned it again as UDF file system.
Something interesting happened this time.
All the files (VIDEO_TS/*) burned correctly and with proper checksums,
save one file, the last VOB (VTS_01_8.VOB) which did not burn properly.
$ md5sum VTS_01_8.VOB
md5sum: VTS_01_8.VOB: Input/output error
Checking kern.log, I noted...
sr 1:0:0:0: [sr0] Unhandled sense code
sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sr 1:0:0:0: [sr0] Sense Key : Medium Error [current]
sr 1:0:0:0: [sr0] Add. Sense: L-EC uncorrectable error
sr 1:0:0:0: [sr0] CDB: Read(10): 28 00 00 3e db c1 00 00 02 00
end_request: I/O error, dev sr0, sector 16477956
Buffer I/O error on device sr0, logical block 4119489
Buffer I/O error on device sr0, logical block 4119490
This is very strange. I wonder if this is a silly DRM issue?
They probably support both. I think there was once a patch for libdvd*
to use both, but I don't know if it was applied or if it was how to
select between them.
> sr 1:0:0:0: [sr0] Unhandled sense code
> sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
> sr 1:0:0:0: [sr0] Sense Key : Medium Error [current]
> sr 1:0:0:0: [sr0] Add. Sense: L-EC uncorrectable error
> sr 1:0:0:0: [sr0] CDB: Read(10): 28 00 00 3e db c1 00 00 02 00
> end_request: I/O error, dev sr0, sector 16477956
> Buffer I/O error on device sr0, logical block 4119489
> Buffer I/O error on device sr0, logical block 4119490
>
>
> This is very strange. I wonder if this is a silly DRM issue?
Na, that is around the end of the DVD. I'd guess the UDF file
system structures may have pushed the size to be too large for
DVD. Or you had just bad luck (I guess the chances for bad luck
are quite a bit higher for the combination second layer/outer
border of disk).
Interesting. I'd just like to see the disc be able to play on a
standalone player, so the patch probably wouldn't be too useful for me
anyways.
> > sr 1:0:0:0: [sr0] Unhandled sense code
> > sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
> > sr 1:0:0:0: [sr0] Sense Key : Medium Error [current]
> > sr 1:0:0:0: [sr0] Add. Sense: L-EC uncorrectable error
> > sr 1:0:0:0: [sr0] CDB: Read(10): 28 00 00 3e db c1 00 00 02 00
> > end_request: I/O error, dev sr0, sector 16477956
> > Buffer I/O error on device sr0, logical block 4119489
> > Buffer I/O error on device sr0, logical block 4119490
> >
> >
> > This is very strange. I wonder if this is a silly DRM issue?
>
> Na, that is around the end of the DVD. I'd guess the UDF file
> system structures may have pushed the size to be too large for
> DVD. Or you had just bad luck (I guess the chances for bad luck
> are quite a bit higher for the combination second layer/outer
> border of disk).
What do you suggest? I am burning to a dual layer DVD (8.4 GB) since
that it is too big to fit on a regular single layer DVD.