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)
+ Reply to Thread
Results 1 to 3 of 3
-
Last edited by maudit; 14th Aug 2023 at 19:01.
Similar Threads
-
ffmpeg muxing raw .265 file to mkv?
By Selur in forum Newbie / General discussionsReplies: 1Last Post: 15th Jun 2023, 10:56 -
Updating a software with a bat file
By David Banner in forum ComputerReplies: 3Last Post: 8th May 2021, 13:05 -
FFMpeg Auto output Name on .bat Script file
By Daringbaaz in forum Newbie / General discussionsReplies: 10Last Post: 6th Dec 2020, 08:44 -
ffmpeg in bat file
By windranger in forum Video ConversionReplies: 5Last Post: 25th Jul 2020, 02:27 -
ffmpeg bat to mux multible audio and video
By alkoon in forum Newbie / General discussionsReplies: 3Last Post: 5th Jun 2020, 11:20