[FFmpeg-devel] [WANTED] Fix incorrect audio duration reporting

Michael Niedermayer michael at niedermayer.cc
Sat Mar 13 14:30:28 EET 2021


On Thu, Mar 11, 2021 at 07:33:53PM +0100, Paul B Mahol wrote:
> Hi,
> 
> With latest master and with any audio only file, using "ffmpeg -i file -f
> null -" reports incorrect duration.

./ffmpeg -i ~/videos/1sec-zero.mp3 -f null -
shows durations at 2 points in the output
Duration: 00:00:01.03, start: 0.023021, bitrate: 129 kb/s
size=N/A time=00:00:00.98 bitrate=N/A speed= 620x

the first is exactly the same in ffmpeg 4.3, 3.4 and 2.8.17
The 2nd is a regression since 50b49f833ae2f7d33bd2a99776fed6cb692c171a

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210313/8364e6c8/attachment.sig>


More information about the ffmpeg-devel mailing list