#5448: aac: wrong calculation of duration
-------------------------------------+-------------------------------------
Reporter: ami_stuff | Owner: (none)
Type: defect | Status: reopened
Priority: minor | Component: avformat
Version: git-master | Resolution:
Keywords: aac | Blocked By:
regression |
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by RutD0g):
Replying to [comment:6 Balling]:
> But FFprobe is still broken.
Here's my perspective, though I'm sure I'm less knowledgeable than you.
1) The command the OP ran which generated non-monotonous DTS errors no
longer generates errors and generates a usable .wav.
2) The only problem I see with ffprobe is the inaccurate time
''estimate''.
3) As I detailed in my longer post, every single tool I've tried also
gives an inaccurate time estimate on all .AAC files. Windows Explorer,
VLC, MPC-HC, archive.org video player, etc. etc.
If FFmpeg/FFprobe exhibits the same behavior as every other tool, how is
that a bug?
I'm grateful that FFmpeg stands alone with the alert message (specific to
AAC) warning that the estimate is likely inaccurate. If not for that alert
I'd still be stumped.
{{{
[aac @ 0000021bf26c1400] Estimating duration from bitrate, this may be
inaccurate
}}}
{{{
C:\>ffprobe 1.aac
ffprobe version N-112508-g3c5bceb751-20231025 Copyright (c) 2007-2023 the
FFmpeg developers
built with gcc 13.2.0 (crosstool-NG 1.25.0.232_c175b21)
configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static
--pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64
--target-os=mingw32 --enable-gpl --enable-version3 --disable-debug
--disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2
--enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp
--enable-lzma --enable-fontconfig --enable-libharfbuzz --enable-libvorbis
--enable-opencl --disable-libpulse --enable-libvmaf --disable-libxcb
--disable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-
avisynth --enable-chromaprint --enable-libdav1d --enable-libdavs2
--disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r
--enable-libgme --enable-libkvazaar --enable-libass --enable-libbluray
--enable-libjxl --enable-libmp3lame --enable-libopus --enable-librist
--enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp
--enable-lv2 --enable-libvpl --enable-openal --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg
--enable-libopenmpt --enable-librav1e --enable-librubberband --enable-
schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1
--enable-libtwolame --enable-libuavs3d --disable-libdrm --enable-vaapi
--enable-libvidstab --enable-vulkan --enable-libshaderc --enable-
libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-
libxvid --enable-libzimg --enable-libzvbi --extra-
cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread
--extra-ldexeflags= --extra-libs=-lgomp --extra-version=20231025
libavutil 58. 27.100 / 58. 27.100
libavcodec 60. 30.102 / 60. 30.102
libavformat 60. 15.101 / 60. 15.101
libavdevice 60. 2.101 / 60. 2.101
libavfilter 9. 11.100 / 9. 11.100
libswscale 7. 4.100 / 7. 4.100
libswresample 4. 11.100 / 4. 11.100
libpostproc 57. 2.100 / 57. 2.100
[aac @ 0000021bf26c1400] Estimating duration from bitrate, this may be
inaccurate
Input #0, aac, from '1.aac':
Duration: 00:04:38.71, bitrate: 7 kb/s
Stream #0:0: Audio: aac (LC), 88200 Hz, mono, fltp, 7 kb/s
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5448#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".