Skip to content
Snippets Groups Projects
Commit 8ef2e490 authored by Martin Finkel's avatar Martin Finkel
Browse files

Docs: Add info about subtitles customization

parent 5c895883
Branches 3.x
No related tags found
No related merge requests found
......@@ -54,6 +54,10 @@ Pretty similarly to how you would do it from the CLI. Read https://wiki.videolan
## How do I enable/disable hardware decoding?
```csharp
MediaPlayer.EnableHardwareDecoding = true
```
## How do I play a YouTube video?
Like this, for example:
......@@ -75,6 +79,8 @@ using(var libVLC = new LibVLC())
# Subtitles
Full list commands and arguments https://wiki.videolan.org/VLC_command-line_help/
## How do I set subtitles?
```csharp
......@@ -92,10 +98,24 @@ using(var libVLC = new LibVLC())
}
```
## How do I change the subtitle font?
## How do I change the subtitle font size?
```csharp
media.AddOption(":freetype-rel-fontsize=10"); // Usually 10, 13, 16 or 19
```
## How do I change the subtitle color?
```csharp
media.AddOption(":freetype-color=16711680"); // Red
```
## How do I change the subtitle encoding?
```csharp
media.AddOption(":subsdec-encoding=Windows-125");
```
# How do I change aspect ratio?
# How do I change the movie play rate?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment