[FFmpeg-trac] #6982(undetermined:new): Convert Subtitles or Respect PTS

FFmpeg trac at avcodec.org
Fri Jan 26 18:10:51 EET 2018


#6982: Convert Subtitles or Respect PTS
-------------------------------------+-------------------------------------
             Reporter:  fliston      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  subtitles,   |               Resolution:
  dvb, pts                           |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by fliston):

 Yes.
 What I did now is to add a filter

 {{{
 [i:0x950]setpts=300000+PTS+2/TB[subs]
 }}}

 The 300000 is aprox "the start_pts of the the video" - "start_pts of the
 the subtitle".

 Is there a way to do it dynamically?

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


More information about the FFmpeg-trac mailing list