[FFmpeg-trac] #7362(avcodec:new): Newline in subtitles: sub.ass - CRLF and sub.srt - LF

FFmpeg trac at avcodec.org
Sun Feb 10 22:39:59 EET 2019


#7362: Newline in subtitles: sub.ass - CRLF and sub.srt - LF
--------------------------------------+-----------------------------------
             Reporter:  KnightDanila  |                    Owner:
                 Type:  enhancement   |                   Status:  new
             Priority:  wish          |                Component:  avcodec
              Version:  git-master    |               Resolution:
             Keywords:  ass srt       |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+-----------------------------------

Comment (by cehoyos):

 Apart from a BOM `mkvextract` produces identical output as FFmpeg.

 When transcoding attached ass subtitle file to srt, FFmpeg produces `\n`
 for the line feeds of the srt file and `\r\n` for the crlf's that are part
 of the subtitles. I don't know if this is expected.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7362#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list