[FFmpeg-user] How to specify duration for an input with pipe protocol

Ted Park kumowoon1025 at gmail.com
Fri Feb 8 04:46:11 EET 2019

Some strange things happened when I tried to unlimited loop filter this, not entirely sure why. Using the # of loops to control duration seems to work, though I’m not sure if it’s masking a problem that might resurface if the loop count got too high (i.e. duration got too long)

ffmpeg -i pipe:3 -filter:v loop=loop=25*3:size=1 -c:v mpeg4 -r 25 video.mp4 3<input.jpg

More information about the ffmpeg-user mailing list