On May 8, 2015 12:49 PM, "Fatimah Alaliyani" <[email protected]> wrote: > > I used the code to convert 6 files at once to uncompressed .avi > > forfiles /p 264s /m *.264 /c "cmd /c ffmpeg -f h264 -i @file -vf > scale=704*480 -y input_double_high.avi" > > it is working great, but re-saves the file with the same name on the > previous file. I would like it to create a new files with difference names > Thanks
"forfiles" is the wrong tool in this case. Also, just choosing .avi doesn't mean uncompressed. You need to choose a codec or ffmpeg will choose for you. Try something like this: for %a in (c:\264s\*.264) do ffmpeg -f h264 -i %a -c:v ffv1 -vf scale=704:480 -y c:\264s\%~na.avi _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
