fe.settings:getUserBoardSettings - non array given[AM] - Endchan Magrathea
thumbnail of moonlight [2pass10.599.1500_yuv420p].webm
thumbnail of moonlight [2pass10.599.1500_yuv420p].webm
moonlight... webm
(4.34 MB, 1280x720 vp9)
 >>/30900/
breddy gud output
@Echo off
SETLOCAL
SET vidbitrateavg=899
SET vidbitratemin=10
SET vidbitratemax=1500
SET audiobitrate=299
SET d=[2pass%vidbitratemin%.%vidbitrateavg%.%vidbitratemax%_yuv420p]
SET t=[2pass%vidbitratemin%.%vidbitrateavg%.%vidbitratemax%_yuv420p]
SET metacomment=https://coub.com/view/1i77uf
for %%f in (*.mp4) do (
ffmpeg -y -i "%%~f" -map 0:0 -map 0:1 -c:v:0 libvpx-vp9 -minrate %vidbitratemin%k -b:v %vidbitrateavg%k -maxrate %vidbitratemax%k -c:a:%audiobitrate% libopus -cpu-used:v 0 -deadline best -tile-columns 4 -frame-parallel 1 -threads 8 -metadata:s:v:0 title="%%~nf %t%" -metadata title="%%~nf %t%" -metadata comments="%metacomment%" -pix_fmt yuv420p -pass:v 1 -f webm NUL
ffmpeg -y -i "%%~f" -map 0:0 -map 0:1 -c:v:0 libvpx-vp9 -minrate %vidbitratemin%k -b:v %vidbitrateavg%k -maxrate %vidbitratemax%k -c:a:%audiobitrate% libopus -cpu-used:v 0 -deadline best -tile-columns 4 -frame-parallel 1 -threads 8 -metadata:s:v:0 title="%%~nf %t%" -metadata title="%%~nf %t%" -metadata comments="%metacomment%" -pix_fmt yuv420p -pass:v 2 "%%~nf %d%.webm"
)
Pause