[FFmpeg-trac] #6232(avformat:new): mpegts demuxer cannot get pkt->duration

FFmpeg trac at avcodec.org
Mon Mar 13 10:10:33 EET 2017

#6232: mpegts demuxer cannot get pkt->duration
             Reporter:  stevenliu    |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  mpegts       |               Blocked By:
  duration                           |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |

Comment (by heleppkes):

 Replying to [comment:4 stevenliu]:
 > Replying to [comment:1 heleppkes]:
 > > mpegts as a format just doesn't store a duration. There is no data to
 provide, so no data to show.
 > No the audio duration can be get, but video cannot be get

 The demuxer provides the information thats stored directly in the file on
 a container level, and there is no duration there, it is not designed to
 extract the audio duration of every known audio codec. You'll get the
 audio duration after decoding.

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

More information about the FFmpeg-trac mailing list