Class BluRaySourceSettings
- Namespace
- VisioForge.Core.Types.X.BluRay
- Assembly
- VisioForge.Core.dll
Blu-Ray source settings for configuring disc playback parameters. Implements the VisioForge.Core.Types.X.MediaPlayer.IMediaPlayerBaseSourceSettings.
public class BluRaySourceSettings : IMediaPlayerBaseSourceSettings, IVideoSourceSettings, IMediaBlockSettingsInheritance
Implements
Inherited Members
Constructors
BluRaySourceSettings(string)
Initializes a new instance of the VisioForge.Core.Types.X.BluRay.BluRaySourceSettings class.
public BluRaySourceSettings(string location)Parameters
locationstring-
The path to the Blu-Ray device or disc image folder.
BluRaySourceSettings(string, int)
Initializes a new instance of the VisioForge.Core.Types.X.BluRay.BluRaySourceSettings class with a location and title.
public BluRaySourceSettings(string location, int title)Parameters
locationstring-
The path to the Blu-Ray device or disc image folder.
titleint-
The title number to play (-1 for main title).
Properties
AudioStream
Gets or sets the audio stream index to select. Use -1 for automatic selection.
public int AudioStream { get; set; }Property Value
Location
Gets or sets the path to the Blu-Ray device or disc image folder (e.g., /dev/sr0 or path to BDMV directory).
public string Location { get; set; }Property Value
RenderAudio
Gets or sets a value indicating whether to render audio output.
public bool RenderAudio { get; set; }Property Value
RenderSubtitle
Gets or sets a value indicating whether to render subtitle output.
public bool RenderSubtitle { get; set; }Property Value
RenderVideo
Gets or sets a value indicating whether to render video output.
public bool RenderVideo { get; set; }Property Value
SubtitleStream
Gets or sets the subtitle stream index to select. Use -1 for automatic selection.
public int SubtitleStream { get; set; }Property Value
Title
Gets or sets the title number to play. Use -1 for the main title (longest).
public int Title { get; set; }Property Value
Methods
CreateBlock()
Creates a new MediaBlock instance configured with the settings contained in this object. This factory method allows for separation of configuration from instantiation, making it easier to serialize settings or create multiple blocks with the same configuration.
public MediaBlock CreateBlock()Returns
- MediaBlock
-
A new MediaBlock instance configured according to this settings object.
ReadInfoAsync()
Reads the information asynchronous.
public Task<MediaFileInfo> ReadInfoAsync()Returns
- Task<MediaFileInfo>
-
Task<MediaFileInfo>.