Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 391811 - app-cdr/gcdemu-1.4.0 encrypted DVD not decrypted through cdemu, but decrypted through a HW DVD
Summary: app-cdr/gcdemu-1.4.0 encrypted DVD not decrypted through cdemu, but decrypted...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexandre Rostovtsev (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-24 20:26 UTC by Denis de La Fortelle
Modified: 2012-02-28 21:20 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denis de La Fortelle 2011-11-24 20:26:29 UTC
After installation (emerge gcdemu), all the image of any non encrypted DVD plays fine, but those of encrypted DVD are played not decrypted. Playing the DVD through a HW DD reader is fine.
Does not depends of the particular DVD region.

Reproducible: Always

Steps to Reproduce:
1. Install gcdemu-1.4.0
2. Play the image of an encrypted DVD
3.
Actual Results:  
The DVD is payed but with garbled image and sound.

Expected Results:  
The DVD plays fine as through a HW DVD reader.

This behavior could be due to the limitation of the DVD reader emulation, which does not take properly into account the DVD region part, leaving the stack always supposing that the DVD is unencrypted.
Comment 1 Denis de La Fortelle 2011-11-24 20:27:41 UTC
emerge --info
Portage 2.1.10.11 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.12.2-r0, 3.1.1-gentoo-x86_64-l1 x86_64)
=================================================================
System uname: Linux-3.1.1-gentoo-x86_64-l1-x86_64-Pentium-R-_Dual-Core_CPU_E5300_@_2.60GHz-with-gentoo-2.0.3
Timestamp of tree: Wed, 23 Nov 2011 21:15:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 googleearth dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://mirror.gentoo.no/ http://gentoo.lagis.at/"
LANG="fr_FR.utf8"
LC_ALL="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi berkdb bluetooth branding bzip2 cairo cdda cdparanoia cdr cli colord consolekit cracklib crypt css cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fontconfig fortran gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk iconv ipv6 jpeg lcms ldap libnotify lm_sensors mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio readline scanner sdl session spell sqlite sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype udev unicode usb vorbis x264 xcb xine xml xorg xulrunner xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authz_host dav dav_fs dir mime authn_file auth_digest authz_groupfile" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr en de" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-11-27 05:26:58 UTC
What command did you use to create the image of the encrypted DVD?
Comment 3 Denis de La Fortelle 2011-11-28 19:53:11 UTC
The command is always the following, from a user terminal:
dd if=/dev/sr0 of=/usr/local/share/.../name.iso bs=2048
The command ends correctly.
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-11-29 22:43:04 UTC
Confirmed.

I have sent an email to the upstream developers' mailing list asking whether this is a bug, a feature, or whether an additional step is required for playing back encrypted video dvd images; let's see what they reply.
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-11-29 23:36:09 UTC
Upstream reply:

> At the moment, at least some parts of that functionality are
> unimplemented - mostly because so far nobody has expressed interest in it.
> 
> I'll take a look at it when I find some time, though that likely won't
> be before the end of the year...

So, this feature is not supported yet, but it might appear in future versions of cdemu/gcdemu.
Comment 6 Henrik Stokseth 2011-12-03 15:16:42 UTC
With reference to the mailinglist thread, I would like to point out that there is a  chance a disc image made this way from a _scrambled_ disc will be corrupted. 

To make backups of video DVDs I suggest a ripping tool.

http://sourceforge.net/mailarchive/forum.php?thread_name=CAN0LGrFwhUs-HzvgYv7Zi%2BskspgjtQ47UvPVpZbtJubwiWK8gw%40mail.gmail.com&forum_name=cdemu-devel
Comment 7 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-01-24 20:49:07 UTC
This feature should be supported in cdemud-1.5.0 and gcdemu-1.5.0 (when choosing an image to mount, click on "extra options" in the open file dialog and select "raw image of css-encrypted dvd").
Comment 8 Denis de La Fortelle 2012-02-28 21:20:24 UTC
(In reply to comment #7)
> This feature should be supported in cdemud-1.5.0 and gcdemu-1.5.0 (when
> choosing an image to mount, click on "extra options" in the open file dialog
> and select "raw image of css-encrypted dvd").

This feature is working fine.
I am bit late, but thanks for your support!