VideoHelp Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Hi, I have a folder with many subfolders that contains jpg sequence files.
    Runnig these 2 commands into the PS, I can generate both mkv and webp.

    ffmpeg -i 'image_%06d.jpg' -c:v libx264 -r 24 .output.mkv
    ffmpeg -i 'image_%06d.jpg' -c:v libwebp_anim -r 24 .output.webp

    I wanna copy these uniques commands in 2 separate .bat files, copy them in each folder and run them whenever i want.

    the problem is that it seems I cant use the "%06d" part into a .bat file.
    any alternative solution? please,any help?
    the best would be a single location for those .bat that they can search into every subfolder, but I think it would need quite complicated script.

    maybe using an avs script?
    how fo I load images sequences into avspmod?

    for example this line below works but how do I let it to read all the images till the end?
    I mean if there are 400 files in the folder, it must read them all, and do not create extra blank frames.
    ImageSource("E:\image_%06d.jpg",start=1)
    Last edited by maudit; 14th Aug 2023 at 19:01.
    Quote Quote  
  2. try using image_%%06d.jpg
    Quote Quote  
  3. Error opening input: No such file or directory
    Quote Quote  



Similar Threads

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