alexVS
21st October 2013, 14:09
Hello!
I need to convert bunch of FLV files into AVI to be able to watch them on TV. I want to simplify all the operations.
So I put all FLV files into folder, run CMD files and got AVI files.
Here I found a script (BIG thanks to author!!!)
setlocal
REM Where to Find ffmpeg
set FFMPEG="C:\BIN\ffmpeg.exe"
REM Where to get input file, No terminating Backslash, "." = current directory
set INDIR="."
REM Where to place output file, No terminating Backslash.
set OUTDIR=".\OUTPUT"
FOR %%A IN (*.wmv *.mpg *.avi *.flv *.mov *.mp4 *.m4v *.RAM *.RM) DO (
%FFMPEG% -i "%INDIR%\%%A" -c:v mpeg4 -b:v 1400k -vtag xvid -c:a libmp3lame -b:a 128k -ac 2 -ar 48000 "%OUTDIR%\%%~nxA.AVI"
)
Here I have some question:
1) I receive output filenames as "original.flv.AVI". How can I get "original.avi" ?
2) How can I indicate to coder that I want to use trellis quantization, motion search precision=6, VHQ mode=1 etc.
Are the any other command line converters (faster, better quality) FLV to AVI?
And if you have a link+cmd script(like this above), post it, please. Sometimes it's so difficult to make easy things to work right. :)
Thanks in advance!
I need to convert bunch of FLV files into AVI to be able to watch them on TV. I want to simplify all the operations.
So I put all FLV files into folder, run CMD files and got AVI files.
Here I found a script (BIG thanks to author!!!)
setlocal
REM Where to Find ffmpeg
set FFMPEG="C:\BIN\ffmpeg.exe"
REM Where to get input file, No terminating Backslash, "." = current directory
set INDIR="."
REM Where to place output file, No terminating Backslash.
set OUTDIR=".\OUTPUT"
FOR %%A IN (*.wmv *.mpg *.avi *.flv *.mov *.mp4 *.m4v *.RAM *.RM) DO (
%FFMPEG% -i "%INDIR%\%%A" -c:v mpeg4 -b:v 1400k -vtag xvid -c:a libmp3lame -b:a 128k -ac 2 -ar 48000 "%OUTDIR%\%%~nxA.AVI"
)
Here I have some question:
1) I receive output filenames as "original.flv.AVI". How can I get "original.avi" ?
2) How can I indicate to coder that I want to use trellis quantization, motion search precision=6, VHQ mode=1 etc.
Are the any other command line converters (faster, better quality) FLV to AVI?
And if you have a link+cmd script(like this above), post it, please. Sometimes it's so difficult to make easy things to work right. :)
Thanks in advance!