[FFmpeg-user] randomly named png to mp4: ffmpeg
lou at lrcd.com
Wed Jan 15 07:00:05 CET 2014
On Tue, 14 Jan 2014 20:02:42 -0500
Tyler Rinker <tyler.rinker at gmail.com> wrote:
> I have a directory with randomly named png files (`a.png b.png c.png`) I
> want to stitch together in a particular order.
Try a glob pattern:
ffmpeg -framerate 10 -pattern_type glob -i "*.png" out.mkv
However, being "randomly named" your images may not be in a desirable
> I tried:
> ffmpeg -r 4 -i a.png b.png c.png -c:v libx264 -r 4 -pix_fmt yuv420p
> but it outputs a video with `a.png` only; I also tried:
This command will consider a.png as an input, and b.png c.png out.mp4
to be outputs. ffmpeg will ask you if you want to overwrite the files
if they exist.
> I'm on Windows 7 if it makes a difference.
I don't use Windows, so my example may not work as expected for you.
More information about the ffmpeg-user