I have a program that generates a script for
gnuplot, which in turn generates a lot of png images and send it to
stdout. I want to pipe these images to ffmpeg without writing them to the disk. This is my command line so far:
./myprogram | gnuplot | ffmpeg -c:v png -i - -c:v libx264 -preset medium -crf 24 output.mkv
Unfortunately, this does not seem to be the way, ffmpeg complains "pipe:: Invalid data found when processing input".
Is there a way or am I forced to dump the numbered pngs to disk and then pass ffmpeg something like