Hello everyone, I’m doing a little tutorial to help you gain some space on your hard drive.
I have in my Launchbox/video folder/ about 50 GB of video snap for each game, all in MP4 format.
I looked for a way to switch from H264 codec to H265 codec for a significant gain of several GB.
The only problem with VLC is that it seeks to replace the original files of or bug, "the output file already exists"
All you have to do is check the "-converted" option in VLC and then use a simple batch to change the file name and match the game in Launchbox.
Step 1:
Always do the process from a copy of a file to avoid data loss
Go to/Launchbox/Video/Sega Megadrive for example, then copy your Theme folder containing the snap videos.
Paste this folder onto the desktop and open VLC.
Step 2:
In VLC select Media and then convert/save.
Add to the right, look for your recently placed folder on the desktop and take all your snap videos using ctrl, shift or ctrl+A then open.
Choose "convert" then in the new window, in the drop-down menu opted for the codec -video H265 + MP3 (MP4).
IMPORTANT: In destination do not forget to check the box "Affix -converted to file name" otherwise your VLC will bug in loop.
Step 3:
Once the conversions of your videos are finished, open your folder placed on the desktop, classify your files by creation date for example and delete your old videos that should be larger in size.
Create a new Text document in the same folder and paste this:
@echo off
setlocal enabledelayedexpansion
set partieasupprimer=-converted
for /f "delims==" %%F in ('dir /b ^| find "%partieasupprimer%"') do (
set oldfilename=%%F
set newfilename=!oldfilename:%partieasupprimer%=!
Ren "!oldfilename!" "!newfilename!"
)
save the text document and rename it for example to "XXXX.bat"
when you double-click the . bat your new videos will be renamed without the "-converted", so you can place them in the/Launchbox/Video/ etc...
You can repeat this operation for each platform and gain huge space so more games;)
I wish you a happy end of the day and don’t hesitate to ask for help.