<br><br><div class="gmail_quote">On Sun, Nov 27, 2011 at 1:52 PM, Lawrence Rust <span dir="ltr"><<a href="mailto:lvr@softsystem.co.uk">lvr@softsystem.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
I use my Myth box to, amongst other things, play and archive DVDs. For<br>
this reason, back in May I presented a patch to reinstate the ripping of<br>
DVD ISO images and the myth transcode daemon:<br>
<a href="http://www.mythtv.org/pipermail/mythtv-dev/2011-May/070839.html" target="_blank">http://www.mythtv.org/pipermail/mythtv-dev/2011-May/070839.html</a><br>
<br>
This had limited appeal, partly because the ripped images are encrypted<br>
and thus can't be played back from a storage group using the myth wire<br>
protocol.<br>
<br>
I had a flash of inspiration a few weeks ago and realised that it would<br>
be possible to read the raw iso image blocks on the BE using<br>
libdvdreader which would then use libdvdcss, if available, and send them<br>
to the FE in decrypted form.<br>
<br>
For iso images I replaced the current FileRingBuffer with a class that<br>
uses libdvdread to decrypt the raw blocks. The real heart of the change<br>
is in creating a list of blocks that need decrypting and then in<br>
safe_read() lookup the blocks requested in that list and decrypt them if<br>
necessary. The lookup is necessary since, if a block is unencrypted<br>
like ifo files, the decryption operation corrupts the data.<br>
<br>
I've been using the patch for a couple of weeks now on fixes/<a href="http://0.24.1." target="_blank">0.24.1.</a> So<br>
if anyone else would like to try the patch for current git fixes/0.24.1:<br>
<a href="http://www.softsystem.co.uk/download/mythtv/fixes024-dvd-iso-image.patch" target="_blank">http://www.softsystem.co.uk/download/mythtv/fixes024-dvd-iso-image.patch</a><br>
or for current git master:<br>
<a href="http://www.softsystem.co.uk/download/mythtv/master-dvd-iso-image.patch" target="_blank">http://www.softsystem.co.uk/download/mythtv/master-dvd-iso-image.patch</a><br></blockquote><div><br>Nice work. I hope it gets included. I will try this as soon as i get the time. Have been missing the possibility to use my DVD isos since i moved to SGs.<br>
<br>/Stefan<br></div></div>