DVD Studio Pro - SPRM 0: Menu Language Description Code

background image

SPRM 0: Menu Language Description Code

Each DVD player has three types of language settings: Menu (SPRM 0), Audio (SPRM 16),
and Subtitle (SPRM 18). These values are based on a two-letter code for each language
spoken. The code is derived from the lowercase ASCII value of each letter.

500

Chapter 20

Creating Scripts

background image

For example, the letters “en” represent English. The lowercase “e” is converted to an ASCII
value of 101 decimal or 65 in hexadecimal. The lowercase “n” is converted to an ASCII
value of 110 decimal or 6E in hexadecimal. When concatenated together in hexadecimal,
the value is 656E. The decimal value of 656E is 25966.

See

Language Code Table

for a complete listing of all of these language values.

It is useful to know the setting of this SPRM when dealing with multiple-language projects.
By reading the value of SPRM 0, you can determine the language the viewer wants to
see the menus displayed in. For instance, if you have a project that has menus in more
than one language, you can display menus in the language the viewer has selected.