KnightDanila / BAT_FFMPEG

Batch script files for FFMPEG (Microsoft Windows and DOS, OS/2 :unicorn:)
https://github.com/KnightDanila/BAT_FFMPEG
123 stars 28 forks source link

make instructions clearer #3

Closed GrahamboJangles closed 2 years ago

KnightDanila commented 2 years ago

Thanks 😃

GrahamboJangles commented 2 years ago

@KnightDanila good repository bud, was going to make one myself but you did exactly what I was going to do. I'll implement upscaling if I have time

GrahamboJangles commented 2 years ago

@KnightDanila You're smarter than me, maybe you can figure it out. So far I have ai upscale photo batch file:

REM https://github.com/nihui/waifu2x-ncnn-vulkan#usages

REM -i is input, -o is output file, -n is noise level, -s is scale factor
REM -v is verbose output, -h is help, -x is tta mode (reduce artifacts, longer processing time)
waifu2x-ncnn-vulkan.exe -i %%x -o "%%~nx_output_ai_upscaled%%~xx" -n 1 -s 4 -v

and output frames from video:

REM https://forum.videohelp.com/threads/344457-can-t-get-ffmpeg-to-convert-video-to-image-sequence#post2177407

ffmpeg -i %%x -r 0.10 -f image2 -s 1280x720 %%4d.jpg

Increase the -r value to get more frames.

To do: