From: Greg Russell on
I was given a home-made DVD that plays on a standard DVD player, but I'm
unable to view it on a computer, with the ultimate intention of frame-by-
frame editing using kino. Your help and/or advice is very welcomed,
please.

Diagnostics follow:

$ /sbin/lsmod | grep udf
udf 79077 0

$ cat /etc/filesystems
udf
ext3
ext2
nodev proc
nodev devpts
iso9660
vfat
hfs
hfsplus

# mount /dev/hdc /mnt/dvd
mount: Not a directory

# ls -ld /dev/hdc /mnt/dvd
brw------- 1 me disk 22, 0 Feb 7 18:43 /dev/hdc
drwxr-xr-x 2 root root 4096 Feb 7 20:42 /mnt/dvd

from /var/log/messages:
Feb 7 20:59:11 centos53 kernel: attempt to access beyond end of device
Feb 7 20:59:11 centos53 kernel: hdc: rw=0, want=1100, limit=260
Feb 7 20:59:11 centos53 kernel: ISOFS: unable to read i-node block
Feb 7 20:59:11 centos53 kernel: attempt to access beyond end of device
Feb 7 20:59:11 centos53 kernel: hdc: rw=0, want=1116, limit=260
Feb 7 20:59:11 centos53 kernel: ISOFS: unable to read i-node block

# strings -a /dev/hdc
CD001
2009_12_06_05H00M_PM

2009120704115988
2009120704115988
2109120704115988
2009120704115988
CD001
..x%/@
2009120704115988
2009120704115988
2109120704115988
2009120704115988
CD001
BEA01
NSR02
TEA01
2009_12_06_05H00M_PM
6C42586F01CA76F3PxMas
OSTA Compressed Unicode
OSTA Compressed Unicode
*PxMas
*PxMas
*UDF LV Info
OSTA Compressed Unicode
2009_12_06_05H00M_PM
*PxMas
+NSR02
*PxMas
OSTA Compressed Unicode
2009_12_06_05H00M_PM
*OSTA UDF Compliant
*PxMas
,B!0
*PxMas

From: Jerry Peters on
Greg Russell <me(a)invalid.com> wrote:
> I was given a home-made DVD that plays on a standard DVD player, but I'm
> unable to view it on a computer, with the ultimate intention of frame-by-
> frame editing using kino. Your help and/or advice is very welcomed,
> please.
>
> Diagnostics follow:
>
> $ /sbin/lsmod | grep udf
> udf 79077 0
>
> $ cat /etc/filesystems
> udf
> ext3
> ext2
> nodev proc
> nodev devpts
> iso9660
> vfat
> hfs
> hfsplus
>
> # mount /dev/hdc /mnt/dvd
> mount: Not a directory
>
> # ls -ld /dev/hdc /mnt/dvd
> brw------- 1 me disk 22, 0 Feb 7 18:43 /dev/hdc
> drwxr-xr-x 2 root root 4096 Feb 7 20:42 /mnt/dvd
>
> from /var/log/messages:
> Feb 7 20:59:11 centos53 kernel: attempt to access beyond end of device
> Feb 7 20:59:11 centos53 kernel: hdc: rw=0, want=1100, limit=260
> Feb 7 20:59:11 centos53 kernel: ISOFS: unable to read i-node block
> Feb 7 20:59:11 centos53 kernel: attempt to access beyond end of device
> Feb 7 20:59:11 centos53 kernel: hdc: rw=0, want=1116, limit=260
> Feb 7 20:59:11 centos53 kernel: ISOFS: unable to read i-node block
-----------------------------------^^^^^

Are you sure it's being mounted as UDF? What happens if you force it:
mount /dev/hdc /mnt/dvd -t udf

What does "file /dev/hdc" tell you?
>
> # strings -a /dev/hdc
> CD001

Using dvd+rw-booktype or dvd+rw-mediainfo might help.

Jerry

From: Lew Pitcher on
On February 8, 2010 16:15, in comp.os.linux.misc, jerry(a)example.invalid
wrote:

> Greg Russell <me(a)invalid.com> wrote:
>> I was given a home-made DVD that plays on a standard DVD player, but I'm
>> unable to view it on a computer, with the ultimate intention of frame-by-
>> frame editing using kino. Your help and/or advice is very welcomed,
>> please.
[snip]
> Are you sure it's being mounted as UDF? What happens if you force it:
> mount /dev/hdc /mnt/dvd -t udf
>
> What does "file /dev/hdc" tell you?

ITYM
file -s /dev/hdc

The -s flag tells file(1) to check the contents of the "special file" rather
than the special file itself

For example, I put a CD into /dev/hda, and test it with "file /dev/hda"
~ $ file /dev/hda
/dev/hda: block special (3/0)

Now, I retest with "file -s /dev/hda"
~ $ file -s /dev/hda
/dev/hda: ISO 9660 CD-ROM filesystem data UDF filesystem data (unknown
version, id 'NSR01') 'ApplixWare for Red Hat Linux '
~ $


[snip]


HTH
--
Lew Pitcher
Master Codewright & JOAT-in-training | Registered Linux User #112576
Me: http://pitcher.digitalfreehold.ca/ | Just Linux: http://justlinux.ca/
---------- Slackware - Because I know what I'm doing. ------


From: Darren Salt on
I demand that Greg Russell may or may not have written...

> I was given a home-made DVD that plays on a standard DVD player, but I'm
> unable to view it on a computer, with the ultimate intention of frame-by-
> frame editing using kino. Your help and/or advice is very welcomed, please.
[snip]

That it can be played (not "plays") on a typical DVD player is a good sign;
you should also be able to play it using more or less any video-capable media
player. For example:
gxine dvd://dev/hdc
or, if told to use /dev/hdc by default:
gxine dvd://

dvdrip may also be of use; and, as others have said, mounting it as UDF will
work for direct file access (but this probably isn't the best way of
accessing the content).

--
| Darren Salt | linux at youmustbejoking | nr. Ashington, | Doon
| using Debian GNU/Linux | or ds ,demon,co,uk | Northumberland | Army
| + This comment has been censored.

I'll turn over a new leaf.
From: Greg Russell on
On Mon, 08 Feb 2010 21:15:51 +0000, Jerry Peters wrote:

....
>> 20:59:11 centos53 kernel: ISOFS: unable to read i-node block
> -----------------------------------^^^^^
>
> Are you sure it's being mounted as UDF?

It's not being mounted at all.

> What happens if you force it:
> mount /dev/hdc /mnt/dvd -t udf

# mount /dev/hdc /mnt/dvd -t udf
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

$ dmesg | tail
ISOFS: unable to read i-node block
ISOFS: changing to secondary root
attempt to access beyond end of device
hdc: rw=0, want=1116, limit=260
ISOFS: unable to read i-node block
attempt to access beyond end of device
hdc: rw=0, want=1252, limit=260
attempt to access beyond end of device
hdc: rw=0, want=1028, limit=260
UDF-fs: No partition found (1)

# mount /dev/hdc /mnt/dvd -t iso9660
mount: Not a directory

> What does "file /dev/hdc" tell you?

$ file /dev/hdc
/dev/hdc: block special (22/0)

> Using dvd+rw-booktype or dvd+rw-mediainfo might help.

# dvd+rw-booktype -inq /dev/dvd
Unit will brand DVD+R media as DVD-ROM
Unit will brand DVD+R DL media as DVD-ROM

$ dvd+rw-mediainfo /dev/hdc
INQUIRY: [HL-DT-ST][DVD-RAM GH22LP20][1.04]
GET [CURRENT] CONFIGURATION:
Mounted Media: 14h, DVD-RW Sequential
Current Write Speed: 2.0x1385=2770KB/s
Write Speed #0: 2.0x1385=2770KB/s
Speed Descriptor#0: 00/64 R(a)8.0x1385=11080KB/s W(a)2.0x1385=2770KB/s
READ DVD STRUCTURE[#10h]:
Media Book Type: 00h, DVD-ROM book [revision 0]
Legacy lead-out at: 2298496*2KB=4707319808
READ DVD STRUCTURE[#0h]:
Media Book Type: 32h, DVD-RW book [revision 2]
Last border-out at: 4290775037*2KB=8787507275776
READ DISC INFORMATION:
Disc status: appendable
Number of Sessions: 2
State of Last Session: incomplete
"Next" Track: 2
Number of Tracks: 1
READ FORMAT CAPACITIES:
unformatted: 2297888*2048=4706074624
00h(800): 2297888*2048=4706074624
10h(10): 2297888*2048=4706074624
15h(10): 2297888*2048=4706074624
READ TRACK INFORMATION[#1]:
Track State: complete,damaged
Track Start Address: 0*2KB
Free Blocks: 1396720*2KB
Track Size: 2298496*2KB
Last Recorded Address: 901759*2KB
FABRICATED TOC:
Track#1 : 17@0
Track#AA : 17(a)65
Multi-session Info: #1@0
READ CAPACITY: 65*2048=133120

$ man dvd+rw-mediainfo
No manual entry for dvd+rw-mediainfo

.... but I can't discern anything useful from those data that will allow
me to edit the video file. Maybe you see something pertinent, please?