[MPlayer-users] Problems with UDFFindFile

24 views
Skip to first unread message

Kip Warner

unread,
Mar 27, 2011, 5:25:36 PM3/27/11
to mplaye...@mplayerhq.hu
Hey list,

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

signature.asc

Carl Eugen Hoyos

unread,
Mar 27, 2011, 5:39:56 PM3/27/11
to mplaye...@mplayerhq.hu
Kip Warner <kip <at> thevertigo.com> writes:

> 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

Reimar Döffinger

unread,
Mar 27, 2011, 6:02:52 PM3/27/11
to MPlayer usage questions, feature requests, bug reports

On 27 Mar 2011, at 23:25, Kip Warner <k...@thevertigo.com> wrote:
> 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.

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.

Kip Warner

unread,
Mar 28, 2011, 12:31:47 AM3/28/11
to MPlayer usage questions, feature requests, bug reports, Carl Eugen Hoyos
On Sun, 2011-03-27 at 21:39 +0000, Carl Eugen Hoyos wrote:
> Kip Warner <kip <at> thevertigo.com> writes:
>
> > 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

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

signature.asc

Kip Warner

unread,
Mar 28, 2011, 7:00:00 PM3/28/11
to MPlayer usage questions, feature requests, bug reports, Reimar Döffinger
On Mon, 2011-03-28 at 00:02 +0200, Reimar Döffinger wrote:
> > It's very strange because the disc is mounted as a regular iso9660
> > filesystem.
>
> 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.

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?

signature.asc

Reimar Döffinger

unread,
Mar 29, 2011, 4:19:37 PM3/29/11
to MPlayer usage questions, feature requests, bug reports
On Mon, Mar 28, 2011 at 04:00:00PM -0700, Kip Warner wrote:
> On Mon, 2011-03-28 at 00:02 +0200, Reimar Döffinger wrote:
> > > It's very strange because the disc is mounted as a regular iso9660
> > > filesystem.
> >
> > 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.
>
> 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.

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).

Kip Warner

unread,
Mar 29, 2011, 6:10:14 PM3/29/11
to MPlayer usage questions, feature requests, bug reports, Reimar Döffinger
On Tue, 2011-03-29 at 22:19 +0200, Reimar Döffinger wrote:
> 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.

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.

signature.asc
Reply all
Reply to author
Forward
0 new messages