[FFmpeg-trac] #9382(ffmpeg:new): Wrong TB returned for use in '-bsf setts'

FFmpeg trac at avcodec.org
Sun Aug 22 10:45:25 EEST 2021


#9382: Wrong TB returned for use in '-bsf setts'
-------------------------------------+----------------------------------
             Reporter:  markfilipak  |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  ffmpeg
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  1            |
-------------------------------------+----------------------------------
Changes (by mkver):

 * analyzed:  0 => 1
 * component:  undetermined => ffmpeg

Comment:

 output_packet() in ffmpeg.c (where the bsfs are applied) indeed gets
 packets in the muxer's timebase, see e.g. lines 2109-2127 in ffmpeg.c.

 PS: Simply setting the pts the way you intend to will not work, because of
 frame reordering (B-frames). Use makemkv to remux DVDs.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9382#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list