[Bug 131220] making dvd video iso image doesn't seem to work

2007-08-08 Thread John McPherson
Public bug reported:

Binary package hint: genisoimage

ii  genisoimage1.1.2-1Creates ISO-9660 CD-ROM filesystem images
ii  cdrkit-doc 1.1.2-1Documentation for the cdrkit package suite
on feisty x86.

I can't for the life of me figure out how to create a dvd video ISO.
Either the functionality isn't working as expected, or the program needs
to give better debugging messages.

$ find image/
image/
image/VIDEO_TS
image/VIDEO_TS/VTS_01_1.VOB
image/VIDEO_TS/VTS_01_0.IFO
image/VIDEO_TS/VTS_01_3.VOB
image/VIDEO_TS/VIDEO_TS.BUP
image/VIDEO_TS/VTS_01_0.BUP
image/VIDEO_TS/VIDEO_TS.IFO
image/VIDEO_TS/VTS_01_2.VOB
image/VIDEO_TS/VIDEO_TS.VOB
image/VIDEO_TS/VTS_01_0.VOB
image/AUDIO_TS

attempt 1:

$ genisoimage -v -v -input-charset utf-8 -dvd-video -o foo.iso image/VIDEO_TS 
image/AUDIO_TS
genisoimage 1.1.2 (Linux)
Scanning image/VIDEO_TS
Scanning image/AUDIO_TS
 274   500 
Cache hit for '/..'
 275  281 image/VIDEO_TS/VIDEO_TS.BUP
 282  288 image/VIDEO_TS/VIDEO_TS.IFO
 289  363 image/VIDEO_TS/VIDEO_TS.VOB
 364  381 image/VIDEO_TS/VTS_01_0.BUP
 382  399 image/VIDEO_TS/VTS_01_0.IFO
 400 6913 image/VIDEO_TS/VTS_01_0.VOB
6914   531185 image/VIDEO_TS/VTS_01_1.VOB
  531186  1055457 image/VIDEO_TS/VTS_01_2.VOB
 1055458  1492131 image/VIDEO_TS/VTS_01_3.VOB
genisoimage: Unable to make a DVD-Video image.
Possible reasons:
  - VIDEO_TS subdirectory was not found on specified location
  - VIDEO_TS has invalid contents

ok, presumably that doesn't work because it wants to put all the files
into the / of the image, instead of a VIDEO_TS subdir.

attempt 2:

$ genisoimage -v -v -input-charset utf-8 -dvd-video -o foo.iso image
genisoimage 1.1.2 (Linux)
Scanning image
Scanning image/VIDEO_TS
Scanning image/AUDIO_TS
 278   152 
 279   500 VIDEO_TS
 28068 AUDIO_TS
Cache hit for '/..'
genisoimage: No such file or directory. Failed to open VIDEO_TS.IFO
genisoimage: Can't open VTS info.
genisoimage: Unable to parse DVD-Video structures.
Cache hit for 'VIDEO_TS/.'
Cache hit for 'VIDEO_TS/..'
Cache hit for 'AUDIO_TS/.'
Cache hit for 'AUDIO_TS/..'
genisoimage: Unable to make a DVD-Video image.
Possible reasons:
  - VIDEO_TS subdirectory was not found on specified location
  - VIDEO_TS has invalid contents

now it says it can't find VIDEO_TS.IFO ?? But if I run this again
without -dvd-video, it puts the VIDEO_TS.IFO file into the VIDEO_TS
directory


attempt 3:

$ genisoimage -v -v -input-charset utf-8 -dvd-video -o foo.iso -graft-points 
VIDEO_TS/=image/VIDEO_TS AUDIO_TS/=image/AUDIO_TS
genisoimage 1.1.2 (Linux)
Scanning image/VIDEO_TS
Scanning image/AUDIO_TS
 278   152 
 279   500 VIDEO_TS
 28068 AUDIO_TS
Cache hit for '/..'
genisoimage: No such file or directory. Can't stat 
genisoimage: Can't open device ''
genisoimage: Unable to parse DVD-Video structures.
genisoimage: Unable to make a DVD-Video image.
Possible reasons:
  - VIDEO_TS subdirectory was not found on specified location
  - VIDEO_TS has invalid contents


now it is trying to stat an empty file [strace shows stat64(, 0x...)], and it 
complains that it can't open a device?!! why is it trying to open a device?

Could the documentation please be updated to let users know exactly what
is required to make a dvd video iso, or even better the error message
from genisoimage should say exactly what the problem is instead of a
generic invalid contents message.

** Affects: cdrkit (Ubuntu)
 Importance: Undecided
 Status: New

-- 
making dvd video iso image doesn't seem to work
https://bugs.launchpad.net/bugs/131220
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 131220] making dvd video iso image doesn't seem to work

2007-08-08 Thread John McPherson
On Thu, Aug 09, 2007 at 02:23:53AM -, John McPherson wrote:
 Public bug reported:
 
 Binary package hint: genisoimage
 
 ii  genisoimage1.1.2-1Creates ISO-9660 CD-ROM filesystem images
 ii  cdrkit-doc 1.1.2-1Documentation for the cdrkit package suite
 on feisty x86.

Sigh, it appears I was missing some of the VTS for the other titles that
should have been in the directory. The following method worked once I
re-created my VIDEO_TS directory:

 attempt 2:
 
 $ genisoimage -v -v -input-charset utf-8 -dvd-video -o foo.iso image
 genisoimage 1.1.2 (Linux)
 Scanning image
 Scanning image/VIDEO_TS
 Scanning image/AUDIO_TS
  278   152 
  279   500 VIDEO_TS
  28068 AUDIO_TS
 Cache hit for '/..'
 genisoimage: No such file or directory. Failed to open VIDEO_TS.IFO
 genisoimage: Can't open VTS info.
 genisoimage: Unable to parse DVD-Video structures.
 Cache hit for 'VIDEO_TS/.'
 Cache hit for 'VIDEO_TS/..'
 Cache hit for 'AUDIO_TS/.'
 Cache hit for 'AUDIO_TS/..'
 genisoimage: Unable to make a DVD-Video image.
 Possible reasons:
   - VIDEO_TS subdirectory was not found on specified location
   - VIDEO_TS has invalid contents

So, I guess it was my fault... but still a better error message telling
me that it was expecting further VTS_nn.VOB files would have saved hours
of head-scratching :(

-- 
making dvd video iso image doesn't seem to work
https://bugs.launchpad.net/bugs/131220
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs