VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. 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
    Last edited by Trekmeister; 16th Dec 2020 at 00:46.
    Quote Quote  
  2. "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
    Quote Quote  
  3. Originally Posted by poisondeathray View Post
    "pic%06d.png" for pic000000.png, pic000001.png, ....

    06 is the number of digits (six digits)
    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.mp4
    Last edited by Trekmeister; 16th Dec 2020 at 01:47.
    Quote Quote  
  4. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    If it doesn't know the path, put the absolute path in with the png wildcard, and put that whole part in quotes.


    Scott
    Quote Quote  
  5. Originally Posted by Cornucopia View Post
    If it doesn't know the path, put the absolute path in with the png wildcard, and put that whole part in quotes.


    Scott
    Ive managed to outout to mpeg using this cmd

    "e:\upscaled\ffmpeg.exe" -r 25 -i "E:\upscaled\pic%6d.png" -vcodec libx264 -crf 17 -pix_fmt yuv420p -acodec copy upscaled_video.mp4
    Last edited by Trekmeister; 16th Dec 2020 at 03:00.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!