Kodi Community Forum

Full Version: XBMC does not play RCE (Region Code Enhanced) protected DVD-Video disc out-of-the-box
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
http://en.wikipedia.org/wiki/DVD_region_...e_Enhanced

I have Men In Black 2 DVD. When I try it in XBMC, I see a map of the world and a message that this DVD must be played on region 1 players only.
From the wikipedia article, I know that it simply has extra track which it marks as region 2-6 and just loops this crap.

Any way of making it Just Work™?
To quote Sho, "It's because.... no wait... you didn't post a debug log! (or any other relevant info for that matter)."
touché
I thought it was a common problem
Hard to imagine I'm the first ever user to run into it Tongue
Fry-kun Wrote:touché
I thought it was a common problem
Hard to imagine I'm the first ever user to run into it Tongue

Has nothing to do with it, XBMC run on four platforms and has had two release and untold number of svn builds. I stopped guessing long ago.

Sounds like you need to set the region code of your DVD player. From the log "DEBUG: libdvdnav: Suspected RCE Region Protection!!!"
right, it *is* RCE Region Protection
So why doesn't XBMC tell the user anything about it?
Xine played this DVD perfectly in the same OS. Can't xbmc work around it automatically? Worst case, ask user what to do?

I don't remember flashing the drive to unlock the region code, maybe it came without one programmed? In fact, I remember back when I used Windows, it made me select a region when I first installed the hardware...
Fry-kun Wrote:right, it *is* RCE Region Protection
So why doesn't XBMC tell the user anything about it?
Xine played this DVD perfectly in the same OS. Can't xbmc work around it automatically? Worst case, ask user what to do?

No one was written the code to do this, are you volunteering to write the code? As always, patches are welcome Smile
Try forcing XBMC's DVDPlayer to the specific region for that DVD (in this case region "1") with "Forced DVD Player Region" under player in the video settings, this forces a region for DVD playback which it sounds like your specific DVD needs.
http://wiki.xbmc.org/?title=Videos_Settings#Player

That feature was specifically designed for the "Region Code Enhanced" functions of those DVDs. Like it sais here:
http://en.wikipedia.org/wiki/DVD_region_...e_Enhanced

Some DVDs do not supports the default region "0" (a.k.a. "region free") mode that XBMC's DVDPlayer uses, so you need to manually set the region for these DVDs. The reason Xine can play that DVD is probably that it is set to the correct region (in this case region "1") which that specific DVD wants instead of region "0".

Not sure if it is possible to fully automate this region selection for those specific RCE DVDs(?)

Patch welcomed:
http://wiki.xbmc.org/?title=Development_Notes
http://wiki.xbmc.org/?title=Category:Development
http://wiki.xbmc.org/?title=Category:Inner_Workings

Fry-kun Wrote:I don't remember flashing the drive to unlock the region code
FYI; that does not matter to RCE DVD discs, the player software must 'tell' these RCE DVD disc that it only supports the region it is protected for, and no other region, is the software player 'sais' that it supports other regions too then that RCE DVD disc will refuse to play, that is how it this RCE protection method designed. So it is in the software, not the hardware afaik.
Is this patch for libdvdcss somehow related this this issue you are having? See:
http://mailman.videolan.org/pipermail/li...00531.html
and:
http://mailman.videolan.org/pipermail/li...chment.obj
Quote:Bypassing RPC-II sanity check fails on my system

Ben Livengood ben.livengood at gmail.com
Sun Jun 14 09:04:34 CEST 2009

On Linux with revision 228 of libdvdcss, I have a DVD drive with no
player region set, but it still plays region protected DVDs with older
versions of libdvdcss. I set the environment variable
DVD_CSS_IGNORE_RPC="1", but still get failures when trying to play a
DVD.

At libdvdcss.c:381, when dvd-css->b_ignore_rpc is nonzero and i_ret is
-3 because the RPC-2 sanity check failed in _dvdcss_test(), "if( i_ret
== -3 && !dvdcss->b_ignore_rpc )" falls through to "else if( i_ret < 0
)" which disables the ioctl's, causing decryption to never be
attempted. After applying the attached patch, it works for me again.

Ben Livengood

Huh