AMC subtitle encoding

All your suggestions, requests and ideas for future development
Post Reply
psxlover
Posts: 19
Joined: 21 Feb 2015, 17:47

AMC subtitle encoding

Post by psxlover »

Is there a way to change the encoding of subtitles when using AMC script?
-get-subtitles seems to have a "--encoding" option but it seems like the encoding is hardcoded in the AMC script.
User avatar
rednoah
The Source
Posts: 23931
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC subtitle encoding

Post by rednoah »

No. The amc script forces SubRip/UTF-8 format.
:idea: Please read the FAQ and How to Request Help.
psxlover
Posts: 19
Joined: 21 Feb 2015, 17:47

Re: AMC subtitle encoding

Post by psxlover »

I just noticed that my TV supports utf-8 subtitles, as long as it contains BOM. Is there a way to make filebot export the subtitle with BOM? (I'm currently running a modified amc script where I use "ISO-8859-7" as enconding).
User avatar
rednoah
The Source
Posts: 23931
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC subtitle encoding

Post by rednoah »

Not supported. But I'm sure there's cmdline utilities that can add that extra BOM to the beginning of the file. And you can call that automatically via --def exec and some condition to only exec that tool on subtitles.
:idea: Please read the FAQ and How to Request Help.
Post Reply