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

Paul B Mahol onemda at gmail.com
Sat Mar 13 16:11:34 EET 2021


On Sat, Mar 13, 2021 at 1:30 PM Michael Niedermayer <michael at niedermayer.cc>
wrote:

> 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
>

Check it with wav files.


>
> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> I have often repented speaking, but never of holding my tongue.
> -- Xenocrates
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list