- You'll need ffmpeg (https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-essentials.7z). Unpack ffmpeg.exe from archive to
<path-to-game>\video\
- Create a new black file and name it
run.cmd
- Insert these code to this file
ffmpeg.exe -i CS_Cem_06.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy CS_Cem_06-encode.mp4
ffmpeg.exe -i CS_Cem_07.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy CS_Cem_07-encode.mp4
ffmpeg.exe -i CS_EXT_01.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy CS_EXT_01-encode.mp4
ffmpeg.exe -i CS_FH1_01a.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy CS_FH1_01a-encode.mp4
ffmpeg.exe -i CS_FH1_02.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy CS_FH1_02-encode.mp4
ffmpeg.exe -i CS_FH4_01.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy CS_FH4_01-encode.mp4
ffmpeg.exe -i CS_H1_06.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy CS_H1_06-encode.mp4
ffmpeg.exe -i CS_H1_07.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy CS_H1_07-encode.mp4
ffmpeg.exe -i CS_H2_01.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy CS_H2_01-encode.mp4
ffmpeg.exe -i CS_H2_02.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy CS_H2_02-encode.mp4
ffmpeg.exe -i CS_H2_03.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy CS_H2_03-encode.mp4
ffmpeg.exe -i CS_LI_01.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy CS_LI_01-encode.mp4
ffmpeg.exe -i CS_LI_02.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy CS_LI_02-encode.mp4
ffmpeg.exe -i CS_LIB_01.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy CS_LIB_01-encode.mp4
ffmpeg.exe -i CS_LIB_04.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy CS_LIB_04-encode.mp4
ffmpeg.exe -i CS_LIB_05.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy CS_LIB_05-encode.mp4
ffmpeg.exe -i CS_MUS_01.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy CS_MUS_01-encode.mp4
ffmpeg.exe -i CS_MUS_02.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy CS_MUS_02-encode.mp4
ffmpeg.exe -i CS_MUS_03.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy CS_MUS_03-encode.mp4
ffmpeg.exe -i CS_MUS_03a.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy CS_MUS_03a-encode.mp4
ffmpeg.exe -i CS_MUS_03b.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy CS_MUS_03b-encode.mp4
ffmpeg.exe -i CS_TS_05.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy CS_TS_05-encode.mp4
ffmpeg.exe -i CS_TS_07.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy CS_TS_07-encode.mp4
ffmpeg.exe -i CS_TS_08.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy CS_TS_08-encode.mp4
ffmpeg.exe -i FH02_scene.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy FH02_scene-encode.mp4
ffmpeg.exe -i FH03_scene.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy FH03_scene-encode.mp4
ffmpeg.exe -i FH04_scene.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy FH04_scene-encode.mp4
ffmpeg.exe -i FH05_scene.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy FH05_scene-encode.mp4
ffmpeg.exe -i gb01.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy gb01-encode.mp4
ffmpeg.exe -i gb02.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy gb02-encode.mp4
ffmpeg.exe -i gb03.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy gb03-encode.mp4
ffmpeg.exe -i gb04.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy gb04-encode.mp4
ffmpeg.exe -i gb05.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy gb05-encode.mp4
ffmpeg.exe -i gb06.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy gb06-encode.mp4
ffmpeg.exe -i gb08.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy gb08-encode.mp4
ffmpeg.exe -i gb09.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy gb09-encode.mp4
ffmpeg.exe -i gb10.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy gb10-encode.mp4
ffmpeg.exe -i gb11.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy gb11-encode.mp4
ffmpeg.exe -i gb12.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy gb12-encode.mp4
ffmpeg.exe -i logo.mp4 -vf scale=-1:1080 -vcodec libx264 -preset slower -profile main -level 4.1 -crf 19 -acodec copy logo-encode.mp4
mkdir BACKUP
MOVE /Y CS_Cem_06.mp4 BACKUP\CS_Cem_06.mp4
MOVE /Y CS_Cem_07.mp4 BACKUP\CS_Cem_07.mp4
MOVE /Y CS_EXT_01.mp4 BACKUP\CS_EXT_01.mp4
MOVE /Y CS_FH1_01a.mp4 BACKUP\CS_FH1_01a.mp4
MOVE /Y CS_FH1_02.mp4 BACKUP\CS_FH1_02.mp4
MOVE /Y CS_FH4_01.mp4 BACKUP\CS_FH4_01.mp4
MOVE /Y CS_H1_06.mp4 BACKUP\CS_H1_06.mp4
MOVE /Y CS_H1_07.mp4 BACKUP\CS_H1_07.mp4
MOVE /Y CS_H2_01.mp4 BACKUP\CS_H2_01.mp4
MOVE /Y CS_H2_02.mp4 BACKUP\CS_H2_02.mp4
MOVE /Y CS_H2_03.mp4 BACKUP\CS_H2_03.mp4
MOVE /Y CS_LI_01.mp4 BACKUP\CS_LI_01.mp4
MOVE /Y CS_LI_02.mp4 BACKUP\CS_LI_02.mp4
MOVE /Y CS_LIB_01.mp4 BACKUP\CS_LIB_01.mp4
MOVE /Y CS_LIB_04.mp4 BACKUP\CS_LIB_04.mp4
MOVE /Y CS_LIB_05.mp4 BACKUP\CS_LIB_05.mp4
MOVE /Y CS_MUS_01.mp4 BACKUP\CS_MUS_01.mp4
MOVE /Y CS_MUS_02.mp4 BACKUP\CS_MUS_02.mp4
MOVE /Y CS_MUS_03.mp4 BACKUP\CS_MUS_03.mp4
MOVE /Y CS_MUS_03a.mp4 BACKUP\CS_MUS_03a.mp4
MOVE /Y CS_MUS_03b.mp4 BACKUP\CS_MUS_03b.mp4
MOVE /Y CS_TS_05.mp4 BACKUP\CS_TS_05.mp4
MOVE /Y CS_TS_07.mp4 BACKUP\CS_TS_07.mp4
MOVE /Y CS_TS_08.mp4 BACKUP\CS_TS_08.mp4
MOVE /Y FH02_scene.mp4 BACKUP\FH02_scene.mp4
MOVE /Y FH03_scene.mp4 BACKUP\FH03_scene.mp4
MOVE /Y FH04_scene.mp4 BACKUP\FH04_scene.mp4
MOVE /Y FH05_scene.mp4 BACKUP\FH05_scene.mp4
MOVE /Y gb01.mp4 BACKUP\gb01.mp4
MOVE /Y gb02.mp4 BACKUP\gb02.mp4
MOVE /Y gb03.mp4 BACKUP\gb03.mp4
MOVE /Y gb04.mp4 BACKUP\gb04.mp4
MOVE /Y gb05.mp4 BACKUP\gb05.mp4
MOVE /Y gb06.mp4 BACKUP\gb06.mp4
MOVE /Y gb08.mp4 BACKUP\gb08.mp4
MOVE /Y gb09.mp4 BACKUP\gb09.mp4
MOVE /Y gb10.mp4 BACKUP\gb10.mp4
MOVE /Y gb11.mp4 BACKUP\gb11.mp4
MOVE /Y gb12.mp4 BACKUP\gb12.mp4
MOVE /Y logo.mp4 BACKUP\logo.mp4
rename CS_Cem_06-encode.mp4 CS_Cem_06.mp4
rename CS_Cem_07-encode.mp4 CS_Cem_07.mp4
rename CS_EXT_01-encode.mp4 CS_EXT_01.mp4
rename CS_FH1_01a-encode.mp4 CS_FH1_01a.mp4
rename CS_FH1_02-encode.mp4 CS_FH1_02.mp4
rename CS_FH4_01-encode.mp4 CS_FH4_01.mp4
rename CS_H1_06-encode.mp4 CS_H1_06.mp4
rename CS_H1_07-encode.mp4 CS_H1_07.mp4
rename CS_H2_01-encode.mp4 CS_H2_01.mp4
rename CS_H2_02-encode.mp4 CS_H2_02.mp4
rename CS_H2_03-encode.mp4 CS_H2_03.mp4
rename CS_LI_01-encode.mp4 CS_LI_01.mp4
rename CS_LI_02-encode.mp4 CS_LI_02.mp4
rename CS_LIB_01-encode.mp4 CS_LIB_01.mp4
rename CS_LIB_04-encode.mp4 CS_LIB_04.mp4
rename CS_LIB_05-encode.mp4 CS_LIB_05.mp4
rename CS_MUS_01-encode.mp4 CS_MUS_01.mp4
rename CS_MUS_02-encode.mp4 CS_MUS_02.mp4
rename CS_MUS_03-encode.mp4 CS_MUS_03.mp4
rename CS_MUS_03a-encode.mp4 CS_MUS_03a.mp4
rename CS_MUS_03b-encode.mp4 CS_MUS_03b.mp4
rename CS_TS_05-encode.mp4 CS_TS_05.mp4
rename CS_TS_07-encode.mp4 CS_TS_07.mp4
rename CS_TS_08-encode.mp4 CS_TS_08.mp4
rename FH02_scene-encode.mp4 FH02_scene.mp4
rename FH03_scene-encode.mp4 FH03_scene.mp4
rename FH04_scene-encode.mp4 FH04_scene.mp4
rename FH05_scene-encode.mp4 FH05_scene.mp4
rename gb01-encode.mp4 gb01.mp4
rename gb02-encode.mp4 gb02.mp4
rename gb03-encode.mp4 gb03.mp4
rename gb04-encode.mp4 gb04.mp4
rename gb05-encode.mp4 gb05.mp4
rename gb06-encode.mp4 gb06.mp4
rename gb08-encode.mp4 gb08.mp4
rename gb09-encode.mp4 gb09.mp4
rename gb10-encode.mp4 gb10.mp4
rename gb11-encode.mp4 gb11.mp4
rename gb12-encode.mp4 gb12.mp4
rename logo-encode.mp4 logo.mp4
pause
- Run
run.cmd . It will take several hours depending on your computer and will re-encode cinematics. Backuped original files will be stored in BACKUP folder. You could delete it afterwards saving 12G of space if game will perform normally.
- If you would want to speed up encode by lowering quality, you can change
-preset slower to -preset slow or -preset medium or even -preset fast
|