[FFmpeg-trac] #8726(undetermined:new): Inaccurate length display / detection (m4a files)

FFmpeg trac at avcodec.org
Thu Feb 10 08:05:27 EET 2022


#8726: Inaccurate length display / detection (m4a files)
-------------------------------------+-------------------------------------
             Reporter:  sandreas     |                    Owner:  (none)
                 Type:  enhancement  |                   Status:  new
             Priority:  wish         |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  mov          |               Blocked By:
  duration                           |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by sandreas):

 Thanks for taking a look. Maybe it would be possible to get both values
 ("before edit" list value and "after edit list" value).

 I would also like to point out, that even with the ffmetadata there is no
 way to get the exact duration in milliseconds from a command line.

 Is there a workaround, that I'm not aware of?

 Replying to [comment:2 Balling]:
 > First of all this file is 15 s 833 ms, because editlist says:
 >
 > Track duration:                    15833 (0x00003DD9) - 15833 (0x3DD9)
 ms
 >
 > mdhd also confirms that:
 > 14D793     Duration:                           698194 (0x000AA752) -
 15832 (0x3DD8) ms
 >
 > since mdhd says the duration before applying the editlist, so it is not
 some mistake. f37e66b3937a914e16d89a9050f042ad89567245
 >
 > tkhd
 >
 > 14D70F    Duration:                            15833 (0x00003DD9) -
 15833 (0x3DD9) ms
 >
 > Same in mvhd
 >
 > 14D697   Duration:                             15833 (0x00003DD9) -
 15833 ms
 >
 > (Those two are after editlist, so again correct.)
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/8726#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list