Ogg Vorbis HTTP Stream Excess Memory/CPU Usage
|Reported by:||Kyra||Owned by:|
|Blocking:||Reproduced by developer:||yes|
|Analyzed by developer:||no|
Summary of the bug:
HTTP streams featuring Ogg Vorbis content appear to leak memory with the resident size increasing in pace with the input data. Eventually constant mmap and munmap calls in the main ffmpeg thread cause an increase in CPU usage well beyond reason.
This does not occur with ffmpeg 4.2.3, nor does it seem to occur with other codecs (MP3 and AAC at least).
How to reproduce:
ffmpeg -i http://sharprouter.sharp-stream.com:8000/totallyradio.ogg -f null - ffmpeg version 4.3 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9.3.0 (Gentoo 9.3.0-r1 p3)
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.
Change History (14)
comment:2 by , 3 years ago
|Component:||undetermined → avformat|
|Status:||closed → reopened|
|Version:||unspecified → git-master|
comment:6 by , 3 years ago
|Summary:||Memory Leak With Ogg Vorbis HTTP Streams → Ogg Vorbis HTTP Stream Excess Memory/CPU Usage|
comment:11 by , 3 years ago
|Priority:||normal → important|
|Reproduced by developer:||set|
|Status:||reopened → open|