[FFmpeg-user] Slideshow+audio causes huge amount of memory allocated
Massimo Battistel
battistel at gmail.com
Wed Oct 15 21:09:22 CEST 2014
hello,
the following command line plays a web radio while showing a picture slide
show.
ffmpeg -loop 1 -framerate 1/10 -i img%3d.png -i http://webradio:port
-vcodec rawvideo -pix_fmt yuv420p -vf fps=fps=25 -acodec pcm_s16le -ac 2
-af aresample=48000:first_pts=0,asetnsamples=n=1920:p=1 -f asf - | ffplay -
The longer is the time between pictures, the bigger is the memory allocated
(> 1gb).
I suppose this is caused by fps filter that every 10 seconds generates 250
frames and the multiplexer, trying to keep proper interleaving, buffers a
lot of frames.
Can you suggest some alternative that allow me to do this in realtime? (the
script should run 24/7)
thanks,
MB
More information about the ffmpeg-user
mailing list