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

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Feb 7 17:18:36 EET 2019


2019-02-07 15:57 GMT+01:00, Taner Sener <tanersener at gmail.com>:

> cat input.jpg | ffmpeg -loop 1 -i pipe:0 -c:v mpeg4 -t 3 video.mp4

(Complete, uncut console output missing.)
The option loop cannot work for pipe input afaict (at least it never
has worked, it is probably a bug that the option is accepted).

I wanted to suggest the loop filter but it does not work here, not
sure why.

Carl Eugen


More information about the ffmpeg-user mailing list