[FFmpeg-trac] #10583(avformat:new): lavf fails to probe ass file with utf16le encoding
FFmpeg
trac at avcodec.org
Sun Sep 24 00:31:47 EEST 2023
#10583: lavf fails to probe ass file with utf16le encoding
------------------------------------+------------------------------------
Reporter: llyyr | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: ass | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by llyyr):
Replying to [comment:1 mkver]:
> Your file contains two UTF-16 LE BOMs at the beginning; the subtitles.c
code strips the first one away and when streamcopying said file, the
resulting file gets an UTF-8 BOM from the second input BOM (otherwise
there would be no BOM as usual).
Ah I see, I thought this would be supported since I have quite a few files
with two BOMs at the beginning. Would a patch that adds support for
correctly probing such files be accepted?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10583#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list