This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo Usage: | |
echo jpg2mp4.bat 12345 | |
echo (where 12345 is the sequence number the JPG sequence begins on) | |
SET num=%1 | |
IF "%num%"=="" (SET num=0) | |
@echo on | |
ffmpeg -r 1/5 -i G%07d.JPG -start_number %num% -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "You must download ffmpeg to use this shell script. | |
https://www.johnvansickle.com/ffmpeg/ | |
Only this version will work because the default packages do not contain vidstab. | |
A terminal will pop up and churn for a while depending on the size | |
Add the list of files to concatenate to mylist.txt with "file " in front of the name. One per line. | |
Example: | |
file GOPR2307.MP4 | |
file GP012307.MP4 | |
file GP022307.MP4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
echo You must download ffmpeg to use this batch file. | |
echo https://ffmpeg.zeranoe.com/builds/ | |
echo . | |
echo A command prompt will pop up and churn for a while depending on the size | |
echo . | |
echo Add the list of files to concatenate to mylist.txt with "file " in front of the name. One per line. | |
echo Example: | |
echo file GOPR2307.MP4 | |
echo file GP012307.MP4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -i %1 -filter_complex "[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]" -map "[v]" -map "[a]" %1_fast.mp4 | |
pause |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo Add the list of files to concatenate to files.txt with "file " in front of the name. One per line. | |
ffmpeg -f concat -safe 0 -i mylist.txt -c copy concatenated.mp4 | |
pause |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
REM You must download ffmpeg to use this batch file. | |
REM https://ffmpeg.zeranoe.com/builds/ | |
REM | |
REM You can simply click and drag a video file onto this batch file and it should start processing in place | |
REM A command prompt will pop up and churn for a while depending on the size | |
For %%A in ("%1") do ( | |
Set Folder=%%~dpA | |
Set Name=%%~nxA |
NewerOlder