This works in command line for a sequence of jpg to convert to a video.
cat *.jpg | ffmpeg -f image2pipe -framerate 5 -i - -s 1280x720 ./HD720_out.mp4
but doesn't work (except for first jpg) in a executable script temp.sh containing:
eval cat "$1" | ffmpeg -f image2pipe -framerate 5 -i - -s 1280x720 "./HD720_out.mp4"
./temp.sh *.jpg gives only the first file to video, not the sequence. What am I doing wrong? The command line works perfectly.