About
Batch script files for FFMPEG (Microsoft Windows and DOS, OS/2 )
My collection of scripts :)
For converting (audio, video, ...) files using FFMPEG :)
How to use:
All these .bat files drag and drop like.
Just drag and drop some files in these bat files :)
Logic
All files have MAIN Code - where you can find main command(s) for ffmpeg.exe
This main command have comment mark:
REM //////////////////// MAIN \\\\\\\\\\\\\\\\\\\\\\\\\
Than main code-command(s) for ffmpeg.exe (Video-ToMP4_FPS-24-25-30-60.bat for example):
ffmpeg -i %%x -r 30 -vcodec libx264 -acodec copy -map_metadata 0 -map 0 -threads 1 "%%~nx_output_FPS30.mp4"
Scripts
Video-ToMP4_FPS-24-25-30-60.bat (How to change frame rate of video, fps of video by ffmpeg.exe?)
Can change frame rate or FPS of video and recode it to container .mp4
& video codec x264
.
By default it is -r 30
- 30 FPS. Choose what you want in MAIN Code:
REM ffmpeg -i %%x -r 24 -vcodec libx264 -acodec copy -map_metadata 0 -map 0 -threads 1 "%%~nx_output_FPS24.mp4"
REM ffmpeg -r "25" -i %%x -vcodec libx264 -acodec copy -map_metadata 0 -map 0 -threads 1 "%%~nx_output_FPS25.mp4"
ffmpeg -i %%x -r 30 -vcodec libx264 -acodec copy -map_metadata 0 -map 0 -threads 1 "%%~nx_output_FPS30.mp4"
REM ffmpeg -r "60" -i %%x -vcodec copy -acodec copy -map_metadata 0 -map 0 -threads 1 "%%~nx_output_FPS60.mp4"
Video-ToGIF (ffmpeg video to GIF)
Convert video to GIF files.
By different styles:
Video-ToGIF_16Bit-Style.bat
- 16 Bit-Style
Video-ToGIF_32ColorsStyle.bat
- 32 Colors Style
Video-ToGIF_Fast.bat
- fast&quality
Video-ToGIF_HD.bat
- max quality\
FFMPEG WebPage:
https://www.ffmpeg.org/
FFMPEG About:
Official: https://www.ffmpeg.org/about.html
Wiki: https://en.wikipedia.org/wiki/FFmpeg
YouTube-DL WebPage:
http://rg3.github.io/youtube-dl/
YouTube-DL About:
Official: http://rg3.github.io/youtube-dl/
GitHub: https://github.com/rg3/youtube-dl
AtomicParsley WebPage:
http://atomicparsley.sourceforge.net/
AtomicParsley About:
Official: https://sourceforge.net/projects/atomicparsley/
GitHub: https://github.com/wez/atomicparsley
\
This links for me:
srt - [https://trac.ffmpeg.org/ticket/7356]
srt EOF - sub.ass - CRLF and sub.srt - LF - [https://trac.ffmpeg.org/ticket/7362]