[FFmpeg-trac] #9876(avcodec:new): timestamp is not correct when mux a clip into mkv
FFmpeg
trac at avcodec.org
Sun Aug 14 17:56:54 EEST 2022
#9876: timestamp is not correct when mux a clip into mkv
-------------------------------------+-------------------------------------
Reporter: lincutt | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: git-master | Resolution:
Keywords: nvenc hevc | Blocked By:
mkv |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by lincutt):
Replying to [comment:1 mkver]:
> Your duration is basically UINT32_MAX when using a 1ms timebase (as the
Matroska muxer does). The subtitle duration field is a 32 bit integer and
UINT32_MAX actually means "unknown"; PGS subtitles typically have an
unknown duration (they are cancelled/overwritten by a later packet). So it
seems that some part of the code does not treat this special value
correctly.
>
> Maybe using the -fix_sub_duration (as an input option) would help; I am
not sure.
Thanks for your suggestion, it's worked!
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9876#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list