Super cool project!
I'm just a copy-paste guy and have no idea how things work. I was copy-pasting from the example in the README but I had a problem with the last line of FFMPEG:
ffmpeg -framerate 48 -i output_frames/%06d.png -i audio.m4a -c:a copy -crf 20 -c:v libx264 -pix_fmt yuv420p output.mp4
The previous commands created files like:
input_frame/frame_000001.png and
output_frame/00000001.png
When I tried to run the last FFMPEG command it was looking for a 6 digit file name, but cain-ncnn-vulkan made 8 digit filenames. It gave me the error: [image2 @ 0000024581b0c500] 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 which I didn't understand at all.
Anyway, I hade to change output_frames/%06d.png to output_frames/%08d.png to get it to work.
Just wondered if it was just me or if the README could be updated.
Super cool project! I'm just a copy-paste guy and have no idea how things work. I was copy-pasting from the example in the README but I had a problem with the last line of FFMPEG:
ffmpeg -framerate 48 -i output_frames/%06d.png -i audio.m4a -c:a copy -crf 20 -c:v libx264 -pix_fmt yuv420p output.mp4
The previous commands created files like:
input_frame/frame_000001.png
andoutput_frame/00000001.png
When I tried to run the last FFMPEG command it was looking for a 6 digit file name, but cain-ncnn-vulkan made 8 digit filenames. It gave me the error:
[image2 @ 0000024581b0c500] 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
which I didn't understand at all.Anyway, I hade to change
output_frames/%06d.png
tooutput_frames/%08d.png
to get it to work. Just wondered if it was just me or if the README could be updated.Thanks!