Mikee580 Posted September 17, 2023 Share Posted September 17, 2023 Hi everyone, I'm fast running out of space on my hard drive. Just wondering if anyone knows any free software that can bulk edit my video snaps from say 45 seconds to just 20 seconds to save me some space? Any help would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
JoeViking245 Posted September 17, 2023 Share Posted September 17, 2023 The program I use is ffmpeg and created a batch file to have it do the conversions. There's no fancy UI and this (batch file) only does one folder at a time. But ffmpeg.exe is a single, small file and very good at what it does. No matter what program you use, the trim process does take time (depending on how many files there are). Also, many of the fancy UI type programs actually use ffmpeg in the background. This way just cuts out the middle-man. Create a text file and paste the following code into it. Save and rename the file with a .bat file extension. Place the batch file and ffmpeg.exe in a folder containing videos. When executed, the batch file will: create a subfolder "trimmed". look for all files with a .mp4 file extension tell ffmpeg to trim each video file to 20 seconds (-t 20) then put the trimmed video file in the "trimmed" subfolder "pause" when completed. (press the 'any key' to close the window) md trimmed for %%a in ("*.mp4") do ffmpeg -t 20 -i "%%a" -vcodec copy -acodec copy "trimmed\%%~na.mp4 pause This only trims the files that are in the same folder as the batch file. This doesn't delete the original files. After it's done, I suggest moving the original video files to an outside folder (temporary 'backup'). Then move the trimmed files to where the original ones were. Start LaunchBox (or BigBox) and go to that platform. Confirm you like what you see. If so, you can delete the temp backups, move the batch file and ffmpeg.exe to the next video folder, wash-rinse-repeat (and can probably do away with the temp backup - test part). You can replace "ffmpeg" (without quotes) in the batch file with "full\path\to\ffmpeg.exe" (with quotes and being the actual path to ffmpeg.exe) so that you only have to place the batch in the videos folder. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.