Change Subtitles encoding

This forum is about all development around libVLC.
mpetitjean
New Cone
New Cone
Posts: 1
Joined: 18 Jul 2019 12:25

Change Subtitles encoding

Postby mpetitjean » 18 Jul 2019 12:40

Hello,

I used the axVlcPlugin21 plugin in a windows form c# application in order to play videos as soon as the user press on the dedicated button. Everything is working great but i was wondering if it was possible to change the subtitles encoding.
I'm a novice and I find nothing or nothing that I could understand.

Could someone give me some ideas ? Thank you for your help :roll:

mfkl
Developer
Developer
Posts: 739
Joined: 13 Jun 2017 10:41

Re: Change Subtitles encoding

Postby mfkl » 22 Jul 2019 07:03

Don't use axVlcPlugin, it's not maintained. Use Vlc.DotNet or LibVLCSharp.

For sub encoding see

Code: Select all

--subsdec-encoding={,system,UTF-8,UTF-16,UTF-16BE,UTF-16LE,GB18030,ISO-8859-15,Windows-1252,IBM850,ISO-8859-2,Windows-1250,ISO-8859-3,ISO-8859-10,Windows-1251,KOI8-R,KOI8-U,ISO-8859-6,Windows-1256,ISO-8859-7,Windows-1253,ISO-8859-8,Windows-1255,ISO-8859-9,Windows-1254,ISO-8859-11,Windows-874,ISO-8859-13,Windows-1257,ISO-8859-14,ISO-8859-16,ISO-2022-CN-EXT,EUC-CN,ISO-2022-JP-2,EUC-JP,Shift_JIS,CP949,ISO-2022-KR,Big5,ISO-2022-TW,Big5-HKSCS,VISCII,Windows-1258} Subtitle text encoding Set the encoding used in text subtitles
from https://wiki.videolan.org/VLC_command-line_help/
https://mfkl.github.io


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 34 guests