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

FFmpeg trac at avcodec.org
Fri Aug 17 14:49:00 EEST 2018


#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             |
--------------------------------------+-----------------------------------
Changes (by cehoyos):

 * keywords:  Newline, character encoding, srt, subtitles, CR+LF, LF => ass
     srt
 * version:  unspecified => git-master
 * component:  ffmpeg => avcodec


Comment:

 Replying to [ticket:7362 KnightDanila]:
 > Picture 1 - sub.ass has CRLF newline style
 > Picture 2 - sub.srt has LF newline style

 Why do you believe that one of them is wrong?

 > Can you add option -eol to choose the newline style

 Wouldn’t such an option allow to write invalid files?

 Which programs fail for a subtitle file produced by FFmpeg?

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


More information about the FFmpeg-trac mailing list