[FFmpeg-trac] #377(undetermined:new): ffmpeg reports inaccurate length of some gxf files

FFmpeg trac at avcodec.org
Tue Aug 2 21:43:12 CEST 2011


#377: ffmpeg reports inaccurate length of some gxf files
----------------------------------+---------------------------
Reporter:  acloutier              |       Owner:
    Type:  defect                 |      Status:  new
Priority:  important              |   Component:  undetermined
 Version:  git                    |  Resolution:
Keywords:  gxf ffmpeg length bug  |  Blocked By:
Blocking:                         |  Reproduced:  0
Analyzed:  0                      |
----------------------------------+---------------------------

Comment (by reimar):

 No, -r will only change the "playback" fps, but it will not change the
 time base the demuxer uses internally.
 However you can at least easily detect the two cases:
 119.88 tbn, 59.94 tbc
 The tbn value is the time base the demuxer detects. tbc is the one that is
 encoded in the MPEG-2 stream within the container. For GXF and ordinary
 use cases it's probably reasonable to assume that if they mismatch there's
 something wrong.
 For the "good" file these match btw:
 59.94 tbn, 59.94 tbc

-- 
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/377#comment:6>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list