Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248493 - [patch] app-cdr/cdrtools-2.01.01 - mkisofs video-dvd pad value bug
Summary: [patch] app-cdr/cdrtools-2.01.01 - mkisofs video-dvd pad value bug
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Optical Media project
URL: http://lists.debian.org/cdwrite/2006/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-23 23:56 UTC by Steve Arnold
Modified: 2009-04-30 01:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
mkisofs patch to make pad error non-fatal (mkisofs-2.01.01-nonfatal-pad-botch.patch,1.94 KB, patch)
2008-11-23 23:58 UTC, Steve Arnold
Details | Diff
Added extra return(0) for the 'VOB' case (cdrtools-2.01.01_nonfatal-pad-botch.patch,1.95 KB, patch)
2008-11-30 10:55 UTC, Paul Hewlett
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Arnold archtester gentoo-dev 2008-11-23 23:56:54 UTC
This still seems to be a problem with the latest versions of cdrtools (up to and including app-cdr/cdrtools-2.01.01_alpha53) as I got bit by the same error trying to create a video DVD ISO file:

$ mkisofs -dvd-video -udf -o steve_hillage.iso steve_hillage 
mkisofs: Implementation botch. Video pad for file VTS_01_0.IFO is -12
mkisofs: Either the *.IFO file is bad or you found a mkisofs bug.

This happens with perfectly valid IFO/VOB files, and the included patch allows mkisofs to create an image instead of crapping out with a hard error.  The DVD seems to play fine, even when written to a DVD+R and played on an older player.
Comment 1 Steve Arnold archtester gentoo-dev 2008-11-23 23:58:18 UTC
Created attachment 173101 [details, diff]
mkisofs patch to make pad error non-fatal
Comment 2 Paul Hewlett 2008-11-30 10:55:09 UTC
Created attachment 173854 [details, diff]
Added extra return(0) for the 'VOB' case
Comment 3 Paul Hewlett 2008-11-30 10:57:46 UTC
(In reply to comment #0)
> This still seems to be a problem with the latest versions of cdrtools (up to
> and including app-cdr/cdrtools-2.01.01_alpha53) as I got bit by the same error
> trying to create a video DVD ISO file:
> 
> $ mkisofs -dvd-video -udf -o steve_hillage.iso steve_hillage 
> mkisofs: Implementation botch. Video pad for file VTS_01_0.IFO is -12
> mkisofs: Either the *.IFO file is bad or you found a mkisofs bug.
> 
> This happens with perfectly valid IFO/VOB files, and the included patch allows
> mkisofs to create an image instead of crapping out with a hard error.  The DVD
> seems to play fine, even when written to a DVD+R and played on an older player.
> 

Hi Steve

I had a similar problem after applying your patch:

::VIDEO_TS.BUP::
::.BUP:1863::
The pad was 1863 for file VIDEO_TS.BUP
::VIDEO_TS.IFO::
::.IFO:38::
The pad was 38 for file VIDEO_TS.IFO
::VIDEO_TS.VOB::
::.VOB:-9::
mkisofs: Implementation botch. Video pad for file VIDEO_TS.VOB is -9
mkisofs: Either the *.IFO file is bad or you found a mkisofs bug.

I modified the patch to add and extra return(0), burnt the CD and it worked.
(Gentoo 2008.0 amd64 on Acer 6292 laptop)
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-30 01:20:42 UTC
Not our department, take this upstream. We don't have the expertise to judge the face validity of this patch, nor do we have the time to test it extensively to assure ourselves of its validity.