[FFmpeg-devel] [RFC]Print a warning if a subtitle demuxer changes utf16 to utf8.
nfxjfg at googlemail.com
Tue Oct 28 10:10:18 CET 2014
On Tue, 28 Oct 2014 10:03:18 +0100
Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> On Tuesday 28 October 2014 09:57:12 am wm4 wrote:
> > > The user should be told by libavformat if it does something unexpected.
> > > Related to ticket #4059.
> > Why should it print a warning in this case, but not other cases when
> > the subtitle packets are already in UTF-8, such as Matroska?
> I'd like to print a warning in that case as well, how can I
> reproduce it?
echo -e '1\n00:00:00,000 --> 00:00:10,000\näöü' > test.srt
mkvmerge -o test.mks test.srt
ffmpeg -subcharenc latin1 -i test.mks out.srt
Broken as shit.
More information about the ffmpeg-devel