/ Published in: DOS Batch

Drag n' drop files on the batch file. Requires ffmpeg, mplayer and wavegain.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
@echo off set vidwith=480 set vidbitrate=450 set audbitrate=96 ffmpeg -i "%%~fa" -acodec pcm_s16le -ac 2 "%temp%\audio.wav" wavegain -r -c -g 8.0 -t -y "%temp%\audio.wav" mencoder "%%~fa" -o "%viddir%\%%~na.[mob].mp4" -audiofile "%temp%\audio.wav" -vf scale=%vidwith%:-10,harddup -lavfopts format=mp4 -faacopts mpeg=4:object=2:raw:br=%audbitrate% -channels 2 -srate 48000 -oac faac -ovc x264 -sws 9 -x264encopts nocabac:level_idc=30:bframes=0:global_header:threads=auto:subq=5:frameref=6:partitions=all:trellis=1:chroma_me:me=umh:bitrate=%vidbitrate% -of lavf )
Comments
