Re: [FFmpeg-trac] #5846(avformat:open): Support writing BOM in SRT muxer

2021-08-19 Thread FFmpeg
#5846: Support writing BOM in SRT muxer
-+
 Reporter:  edumj|Owner:  (none)
 Type:  enhancement  |   Status:  open
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:
 Keywords:  srt  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+
Comment (by Balling):

 Option -bom never existed before. h264_changesps bitstream filter is not
 part of official ffmpeg, but part of a fork.
-- 
Ticket URL: 
FFmpeg 
FFmpeg issue tracker___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-trac] #5846(avformat:open): Support writing BOM in SRT muxer

2016-10-14 Thread FFmpeg
#5846: Support writing BOM in SRT muxer
-+
 Reporter:  edumj|Owner:
 Type:  enhancement  |   Status:  open
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:
 Keywords:  srt  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+

Comment (by edumj):

 Hi,

 did you see SubRip.exe options capture? It adds BOM by default.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5846(avformat:open): Support writing BOM in SRT muxer

2016-09-22 Thread FFmpeg
#5846: Support writing BOM in SRT muxer
-+
 Reporter:  edumj|Owner:
 Type:  enhancement  |   Status:  open
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:
 Keywords:  srt  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+

Comment (by edumj):

 Replying to [comment:16 richardpl]:
 > It could but it is not needed. Use text editor which can handle unix
 line endings.

 You might not need it, but normal people use notepad by default, and it's
 very difficult to understand or to try to edit a srt with no visible line
 breaks. I've never seen a srt file without Windows line breaks before, and
 because SubRip was made only for windows, srt files should have Windows
 line breaks.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5846(avformat:open): Support writing BOM in SRT muxer

2016-09-22 Thread FFmpeg
#5846: Support writing BOM in SRT muxer
-+
 Reporter:  edumj|Owner:
 Type:  enhancement  |   Status:  open
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:
 Keywords:  srt  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+

Comment (by richardpl):

 It could but it is not needed. Use text editor which can handle unix line
 endings.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5846(avformat:open): Support writing BOM in SRT muxer

2016-09-21 Thread FFmpeg
#5846: Support writing BOM in SRT muxer
-+
 Reporter:  edumj|Owner:
 Type:  enhancement  |   Status:  open
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:
 Keywords:  srt  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+

Comment (by edumj):

 I've just tried with latest Subrip.exe, and now it makes UTF-8 with BOM by
 default! This is the options window:

 [[Image(http://i47.photobucket.com/albums/f169/edumj/Subrip.jpg)]]


 But, also now it makes "Unix Line Breaks" by default, I supose that's why
 no line breaks in notepad.exe. Could ffmpeg do "DOS/Windows Line Breaks"?

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5846(avformat:open): Support writing BOM in SRT muxer

2016-09-21 Thread FFmpeg
#5846: Support writing BOM in SRT muxer
-+
 Reporter:  edumj|Owner:
 Type:  enhancement  |   Status:  open
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:
 Keywords:  srt  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+

Comment (by edumj):

 Also SubtitleWorkshop can do srt, but it makes ANSI by default.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5846(avformat:open): Support writing BOM in SRT muxer

2016-09-21 Thread FFmpeg
#5846: Support writing BOM in SRT muxer
-+
 Reporter:  edumj|Owner:
 Type:  enhancement  |   Status:  open
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:
 Keywords:  srt  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+

Comment (by edumj):

 I'll try again with other DVDs, but here
 [https://en.m.wikipedia.org/wiki/SubRip] it says "A Unicode byte order
 mark (BOM) can be added to support any Unicode encoding with UTF-8 being
 preferred for its compatibility with CP-1252" so it should do it.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5846(avformat:open): Support writing BOM in SRT muxer

2016-09-21 Thread FFmpeg
#5846: Support writing BOM in SRT muxer
-+
 Reporter:  edumj|Owner:
 Type:  enhancement  |   Status:  open
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:
 Keywords:  srt  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+

Comment (by cehoyos):

 Replying to [comment:10 edumj]:
 > Replying to [comment:8 cehoyos]:
 > > Replying to [comment:7 edumj]:
 > > > I've just tested extracting subs from one DVD with Subrip.exe (with
 OCR) and I can choose between Unicode Little Endian or ANSI (no UTF-8).
 Even it says it must be Unicode because of special characters, but with
 ANSI it seems Ok.
 > >
 > > Does Suprip.exe write a BOM or not?
 >
 > Subrip.exe doesn't seem to write UTF-8, and AFAIK BOM is only for UTF,
 so the answer is not.

 Is there no option to force utf-8?

 > Anyway, why you ask me about Subrip.exe? It has nothing to do with this
 workflow, since I'm not ripping Dvd subs to text.

 Which other application could be the reference for srt files?

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5846(avformat:open): Support writing BOM in SRT muxer

2016-09-20 Thread FFmpeg
#5846: Support writing BOM in SRT muxer
-+
 Reporter:  edumj|Owner:
 Type:  enhancement  |   Status:  open
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:
 Keywords:  srt  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+

Comment (by edumj):

 Replying to [comment:9 ubitux]:
 > Replying to [comment:7 edumj]:
 > > ubitux, you mean add it to muxer or demuxer?
 >
 > Muxer since you want to produce srt files with a BOM. Text subtitles
 demuxers already handle them.

 Ok, but I though muxer means join streams, and demuxer means extract them.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5846(avformat:open): Support writing BOM in SRT muxer

2016-09-20 Thread FFmpeg
#5846: Support writing BOM in SRT muxer
-+
 Reporter:  edumj|Owner:
 Type:  enhancement  |   Status:  open
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:
 Keywords:  srt  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+

Comment (by edumj):

 Replying to [comment:8 cehoyos]:
 > Replying to [comment:7 edumj]:
 > > I've just tested extracting subs from one DVD with Subrip.exe (with
 OCR) and I can choose between Unicode Little Endian or ANSI (no UTF-8).
 Even it says it must be Unicode because of special characters, but with
 ANSI it seems Ok.
 >
 > Does Suprip.exe write a BOM or not?

 Subrip.exe doesn't seem to write UTF-8, and AFAIK BOM is only for UTF, so
 the answer is not.

 Anyway, why you ask me about Subrip.exe? It has nothing to do with this
 workflow, since I'm not ripping Dvd subs to text.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5846(avformat:open): Support writing BOM in SRT muxer

2016-09-20 Thread FFmpeg
#5846: Support writing BOM in SRT muxer
-+
 Reporter:  edumj|Owner:
 Type:  enhancement  |   Status:  open
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:
 Keywords:  srt  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+

Comment (by ubitux):

 Replying to [comment:7 edumj]:
 > ubitux, you mean add it to muxer or demuxer?

 Muxer since you want to produce srt files with a BOM. Text subtitles
 demuxers already handle them.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5846(avformat:open): Support writing BOM in SRT muxer

2016-09-20 Thread FFmpeg
#5846: Support writing BOM in SRT muxer
-+
 Reporter:  edumj|Owner:
 Type:  enhancement  |   Status:  open
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:
 Keywords:  srt  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+

Comment (by cehoyos):

 Replying to [comment:7 edumj]:
 > I've just tested extracting subs from one DVD with Subrip.exe (with OCR)
 and I can choose between Unicode Little Endian or ANSI (no UTF-8). Even it
 says it must be Unicode because of special characters, but with ANSI it
 seems Ok.

 Does Suprip.exe write a BOM or not?

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5846(avformat:open): Support writing BOM in SRT muxer

2016-09-19 Thread FFmpeg
#5846: Support writing BOM in SRT muxer
-+
 Reporter:  edumj|Owner:
 Type:  enhancement  |   Status:  open
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:
 Keywords:  srt  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+

Comment (by edumj):

 I've just tested extracting subs from one DVD with Subrip.exe (with OCR)
 and I can choose between Unicode Little Endian or ANSI (no UTF-8). Even it
 says it must be Unicode because of special characters, but with ANSI it
 seems Ok.

 ubitux, you mean add it to muxer or demuxer?

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5846(avformat:open): Support writing BOM in SRT muxer

2016-09-19 Thread FFmpeg
#5846: Support writing BOM in SRT muxer
-+
 Reporter:  edumj|Owner:
 Type:  enhancement  |   Status:  open
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:
 Keywords:  srt  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+
Changes (by cehoyos):

 * keywords:   => srt
 * priority:  normal => wish
 * version:  unspecified => git-master
 * status:  reopened => open


--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac