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

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

Brittney Neff replied to Brittney Neff's discussion DoStudio Registration Error
"Thanks for responding Rob, I tried the directions on the DoStudio page twice with no luck.…"
May 7
Rob Aubey replied to Brittney Neff's discussion DoStudio Registration Error
"Brittney, No one at Sony will be able to help. Can you try Windows 7? Latest versions of Windows 10…"
May 7
Brittney Neff posted a discussion

DoStudio Registration Error

Hello everyone,I recently had a hard drive failure and had to upgrade to Windows 10. I'm trying to…See More
May 7
Tobias replied to Justin Sevakis's discussion Adobe Media Encoder - passes verification?
"we use this plugin for Media Encoder, works perfect. http://www.x264pro.com"
May 7

© 2018   Created by Denny and Rob.   Powered by

Badges  |  Report an Issue  |  Terms of Service