[FFmpeg-trac] #7757(avformat:new): mpegts muxer HEVC: invalid output DTS values

FFmpeg trac at avcodec.org
Tue Mar 12 12:54:09 EET 2019


#7757: mpegts muxer HEVC: invalid output DTS values
-------------------------------------+-------------------------------------
             Reporter:  Ace17        |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avformat
              Version:  unspecified  |               Resolution:
             Keywords:  hevc dts     |               Blocked By:
  mpegts                             |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by Ace17):

 I seems so, because the mpegts muxer is under different conditions:

 A) AVPacket.pts and AVPacket.dts are fully specified,
 av_interleaved_write_frame doesn't report any error, and the output
 transport stream has invalid DTS values.

 B) AVPacket.pts and AVPacket.dst are not specified,
 av_interleaved_write_frame reports an error and no output file is
 produced.

 Moreover, B) might be a lot harder to get to work, as it involves
 reconstructing the picture display order from the HEVC elementary stream,
 to compute a PTS and a DTS. In A), the PTS and DTS are provided by the
 program.

 (Of course, I might be wrong about this, and both problematic behaviors
 might have the same root issue.)

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


More information about the FFmpeg-trac mailing list