[4 / 2 / ?]
Hi frens, I have this .bat file to convert gifs to webm but I wanted to make the output folder to be the same folder of the input file, someone can show me how to do it pls?
@echo OFF
echo Enter gif(Drag and Drop)
set /p gif=
echo Enter bitrate
set /p bitrate=
echo Enter output file name
set /p filename=
ffmpeg -i %gif% -c:v libvpx -b:v %bitrate% -pix_fmt yuv420p "%filename%.webm"
@echo OFF
echo Enter gif(Drag and Drop)
set /p gif=
echo Enter bitrate
set /p bitrate=
echo Enter output file name
set /p filename=
ffmpeg -i %gif% -c:v libvpx -b:v %bitrate% -pix_fmt yuv420p "%filename%.webm"