Blu-ray + UHD/4K + Streaming

A community for authoring Blu-ray, 4K/UHD and more!

Information:

PSR 20 returns the region code of the player in the following 3 different forms:
0x1: Region A Player
0x2: Region B Player
0x4: Region C Player
Below are two samples of how to do HDMV Regional checks.
Sample 1 has the following:
- The disc is for Region A.
- Titles 1-3 are normal content
- Title 4 is a Title which shows a warning message for region inconsistency.
- 00999.mpls is used to show a warning message for region inconsistency.
The entry Movie Objects which are linked from the FirstPlayback Title, the TopMenu Title and other
Titles (except for Title 4) begin with the following Navigation Commands:
Move [0] {20}
And [0] 0xFF
If GPR0 != 0x1 //0x1 is Region A. Change this to 0x2 for Region B. 0x4 for Region C
JumpTitle 4


Sample 2 has the following:
- The disc is for Region A.
- 00999.mpls is used to show a warning message for region inconsistency.
The entry Movie Objects which are linked from the FirstPlayback Title, the TopMenu Title and other Titles begin with the following Navigation Commands:
Move [0] {20}
And [0] 0xFF
If GPR0 != 0x1 //0x1 is Region A. Change this to 0x2 for Region B. 0x4 for Region C
Goto 6      
PlayPL 999
TerminatePL

Views: 390

Comment by Philippe Perquin on August 26, 2011 at 11:50am

hi,

nice to see you in hdmv coding

Comment by Justin Sevakis on October 10, 2011 at 3:07am

These code samples are getting rejected by the compiler, saying, "Wrong value "GPR0" of argument."

 

Shouldn't the IF line be, "If [0] != 0x1" instead?

Comment

You need to be a member of Blu-ray + UHD/4K + Streaming to add comments!

Join Blu-ray + UHD/4K + Streaming

Latest Activity

Marc Morris posted a discussion

DoStudio - simplest way to add an "Easter Egg" link?

I've already imported the menus - is there another way to add an easer egg without changing the…See More
Jul 31
Marc Morris replied to Marc Morris's discussion DoStudio - importing Chapters XML from FCPX
"Thanks Rob. Sadly it doesn't open fcpxml files. I purchased XtoCC, but I found a bug in the…"
Jun 13
Rob Aubey replied to Marc Morris's discussion DoStudio - importing Chapters XML from FCPX
"Marc, You could try this tool to see if it will convert the TC of the XML to the correct format.…"
Jun 10
Marc Morris posted a discussion

DoStudio - importing Chapters XML from FCPX

I've recently upgraded from FCP 7 to FCPX, and I had no problem exporting XML chapters from the old…See More
Jun 7

© 2019   Created by Denny and Rob.   Powered by

Badges  |  Report an Issue  |  Terms of Service