
Lastly I had to remove apostrophes from the filenames, ideally the script that makes the filelist.txt should automatically add escape characters) Also I had to run concat in cmd, I don’t know why it doesn’t work in batch. (Note: I rendered in 60fps because I noticed lower framerate=longer silence at the end of each video. More information about this can be found by typing help set at a Command Off Notice the change from %VAR% to !VAR! in the ffmpeg call, which returns the run-time value of a variable rather than the parse-time value. Rem Subroutine to get first PNG in folder filter:v fps=24,scale=out_color_matrix=bt709:out_range=mpeg,format=yuv420p ^ SetLocal EnableExtensions EnableDelayedExpansion Yes, with a second FOR statement that scans for PNG files. I either want to import the flac files into Shotcut or process them with ffmpeg (just one cover).Įither ways, you’ve already helped a lot, so big thank you! bat file does nothing.Īnd one last request, I would also like to upload a video containing all OSTs, all flacs have a number at the start of their names and there’s a space between the number and the track name (they’re also in one big folder). png file that’s in the folder? I don’t really wan’t to rename all of the pictures.Īnother problem is that putting the command into cmd works (after cd ), but a. c:v libx264 -crf 27 -g 120 -bf 0 -preset veryfast -movflags +faststart+write_colr ^ pix_fmt yuv420p -colorspace bt709 -color_primaries bt709 -color_trc bt709 -color_range mpeg ^ "C:\Program Files\ffmpeg-4.4-essentials_build\bin\ffmpeg.exe" ^

This is my version of the command for now: For /R %F In (*.flac) Do ( You should probably have explained, that you need to install ffmpeg for this command to work.
