[FFmpeg-trac] #6369(undetermined:new): Memory leak on HLS segmenting without transcoding
FFmpeg
trac at avcodec.org
Thu May 4 16:14:27 EEST 2017
#6369: Memory leak on HLS segmenting without transcoding
-------------------------------------+-------------------------------------
Reporter: ksotik | Type: defect
Status: new | Priority: important
Component: | Version: git-
undetermined | master
Keywords: memory | Blocked By:
leak,hls,without transcoding | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
When segmenting a video stream into a HLS without transcoding (using
-vcodec copy & -acodec copy), a memory leak occurs, approximately 30 MB
per minute. There is no dependence on the input video stream, but all
checks were carried out on a multicast input.
How to reproduce:
{{{
% /usr/local/bin/ffmpeg -re -i
udp://@239.126.126.3:1300?fifo_size=5000000&overrun_nonfatal_option=1
-nostdin -threads 0 -acodec copy -vcodec copy -sn -flags -global_header
-hls_time 5 -hls_list_size 5 -hls_flags
second_level_segment_index+second_level_segment_size+second_level_segment_duration+delete_segments+discont_start
-use_localtime 1 -start_number 1 -hls_segment_filename
/opt/data/hls/stream/ch1_%Y%m%d%H%M%S_%%03d_%%08s_%%08t.ts
/opt/data/hls/stream/playlist.m3u8
}}}
{{{
ffmpeg version N-85590-g8707147 Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 4.9.2 (Debian 4.9.2-10)
configuration: --pkg-config-flags=--static --enable-gpl --enable-libfdk-
aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-
libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-
libx265 --enable-nonfree
libavutil 55. 61.100 / 55. 61.100
libavcodec 57. 93.100 / 57. 93.100
libavformat 57. 72.101 / 57. 72.101
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6. 84.101 / 6. 84.101
libswscale 4. 7.101 / 4. 7.101
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6369>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list