I found forfiles command: forfiles /p path /m mask /c "cmd /c your_command" --> try this: forfiles /p 264s /m *.264 /c "cmd /c ffmpeg -f h264 -i @file -vf scale=iw:ih*2 input_double_high.avi"
2015-05-03 10:20 GMT+02:00 SAFI ALAMRI <alsafis...@gmail.com>: > Hey- > > I would like to convert all files at once to uncompressed .avi files that > are at a pixel dimension of 704x480. (which are .264 from 264s folder). I > have tried this code, but doesnt work. > > for C:\ffmpeg in "*.264"; do ffmpeg -f h264 -i "*.264" -vf scale=iw:ih*2 > input_double_high.avi ; done > > Could you correct it please? > > See the attached please > > Thanks a lot > > Safi > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user