I'm trying to convert a .mov file to an in-memory mp4, then to a final GIF output with a single ffmpeg command:
ffmpeg -t 22 -i "select image and zoom.mov" -f mp4 - | ffmpeg -vf "fps=10,scale=320:-1:flags=lanczos,setpts=0.7*PTS,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 "select image and zoom.gif"
but am running into:
muxer does not support non seekable output
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:0 --
This thread suggests mp4 cannot be piped like this. Is this still the case? Am I left with actually writing an intermediary file using bash's && option?