[FFmpeg-user] ffmpeg Memory usage

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Dec 11 23:54:17 CET 2014

Evchev Ruslan <r.evchev <at> 1plus1.tv> writes:

> ffmpeg -discard noref -err_detect explode 
> -i udp:// <at>

Is the issue only reproducible with network input or 
also with file input?

> -map 0:0 -vcodec mpeg2video -b:v 4000k -bt 4000k 
> -map 0:1 -acodec mp2  -b:a 128k -f segment -segment_list
> /var/www/stb/stb.m3u8 -segment_time 4 -segment_wrap 10 
> -segment_format mpegts -segment_list_size 5 
> /var/www/stb/stb%03d.ts

Complete, uncut console output missing.

valgrind allows you to test for memory leaks (unlikely 
from your description but of course possible), massif 
allows you to document where the allocations happen.

Carl Eugen

More information about the ffmpeg-user mailing list