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

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

lilian replied to Justin Sevakis's discussion Encoding with ffmpeg
"For 29.97i to 23.976p with ffmpeg: -vf "fieldmatch=order=auto:combmatch=none,…"
Oct 6
lilian replied to Justin Sevakis's discussion Encoding with ffmpeg
"-vf "fieldmatch=order=auto:combmatch=none, decimate" or -vf…"
Oct 6
lilian replied to Justin Sevakis's discussion Encoding with ffmpeg
"Hi all, I'm using ffmpeg with x264 since a long time for BD authoring without any known…"
Oct 6
Henry Weintraub replied to Henry Weintraub's discussion Managed Copy Information error
"Thanks for the input. I may just try re-installing the OS and see if that helps."
Oct 2

© 2018   Created by Denny and Rob.   Powered by

Badges  |  Report an Issue  |  Terms of Service