[mythtv-users] Playback of encrypted dvd iso images from storage group

Stefan D raptorjr08 at gmail.com
Wed Nov 30 21:08:03 UTC 2011

On Sun, Nov 27, 2011 at 1:52 PM, Lawrence Rust <lvr at softsystem.co.uk> wrote:

> Hi,
> I use my Myth box to, amongst other things, play and archive DVDs.  For
> this reason, back in May I presented a patch to reinstate the ripping of
> DVD ISO images and the myth transcode daemon:
> http://www.mythtv.org/pipermail/mythtv-dev/2011-May/070839.html
> This had limited appeal, partly because the ripped images are encrypted
> and thus can't be played back from a storage group using the myth wire
> protocol.
> I had a flash of inspiration a few weeks ago and realised that it would
> be possible to read the raw iso image blocks on the BE using
> libdvdreader which would then use libdvdcss, if available, and send them
> to the FE in decrypted form.
> For iso images I replaced the current FileRingBuffer with a class that
> uses libdvdread to decrypt the raw blocks.  The real heart of the change
> is in creating a list of blocks that need decrypting and then in
> safe_read() lookup the blocks requested in that list and decrypt them if
> necessary.  The lookup is necessary since, if a block is unencrypted
> like ifo files, the decryption operation corrupts the data.
> I've been using the patch for a couple of weeks now on fixes/0.24.1.  So
> if anyone else would like to try the patch for current git fixes/0.24.1:
> http://www.softsystem.co.uk/download/mythtv/fixes024-dvd-iso-image.patch
> or for current git master:
> http://www.softsystem.co.uk/download/mythtv/master-dvd-iso-image.patch

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20111130/59b34b64/attachment.html 

More information about the mythtv-users mailing list