[FFmpeg-trac] #2642(avformat:closed): ffprobe unable to report video stream duration if stream is in matroska container.

FFmpeg trac at avcodec.org
Thu Jun 6 17:25:29 CEST 2013


#2642: ffprobe unable to report video stream duration if stream is in matroska
container.
-------------------------------------+-------------------------------------
             Reporter:  MountainMan  |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  avformat
              Version:  git-master   |               Resolution:  invalid
             Keywords:  duration     |               Blocked By:
  matroska ffprobe                   |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  1            |
-------------------------------------+-------------------------------------
Changes (by saste):

 * status:  new => closed
 * reproduced:  0 => 1
 * component:  FFprobe => avformat
 * keywords:   => duration matroska ffprobe
 * analyzed:  0 => 1
 * resolution:   => invalid


Comment:

 The matroska container does not contain such information in the header, so
 the only way to get stream duration is to use the format-level information
 (format=duration) or compute it from the packet timestamps (but this needs
 demuxing).

 I'm closing the ticket since this is a limitation inherent to the format
 itself, feel free to reopen if you can refute my claim.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2642#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list