[FFmpeg-user] .264 to .avi
lists.davep at gmail.com
Fri May 8 19:42:23 CEST 2015
On May 8, 2015 12:49 PM, "Fatimah Alaliyani" <fatimah1712 at gmail.com> 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
"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
More information about the ffmpeg-user