[FFmpeg-trac] #7996(undetermined:new): Division by zero at libavcodec/lpc.h:155
FFmpeg
trac at avcodec.org
Sun Sep 15 15:33:50 EEST 2019
#7996: Division by zero at libavcodec/lpc.h:155
-------------------------------------+-------------------------------------
Reporter: Suhwan | Owner:
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: git-master | Resolution:
Keywords: ubsan asan | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Suhwan):
{{{
ffmpeg version N-94906-gcb8d6a4e3e Copyright (c) 2000-2019 the FFmpeg
developers
built with clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
configuration: --cc=clang --cxx=clang++ --ld=clang --enable-debug
--toolchain=clang-usan
libavutil 56. 35.100 / 56. 35.100
libavcodec 58. 56.101 / 58. 56.101
libavformat 58. 32.104 / 58. 32.104
libavdevice 58. 9.100 / 58. 9.100
libavfilter 7. 58.102 / 7. 58.102
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, asf, from 'tmp.wmv':
Metadata:
encoder : Lavf57.66.105
Duration: 00:00:05.63, start: 0.000000, bitrate: 647 kb/s
Stream #0:0: Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 560x320, SAR
1:1 DAR 7:4, 30 fps, 30 tbr, 1k tbn, 1k tbc
Stream #0:1(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, mono,
fltp, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (wmv2 (native) -> zmbv (native))
Stream #0:1 -> #0:1 (wmav2 (native) -> aac (native))
Press [q] to stop, [?] for help
[aac @ 0xab799c0] Using a PCE to encode channel layout "2.1"
[aac @ 0xab799c0] Too many bits 19669.333333 > 18432 per frame requested,
clamping to max
libavcodec/lpc.h:155:27: runtime error: division by zero
[mov @ 0xab99780] Using MS style video codec tag, the file may be
unplayable!
Output #0, mov, to 'tmp_.mov':
Metadata:
encoder : Lavf58.32.104
Stream #0:0: Video: zmbv, bgr0, 560x320 [SAR 1:1 DAR 7:4], q=2-31, 501
kb/s, 48 fps, 12288 tbn, 48 tbc
Metadata:
encoder : Lavc58.56.101 zmbv
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 2.1,
fltp, 864 kb/s
Metadata:
encoder : Lavc58.56.101 aac
frame= 34 fps=5.3 q=-0.0 Lsize= 1221kB time=00:00:01.17
bitrate=8547.2kbits/s speed=0.182x
video:1181kB audio:38kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.174866%
[aac @ 0xab799c0] Qavg: 64919.828
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7996#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list