FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Automated USM Video Re-Encoding (https://fileforums.com/showthread.php?t=104389)

panker1992 01-05-2021 10:57

Automated USM Video Re-Encoding
 
4 Attachment(s)
Hello Kids,

It's Panker1992 again

https://drive.google.com/file/d/1d78...ew?usp=sharing

Here is how to Re-Encode USM Video Files to Lower Bitrate

In this video i demonstrate also how to keep eye candy the same as before and how to crop if you find videos that have more than one output layouts

I won't Be publicing the tools because their are free but licensed
ONLY THE SCRIPTS that utilizes them.

Let me be clear: Lossy Compression saves space time and generally cartoon videos pre encoded at 20mbps is overkill sometime increasing size dramatically.

Therefore you won't miss anything by doing so.

Update 1:

As per requested Total War - Rome Remastered webm script Uploaded.

Other games that i have reduced size by doing this method
Resident Evil 2,3 and 7, output video is mp4 can be done with ffmpeg only.
Total War - Rome Remastered, webm_vp9 from 20mbps to 2mbps.
Divinity Original Sins - Bink Files. bink Reconder and BPK by profragger.

L33THAK0R 01-05-2021 20:34

Thank you so much for this incredible set of scripts and included tutorials! Now I'm really interested to find out why the heck "Batman: Arkham City" has dual video output, I always assumed this was an unintentional issue with VGMToolbox, and not an intended effect.

I know in your video you said you would cover audio at another time, but I have a very small question which I may be able to answer myself but I just thought I'd ask here anyway, do recoded .usm files with .wav instead of .adx audio files still render properly in-game or would this be a case-by-case basis?

panker1992 02-05-2021 00:53

Quote:

Originally Posted by L33THAK0R (Post 491734)
Thank you so much for this incredible set of scripts and included tutorials! Now I'm really interested to find out why the heck "Batman: Arkham City" has dual video output, I always assumed this was an unintentional issue with VGMToolbox, and not an intended effect.

I know in your video you said you would cover audio at another time, but I have a very small question which I may be able to answer myself but I just thought I'd ask here anyway, do recoded .usm files with .wav instead of .adx audio files still render properly in-game or would this be a case-by-case basis?

every game that utilizes USM do so in a different manner,

For example you may get a game to utilize only video through usm so audio files are absent and game load them from wem files automatically.

Batman for example has dual screen 3900x1080p encoding on usm and you have to crop. other games like microsoft simulator only has videos and nothing else so its case by case!! But it works

Snake288 02-05-2021 22:50

Hello panker1992
 
Hello
panker1992

Is there a size reduction MP4 script upload method for *.mp4 videos used in some games ?

Is there a size reduction *.mp3 ,*.wav ,*.aac,*.oog script upload method for *.mp3 ,*.wav ,*.aac,*.oog Music used in some games ?

Sample Video

milestone.mp4 - 17.5 MB

panker1992 04-05-2021 07:33

Quote:

Originally Posted by Snake288 (Post 491754)
Hello
panker1992

Is there a size reduction MP4 script upload method for *.mp4 videos used in some games ?

Is there a size reduction *.mp3 ,*.wav ,*.aac,*.oog script upload method for *.mp3 ,*.wav ,*.aac,*.oog Music used in some games ?

Sample Video

milestone.mp4 - 17.5 MB

Yes There is

More Specsific
MP4 = Reductions
MP3 to MP3 with lower quality
OGG to OGG
and WEM to WEM
i will upload soon except wem to wem which i need time to automate it

"ffmpeg" -hide_banner -i "%%i" -threads 8 -c:v libx265 -b:v 800k -c:a copy -c:s copy -y "D:\%%~ni.mp4"
https://drive.google.com/file/d/1iLG...ew?usp=sharing
Encoded you Video from 17.5MB to 1.8MB

Masquerade 04-05-2021 11:07

Quote:

Originally Posted by panker1992 (Post 491778)
and WEM to WEM
i will upload soon except wem to wem which i need time to automate it

Wem into ogg,
ogg into packed file using oggre_wwise
oggre_wwise decode into wav
wav into wem using xdelta

Should be easy to do with a bat file, one for encode, one for decode.
I'm nearly finished mine, so I will share it on the forum (I deleted the complete project by accident a few weeks ago :()

p.s. ofc that method is for vorbis only, as for wwise wave audio, I suppose just skip the ogg bit and try this utility with an xdelta: https://anonfiles.com/B0z550uaue/WEMConverter_7z (not tested yet)

panker1992 05-05-2021 06:52

Quote:

Originally Posted by Masquerade (Post 491782)
Wem into ogg,
ogg into packed file using oggre_wwise
oggre_wwise decode into wav
wav into wem using xdelta

Should be easy to do with a bat file, one for encode, one for decode.
I'm nearly finished mine, so I will share it on the forum (I deleted the complete project by accident a few weeks ago :()

p.s. ofc that method is for vorbis only, as for wwise wave audio, I suppose just skip the ogg bit and try this utility with an xdelta: https://anonfiles.com/B0z550uaue/WEMConverter_7z (not tested yet)

when i said wem to wem conversion i meant lossy
you get 1024mb worth of wems and fairly reduce their size to wem different quality down to 600mb :D
this is example!!!

of course i can losssless compress ogg files with oggre and i have script to automate it into multithreading even !!

Snake288 05-05-2021 07:18

Hello
panker1992

Is there a size reduction *.mp3 ,*.wav ,*.aac,*.oog script upload method for *.mp3 ,*.wav ,*.aac,*.oog Music used in some games ?

I look forward to hoping that you can prepare quickly without problems

panker1992 05-05-2021 08:18

uploaded :D

i forgot AAC but i can imagine you can find out how :D

dixen 27-06-2022 00:07

How rebuild USM with 5.1 channel audio? For example, Metal Gear Rising: Revengeance.
ADX 1 channel > WAV = no error
ADX 5.1 > WAV = ffmpeg error

Masquerade 27-06-2022 02:05

Quote:

Originally Posted by dixen (Post 497358)
How rebuild USM with 5.1 channel audio? For example, Metal Gear Rising: Revengeance.
ADX 1 channel > WAV = no error
ADX 5.1 > WAV = ffmpeg error

Scaleform Tool?

https://mega.co.nz/#!glh3HAzK!AAAAAA...AAASZuESpVd7Zs

dixen 27-06-2022 03:48

Quote:

Originally Posted by Masquerade (Post 497359)

Same error - unsupported format:(
Quote:

[Error] The file ("ev0030_40534641.adx") is noncompliant audio file.
- Convert the audio channels from 6 to 1 or 2 [channels].
UPD
I do it)) Multichannel ADX fine decoding to WAV with VGAudio
https://github.com/Thealexbarney/VGAudio


All times are GMT -7. The time now is 20:47.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com