Dev Doshi
Dev Doshi

Reputation: 170

Create video from single images

I have these Images in a folder (~/Downloads/output_frames) I want to use the command I got from https://github.com/nihui/dain-ncnn-vulkan

ffmpeg -framerate 48 -i output_frames/%06d.png -i audio.m4a -c:a copy -crf 20 -c:v libx264 -pix_fmt yuv420p output.mp4

My files are named like this

I get this error:

[image2 @ 0x14681b800] Could find no file with path 'output_frames/%06d.png' and index in the range 0-4

output_frames/%06d.png: No such file or directory

Upvotes: 1

Views: 1054

Answers (1)

llogan
llogan

Reputation: 133693

Use %08d.png as there are 8 digits.

Upvotes: 3

Related Questions