2018-11-01 3:31 GMT+01:00, Marcus Lim <drakeskyw...@gmail.com>: > Hey all, > New to the list and trying to get my head around ffmpeg a bit still. > So I am using ffmpeg to create slideshows out of individual images, with an > audio backing track (usually mp3), and then encoding as MP4 (video is h264 > and audio is acc), but for some reason the process is taking up to 1.4Gb of > memory which is blowing me away. > Now I am using a complex filter to achieve this, with multiple inputs, and > example of my command is below: > > ffmpeg \ > -loop 1 -t 4 -i > test/ed141148-9b79-494b-a26d-f5c84535eeaf8912937006552540487.tmp \ > -loop 1 -t 4 -i > test/ed141148-9b79-494b-a26d-f5c84535eeaf5351513282402727883.tmp \
I suggest you put the files names in a text file and use the concat demuxer. An alternative is to rename the files as tmp-01 to tmp-15 and use: ffmpeg -i tmp-02%d Both solutions will not have the increased memory usage and will significantly simplify your command line. Carl Eugen _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".