Subscribe to AfterDawn's weekly newsletter.
Normalize files (AVI, MP4 & M2TS) for PS3
#1
30 Dec 2012 @ 15:00
Zaphod703
Send private message to this user
Newbie
I have 40+ videos that I have on a external hard drive for my PS3... THey all work and fine. But often i find with these videos, peoples voices are so low that I need to crank up the audio big time. Does anyone know of a good program(s) that can normalize these videos in batch or atleast individually? Its got several different audio (& video types). Of course want to do this without converting files (to of course keep quality the same). I would GREATLY Appreciate any help with this!
I have AVI files in:
MP4 & AAC
XVID & MP3
XVID & AC3
M2TS:
all in... H.264 & AC3
MP4:
all in... H.264 & AAC
Sorry if this is asking a bit much... just not good with this stuff.
I have AVI files in:
MP4 & AAC
XVID & MP3
XVID & AC3
M2TS:
all in... H.264 & AC3
MP4:
all in... H.264 & AAC
Sorry if this is asking a bit much... just not good with this stuff.
AfterDawn
Advertisement
#2
31 Dec 2012 @ 7:59
attar
AfterDawn Addict
That's a tall order.
If you want to start with the AVI files first.
Create a new folder named Source;collect the AVI files and place them in Source.
Create a new, empty folder, called Destination.
Download and install XviD codec.
Download and install Lame mp3.
Download Virtualdub;extract the files and run the program file (there is no installation).
Set Video > Direct stream copy.
Set Audio > Full processing mode.
Set Audio > Volume...
Check box and adjust volume +6db > OK.
Select Audio > Compression..
Select Lame mp3 48000, 128,CBR,Stereo > OK.
Click File > Job control..
Click Edit > Process directory.. (browse to and select Source folder > OK, then browse to and select Destination folder).
The list of files should appear in the window.
Press Start.
http://www.afterdawn.com/software/audio_video/codecs/xvid.cfm
http://www.videohelp.com/tools/Lame-MP3
http://www.afterdawn.com/software/audio...ualdub_1_3c.cfm
If you want to start with the AVI files first.
Create a new folder named Source;collect the AVI files and place them in Source.
Create a new, empty folder, called Destination.
Download and install XviD codec.
Download and install Lame mp3.
Download Virtualdub;extract the files and run the program file (there is no installation).
Set Video > Direct stream copy.
Set Audio > Full processing mode.
Set Audio > Volume...
Check box and adjust volume +6db > OK.
Select Audio > Compression..
Select Lame mp3 48000, 128,CBR,Stereo > OK.
Click File > Job control..
Click Edit > Process directory.. (browse to and select Source folder > OK, then browse to and select Destination folder).
The list of files should appear in the window.
Press Start.
http://www.afterdawn.com/software/audio_video/codecs/xvid.cfm
http://www.videohelp.com/tools/Lame-MP3
http://www.afterdawn.com/software/audio...ualdub_1_3c.cfm
This message has been edited since its posting. Latest edit was made on 31 Dec 2012 @ 8:00
#4
02 Jan 2013 @ 6:27
attar
AfterDawn Addict
For the mp4 files (assumes they have aac audio) try a batch file using ffmpeg.
Put the mp4 files in a new 'Source' folder (it's best that the file names don't have spaces)
Download the package and locate the Bin folder.
http://ffmpeg.zeranoe.com/builds/win32/...win32-static.7z
Copy ffmpeg.exe to the Source folder.
Create a text file in NotePad, thus:
Save the file with the .bat extension instead of .txt, i.e. 'Gain.bat'.
Put the .bat file in the Source folder.
Volume=3 means a gain of 3db
%%A-loud.mp4 means the new file will have the same name with 'loud' added.
If you are using Windows 7, press 'Shift' and right click on Source.
Select 'Open command window here' from the drop down menu.
The black command window opens.
Type gain and press Enter;the files should be processed and new files created.
Put the mp4 files in a new 'Source' folder (it's best that the file names don't have spaces)
Download the package and locate the Bin folder.
http://ffmpeg.zeranoe.com/builds/win32/...win32-static.7z
Copy ffmpeg.exe to the Source folder.
Create a text file in NotePad, thus:
FOR %%A IN (*.mp4) DO ffmpeg -i %%A -vcodec copy -acodec libvo_aacenc -af volume=3.0 %%A-loud.mp4
Save the file with the .bat extension instead of .txt, i.e. 'Gain.bat'.
Put the .bat file in the Source folder.
Volume=3 means a gain of 3db
%%A-loud.mp4 means the new file will have the same name with 'loud' added.
If you are using Windows 7, press 'Shift' and right click on Source.
Select 'Open command window here' from the drop down menu.
The black command window opens.
Type gain and press Enter;the files should be processed and new files created.
#5
02 Jan 2013 @ 13:55
Damn seriously I never expected this great amount of help so far! you really are going above and beyond seriously! everything you say is working 100% perfectly! AVIs & MP4 worked out perfectly! Genius really! What is great, this isn't just for these videos but every video I get in the future! oooh yea if you do help me out with the m2ts...i also have the mkv version encase that is easier or not.
.....
well spoke bit soon there with mp4. One video worked. Worked exactly correct.. new file created. Than each file got this error. Than tried doing everything over again but still same error. Than tried just doing one video (of those that didn't work) and still the same error game up:
C:\[# - #] ~ MOVIES\(1) -- MAIN\MP4\Source>gain
C:\[# - #] ~ MOVIES\(1) -- MAIN\MP4\Source>FOR %A IN (*.mp4) DO ffmpeg -i %A
-vcodec copy -acodec libvo_aacenc -af volume=3.0 %A-loud.mp4
C:\[# - #] ~ MOVIES\(1) -- MAIN\MP4\Source>ffmpeg -i Video 1.mp4 -vcodec cop
y -acodec libvo_aacenc -af volume=3.0 Video 1.mp4-loud.mp4
ffmpeg version N-48284-g518239c Copyright (c) 2000-2012 the FFmpeg developers
built on Dec 29 2012 22:38:19 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libg
sm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --e
nable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --e
nable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
libavutil 52. 12.100 / 52. 12.100
libavcodec 54. 81.100 / 54. 81.100
libavformat 54. 50.104 / 54. 50.104
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 30.101 / 3. 30.101
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Video: No such file or directory
C:\[# - #] ~ MOVIES\(1) -- MAIN\MP4\Source>
.....
well spoke bit soon there with mp4. One video worked. Worked exactly correct.. new file created. Than each file got this error. Than tried doing everything over again but still same error. Than tried just doing one video (of those that didn't work) and still the same error game up:
C:\[# - #] ~ MOVIES\(1) -- MAIN\MP4\Source>gain
C:\[# - #] ~ MOVIES\(1) -- MAIN\MP4\Source>FOR %A IN (*.mp4) DO ffmpeg -i %A
-vcodec copy -acodec libvo_aacenc -af volume=3.0 %A-loud.mp4
C:\[# - #] ~ MOVIES\(1) -- MAIN\MP4\Source>ffmpeg -i Video 1.mp4 -vcodec cop
y -acodec libvo_aacenc -af volume=3.0 Video 1.mp4-loud.mp4
ffmpeg version N-48284-g518239c Copyright (c) 2000-2012 the FFmpeg developers
built on Dec 29 2012 22:38:19 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libg
sm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --e
nable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --e
nable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
libavutil 52. 12.100 / 52. 12.100
libavcodec 54. 81.100 / 54. 81.100
libavformat 54. 50.104 / 54. 50.104
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 30.101 / 3. 30.101
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Video: No such file or directory
C:\[# - #] ~ MOVIES\(1) -- MAIN\MP4\Source>
This message has been edited since its posting. Latest edit was made on 02 Jan 2013 @ 14:11
#6
02 Jan 2013 @ 14:39
attar
AfterDawn Addict
Quote:It doesn't like the file name or the directory?
Video: No such file or directory
Make three copies of the source file that worked, put them in a folder and see if they convert.
If they do, check the file names or folder names for spaces, etc.
#7
02 Jan 2013 @ 14:48
seemed to help little.... made just source folder in C drive... and took out spaces and got this:
C:\Source>gain
C:\Source>FOR %A IN (*.mp4) DO ffmpeg -i %A -vcodec copy -acodec libvo_aacenc -a
f volume=3.0 %A-loud.mp4
C:\Source>ffmpeg -i video.mp4 -vcodec copy -acodec libvo_aacenc -af volume=3.0 v
ideo.mp4-loud.mp4
ffmpeg version N-48284-g518239c Copyright (c) 2000-2012 the FFmpeg developers
built on Dec 29 2012 22:38:19 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libg
sm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --e
nable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --e
nable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
libavutil 52. 12.100 / 52. 12.100
libavcodec 54. 81.100 / 54. 81.100
libavformat 54. 50.104 / 54. 50.104
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 30.101 / 3. 30.101
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isom
creation_time : 2012-09-25 10:29:52
Duration: 02:22:33.41, start: 0.000000, bitrate: 3356 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x528
[SAR 88:89 DAR 640:267], 2699 kb/s, SAR 253:256 DAR 115:48, 23.98 fps, 23.98 tbr
, 90k tbn, 47.95 tbc
Metadata:
creation_time : 2012-09-25 18:30:44
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 651 k
b/s
Metadata:
creation_time : 2012-09-25 10:32:16
handler_name : GPAC ISO Audio Handler
[libvo_aacenc @ 037db600] Unable to set encoding parameters
Output #0, mp4, to 'video.mp4-loud.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isom
Stream #0:0(und): Video: h264, yuv420p, 1280x528 [SAR 253:256 DAR 115:48], q
=2-31, 2699 kb/s, 23.98 fps, 90k tbn, 90k tbc
Metadata:
creation_time : 2012-09-25 18:30:44
Stream #0:1(eng): Audio: aac, 48000 Hz, 5.1, s16, 128 kb/s
Metadata:
creation_time : 2012-09-25 10:32:16
handler_name : GPAC ISO Audio Handler
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (aac -> libvo_aacenc)
Error while opening encoder for output stream #0:1 - maybe incorrect parameters
such as bit_rate, rate, width or height
C:\Source>
C:\Source>gain
C:\Source>FOR %A IN (*.mp4) DO ffmpeg -i %A -vcodec copy -acodec libvo_aacenc -a
f volume=3.0 %A-loud.mp4
C:\Source>ffmpeg -i video.mp4 -vcodec copy -acodec libvo_aacenc -af volume=3.0 v
ideo.mp4-loud.mp4
ffmpeg version N-48284-g518239c Copyright (c) 2000-2012 the FFmpeg developers
built on Dec 29 2012 22:38:19 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libg
sm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --e
nable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --e
nable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
libavutil 52. 12.100 / 52. 12.100
libavcodec 54. 81.100 / 54. 81.100
libavformat 54. 50.104 / 54. 50.104
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 30.101 / 3. 30.101
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isom
creation_time : 2012-09-25 10:29:52
Duration: 02:22:33.41, start: 0.000000, bitrate: 3356 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x528
[SAR 88:89 DAR 640:267], 2699 kb/s, SAR 253:256 DAR 115:48, 23.98 fps, 23.98 tbr
, 90k tbn, 47.95 tbc
Metadata:
creation_time : 2012-09-25 18:30:44
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 651 k
b/s
Metadata:
creation_time : 2012-09-25 10:32:16
handler_name : GPAC ISO Audio Handler
[libvo_aacenc @ 037db600] Unable to set encoding parameters
Output #0, mp4, to 'video.mp4-loud.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isom
Stream #0:0(und): Video: h264, yuv420p, 1280x528 [SAR 253:256 DAR 115:48], q
=2-31, 2699 kb/s, 23.98 fps, 90k tbn, 90k tbc
Metadata:
creation_time : 2012-09-25 18:30:44
Stream #0:1(eng): Audio: aac, 48000 Hz, 5.1, s16, 128 kb/s
Metadata:
creation_time : 2012-09-25 10:32:16
handler_name : GPAC ISO Audio Handler
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (aac -> libvo_aacenc)
Error while opening encoder for output stream #0:1 - maybe incorrect parameters
such as bit_rate, rate, width or height
C:\Source>
#9
02 Jan 2013 @ 15:14
Stereo... And the rest have stereo but one that says 6 channels (viewing in windows media player).
This message has been edited since its posting. Latest edit was made on 02 Jan 2013 @ 15:16
#10
02 Jan 2013 @ 17:28
attar
AfterDawn Addict
Without a clip to test I can't offer much - except you could load a file in AviDemux and use the A/B buttons to select a few seconds, save it and upload to the likes of MediaFire.

Or you can try adjusting the audio one at a time using the 'Filter' button thus:


Or you can try adjusting the audio one at a time using the 'Filter' button thus:

Related discussion threads
| Thread subject | Posts | Latest post | Forum room | |
|---|---|---|---|---|
| Game Genie help for FF13-1 save file editing for PS3 | 2 | 24 May 2013 | Consoles / PS3 - Modding & Hacking | |
| Ps3 Cech 2501A jailbreak 9/2010 | 2 | 19 May 2013 | Consoles / PS3 - Modding & Hacking | |
| PS3 SLIM NO VIDEO no sound but lights up | 4 | 15 May 2013 | Consoles / PS3 - Everything else | |
| Need Help With Blu ray drive on ps3 on cfw rogero 4.40 v1.03 | 5 | 14 May 2013 | Consoles / PS3 - Modding & Hacking | |
| ps3 jailbreaking | 6 | 14 May 2013 | Consoles / PS3 - Modding & Hacking | |
| Sony: Manufacturing costs for PS4 will be much cheaper than PS3 | 4 | 13 May 2013 | Announcements / News comments | |
| ps3 phat ofw 4.41 chechC 50GB | 2 | 11 May 2013 | Consoles / PS3 - Modding & Hacking | |
| Good PS3 Platform Games (2 player) | 2 | 10 May 2013 | Consoles / PS3 - Everything else | |
| JailBreaking my PS3 | 7 | 09 May 2013 | Consoles / PS3 - Modding & Hacking | |
| PS3 Firmware install for the first time | 1 | 17 Apr 2013 | Consoles / PS3 - Modding & Hacking | |

