<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Blog de Stéphane Berthelot &#187; dual layer</title>
	<atom:link href="http://stephane.emisfr.info/tag/dual-layer/feed/" rel="self" type="application/rss+xml" />
	<link>http://stephane.emisfr.info</link>
	<description>Fan d’opensource, de technologies et d’autres choses palpitantes...</description>
	<lastBuildDate>Tue, 23 Nov 2010 10:35:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Layer break for DVD+R DL with growisofs / dvd+rw-tools</title>
		<link>http://stephane.emisfr.info/2009/09/11/layer-break-for-dvdr-dl-with-growisofs-dvdrw-tools/</link>
		<comments>http://stephane.emisfr.info/2009/09/11/layer-break-for-dvdr-dl-with-growisofs-dvdrw-tools/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 12:55:45 +0000</pubDate>
		<dc:creator>sberthelot</dc:creator>
				<category><![CDATA[Général @en]]></category>
		<category><![CDATA[2084960]]></category>
		<category><![CDATA[burning]]></category>
		<category><![CDATA[dual layer]]></category>
		<category><![CDATA[DVD+R DL]]></category>
		<category><![CDATA[dvd+rw-tools]]></category>
		<category><![CDATA[dvd-compat]]></category>
		<category><![CDATA[growisofs]]></category>
		<category><![CDATA[layer break]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[use-the-force-luke]]></category>

		<guid isPermaLink="false">http://stephane.emisfr.info/?p=22</guid>
		<description><![CDATA[I&#8217;ve started recently to play around with DVD+R DL because they start becoming cheaper and some applications really need them I was very surprised that the current version of growisofs / dvd+rw-tools (7.1) advertises layer break position setting support but in reality I couldn&#8217;t get it to break where I want. Looking at the code [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve started recently to play around with DVD+R DL because they start becoming cheaper and some applications really need them <img src='http://stephane.emisfr.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I was very surprised that the current version of growisofs / dvd+rw-tools (7.1) advertises layer break position setting support but in reality I couldn&#8217;t get it to break where I want.</p>
<p>Looking at the code (especially from growisofs_mmc.cpp) I found very strange that the &laquo;&nbsp;-use-the-force-luke=break:NNNN&nbsp;&raquo; option wasn&#8217;t really used either in calculations or cuesheet sending.</p>
<p>Investigating a little bit more in the code I produced the following patch that I have sent upstream to get it included somehow in the next version.</p>
<p>It allows a user (who should be careful of what it does <img src='http://stephane.emisfr.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) to manually force a layer break position for DVD+R DL burning. (For those of you who haven&#8217;t had this problem yet please notice that : DVD-R DL (minus) DO NOT allow layer position to be changed, that said you should know what to do &#8230; only DVD+R DL (plus) allow that)</p>
<p>For this patch to work you have to specify &laquo;&nbsp;-dvd-compat&nbsp;&raquo; on the command line, otherwise the cuesheet sending code is not called (I didn&#8217;t understand exactly why&#8230;) and the layer break wouldn&#8217;t be set &#8230;</p>
<p>In any case the output of growisofs command should tell you where the layer break is going to be set.</p>
<p>I&#8217;ve tested it succesfully for a dozen of DL burns with or without layer break so it should be safe enough (the patch is not very intrusive anyways ; I also tested without the option to see if the normal behavior was preserved&#8230;)</p>
<p>Use it this way :</p>
<blockquote><p>growisofs -dvd-compat [your other options here] -use-the-force-luke=break:XXXX [where XXXX is the layer break in sectors] -Z /dev/[your device]=[image.iso]</p></blockquote>
<p>for example <img src='http://stephane.emisfr.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  :</p>
<blockquote><p>growisofs -dvd-compat -use-the-force-luke=break:2084960 -use-the-force-luke=dao -Z /dev/sr0=/home/johndoe/m.iso</p></blockquote>
<p>note the dao option usage that will close the session, otherwise the disc would remain &laquo;&nbsp;open&nbsp;&raquo; if it&#8217;s not full and depending on what you burn you&#8217;d really want to close the session trust me <img src='http://stephane.emisfr.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Have an happy dual layer with positionned break burning !</p>
<p>Attachment : <a href="http://stephane.emisfr.info/files/2009/09/dvdrw-tools-7.1-layerbreaksetup.patch"> dvd+rw-tools-7.1-layerbreaksetup.patch</a></p>
<p><em>Note: use a command similar to apply (change to -p 1 depending on where you are) :</em></p>
<blockquote><p>patch -p 0 &lt; dvdrw-tools-7.1-layerbreaksetup.patch</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://stephane.emisfr.info/2009/09/11/layer-break-for-dvdr-dl-with-growisofs-dvdrw-tools/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

