[FFmpeg-trac] #7895(avformat:new): Incorrect video framerate due to no timestamp interpolation for H.264/HEVC
FFmpeg
trac at avcodec.org
Sun May 19 19:02:17 EEST 2019
#7895: Incorrect video framerate due to no timestamp interpolation for H.264/HEVC
-------------------------------------+------------------------------------
Reporter: taliho | Owner:
Type: defect | Status: new
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: mpegts hevc | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+------------------------------------
Comment (by taliho):
Replying to [comment:4 cehoyos]:
> Is this ticket related to #4813? Is it really the demuxers job to fill
in the missing information?
I looked at #4813
The problem is that the raw demuxer for hevc and h264 streams does not
provide any timestamps which mpegts needs.
This means that we cannot remux any h264 and hevc streams with the copy
option... actually not just for mpegts but matrsoka, too.
Of course, we do not have the same problem during transcoding because the
encoder outputs pts/dts timestamps.
My initial patch was targeting only the mpegts demuxer
(http://ffmpeg.org/pipermail/ffmpeg-devel/2019-May/243877.html), but this
seems a bigger issue to me.
I feel the only way to properly get pts/dts timestamps without transcoding
is to read the POC from each NAL. Otherwise, I do not see how to deal with
b-frames.
What are your thoughts?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7895#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list