I am trying to assemble a number of png files and audio together in ffmpeg but the command lines is not recognised:
(Could find not file with path 'pic%04d.png' and index in the range 0-4 pic%04d.png: No such file or directory)
The cmd line used was:
E:\upscaled\ffmpeg -r 17 -f image2 -s 2048x1152 -i pic%04d.png -vcodec libx264 -crf 17 -pix_fmt yuv420p test.mp4
The file names start from pic000000
I have also tried
E:\upscaled\ffmpeg -r 17 -f image2 -s 2048x1152 -i pic%0000004d.png -vcodec libx264 -crf 17 -pix_fmt yuv420p test.mp4 with the same result, any idea where I am going wrong?
and
E:\upscaled\ffmpeg -start_number 000000 -r 17 -f image2 -s 2048x1152 -i pic%06d.png -i original-audio.wav -vcodec libx264 -crf 17 -pix_fmt yuv420p -acodec copy upscaled_video.mp4
+ Reply to Thread
Results 1 to 5 of 5
-
Last edited by Trekmeister; 16th Dec 2020 at 00:46.
-
"pic%06d.png" for pic000000.png, pic000001.png, ....
06 is the number of digits (six digits)
You mention audio, but you have no audio referenced in the commandline -
Ive tried that but still get same result (Could find not file with path 'pic%06d.png' and index in the range 0-4 pic%06d.png: No such file or directory)
I am pretty sure this should work?
E:\upscaled\ffmpeg -r 25 -f image2 -s 2048x1152 -i pic%06d.png -i original-audio.wav -vcodec libx264 -crf 17 -pix_fmt yuv420p -acodec copy upscaled_video.mp4Last edited by Trekmeister; 16th Dec 2020 at 01:47.
-
If it doesn't know the path, put the absolute path in with the png wildcard, and put that whole part in quotes.
Scott
Similar Threads
-
FFMPEG Conversion from MKV to MP4 returns a empty MP4 file?
By lolmaisine in forum Video ConversionReplies: 4Last Post: 6th Mar 2019, 07:45 -
ffmpeg: make one mp4 out of several dirs of jpgs? [SOLVED]
By quixote7 in forum Newbie / General discussionsReplies: 2Last Post: 18th Dec 2018, 16:24 -
ffmpeg/livestreamer unable to download video from tv.nrk.no
By jasper in forum Video Streaming DownloadingReplies: 2Last Post: 13th Nov 2016, 08:40 -
ffmpeg Unable to open keyfile
By reder in forum Video Streaming DownloadingReplies: 0Last Post: 18th Jul 2016, 09:30 -
ffmpeg Unable to open custom URI scheme
By gx3541 in forum Video Streaming DownloadingReplies: 0Last Post: 17th Jul 2016, 06:19