Enum DVDTitleInfoParentalLevel
- Namespace
- VisioForge.Core.Types.MediaInfo
- Assembly
- VisioForge.Core.dll
Defines the parental control levels available in the DVD specification for content rating and access control.
[Flags]
public enum DVDTitleInfoParentalLevelFields
None = 0-
No parental level is set. The title has no parental control restrictions or the parental control system is not used.
Level8 = 32768-
Parental Level 8 - Adult content with no restrictions. Typically corresponds to NC-17 or X-rated content.
This is the least restrictive level, intended for adult audiences only. Content may include explicit violence, sexual content, or other material inappropriate for minors.
Level7 = 16384-
Parental Level 7 - Mature adult content. Often used for unrated or adult-oriented material.
Content at this level is intended for mature adults and may contain strong violence, sexual situations, or intense themes not suitable for younger viewers.
Level6 = 8192-
Parental Level 6 - Restricted content. Typically corresponds to R-rated material (17+ or with parent).
This level usually indicates content with adult themes, strong language, violence, or sexual content that requires mature judgment to view.
Level5 = 4096-
Parental Level 5 - Parents strongly cautioned. Material may be inappropriate for children under 17.
Content at this level contains material that many parents would find unsuitable for younger teenagers, including intense violence, sexual content, or drug use.
Level4 = 2048-
Parental Level 4 - Parental guidance for children under 13. Typically corresponds to PG-13 rated content.
This level indicates content that may be inappropriate for children under 13, including mild violence, brief strong language, or suggestive themes.
Level3 = 1024-
Parental Level 3 - Parental guidance suggested. Typically corresponds to PG-rated content.
Content at this level may contain material that parents might find unsuitable for young children, including mild violence, brief mild language, or scary scenes.
Level2 = 512-
Parental Level 2 - General audiences with minimal parental concern. Suitable for most children.
This level indicates content that is generally suitable for children but may contain very mild themes or situations that very young children might find confusing.
Level1 = 256-
Parental Level 1 - General audiences, all ages. Typically corresponds to G-rated content.
This is the most restrictive level, indicating content suitable for all ages including young children. Content is free from violence, strong language, and adult themes.
Examples
// Check if a title is suitable for teenagers
void CheckTitleRating(DVDTitleInfo title)
{
// Player is set to Level 4 (PG-13 equivalent)
const DVDTitleInfoParentalLevel playerLevel = DVDTitleInfoParentalLevel.Level4;
// Check if title is accessible at this level
if ((title.ParentalLevel & playerLevel) == playerLevel)
{
Console.WriteLine("Title is suitable for viewing at Level 4");
}
else if (title.ParentalLevel.HasFlag(DVDTitleInfoParentalLevel.Level6) ||
title.ParentalLevel.HasFlag(DVDTitleInfoParentalLevel.Level7) ||
title.ParentalLevel.HasFlag(DVDTitleInfoParentalLevel.Level8))
{
Console.WriteLine("Title requires a higher parental level - access denied");
}
}
// Set multiple levels for a title with edited versions
void SetMultiLevelTitle(DVDTitleInfo title)
{
// This title has versions for levels 1, 4, 6, and 8
title.ParentalLevel = DVDTitleInfoParentalLevel.Level1 |
DVDTitleInfoParentalLevel.Level4 |
DVDTitleInfoParentalLevel.Level6 |
DVDTitleInfoParentalLevel.Level8;
}
Remarks
The DVD parental control system uses 8 levels to restrict access to content based on age appropriateness or content maturity. This system allows DVD players to automatically skip or block content that exceeds the configured parental control level. The levels are numbered in reverse order, where Level 1 is the most restrictive (suitable for young children) and Level 8 is the least restrictive (adult content).
How Parental Levels Work:
- DVD authors assign parental levels to titles during mastering
- Players store a parental control setting (1-8 or disabled)
- When loading a disc, the player compares title levels to its setting
- Titles exceeding the player's level are blocked or require a password
- Some DVDs include alternate versions of scenes for different levels
Multiple Levels:
This enumeration uses the [Flags] attribute because a single title can be flagged for multiple
parental levels. This allows for sophisticated content control where different versions of the
same title can be presented based on the active parental level. For example, a movie might have:
- An unedited version at Level 8
- A version with strong language removed at Level 6
- A version with violence edited at Level 4
- A family-friendly version at Level 1
Regional Differences:
The interpretation of parental levels can vary by region. While the DVD specification defines
8 levels, different countries map these to their local rating systems (MPAA in the US, BBFC in
the UK, FSK in Germany, etc.). DVD players often include region-specific parental level mappings.