Article 5536S ffmpeg troubles

ffmpeg troubles

by
mfoley
from LinuxQuestions.org on (#5536S)
Apparently, ffmpeg isn't "Unix-like" in specifying input files (or it's me). I have a collection of jpg files (variously named .jpg, .JPG and .jpeg). I first tried:
Code:ffmpeg -framerate 10 -i *.[jJ]* -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p ../MyPhotos.mp4where the first file in the list was 00-1.jpg and the second was 00-2.jpg, etc. In the above example I got the message that 00-2.jpg exist, did I want to overwrite? So, it took the second file in the list to be the output file.

Next I tried
Code:export infiles=`ls *.[jJ]*`
ffmpeg -framerate 10 -i "$infiles" -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p ../MyPhotos.mp4This listed a bunch of files (I assume while processing then) and ended with the message, "image9.jpeg: No such file or directory". Removing that file resulted in the message, "image8.jpeg: No such file or directory". And so on. all image files have world-read permission.

Finally I tried the following based on a web page I found (https://askubuntu.com/questions/6109...f-jpg-images):
Code:ffmpeg -framerate 10 -i %02d-%d.jpg -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p ../MyPhotos.mp4but that gave the error, "%02d-%d.jpg: No such file or directory"

So how do I specify multiple input files to ffmpeg? I feel like I've exhausted all possibilities within my knowlege.latest?d=yIl2AUoC8zA latest?i=Ko5NRuuVQ44:H3feEwvhr0w:F7zBnMy latest?i=Ko5NRuuVQ44:H3feEwvhr0w:V_sGLiP latest?d=qj6IDK7rITs latest?i=Ko5NRuuVQ44:H3feEwvhr0w:gIN9vFwKo5NRuuVQ44
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments