Opened 8 years ago

Closed 8 years ago

#5015 closed defect (duplicate)

Subtitles default charenc CP1252 instead of UTF-8

Reported by: Machete Owned by:
Priority: minor Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
As Matroska specifications all subtitle files should be coded in UTF-8, even if srt specs admit CP1252 only, mkvtoolnix convert the files in UTF-8 anyway.
Actually Subtitles videofilter reads mkv incuded subtitles as CP1252.
Also ffmpeg online documentation specify:
"charenc
Set subtitles input character encoding. subtitles filter only. Only useful if not UTF-8."
How to reproduce:

% ffmpeg -i input -vf subtitles=input output
ffmpeg version
built on ...

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (1)

comment:1 by Carl Eugen Hoyos, 8 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.