Page 1 of 1

Change Subtitles encoding

Posted: 18 Jul 2019 12:40
by mpetitjean
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:

Re: Change Subtitles encoding

Posted: 22 Jul 2019 07:03
by mfkl
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/