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: 376

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

Rob Aubey posted a blog post
Mar 30
Rob Aubey replied to Scott Rossi's discussion DoStudio
"Hello Scott, Unfortunately, DoStudio is not for sale any longer. I would be interested speaking…"
Feb 8
Scott Rossi posted a discussion

DoStudio

I have a customer that wants Disc audio in Pure Audio.  I believe DoStudio was able to do it.  Is…See More
Feb 8
Justin Sevakis replied to Justin Sevakis's discussion UHD Blu-ray playback software
"Uh, well, the most recent patch brought it to v18.0.48757.9505."
Feb 1

© 2019   Created by Denny and Rob.   Powered by

Badges  |  Report an Issue  |  Terms of Service