View Full Version : Volume reduction without reencoding video
NoiseHead
3rd January 2005, 02:57
Hi There.
I have hundreds of MPEG2 files that need to be reencoded with a lower audio level. I would like to use some kind of batch utility to do the processing. TMPGEnc Xpress would seem to work, but I can't figure out how to do it without reencoding the video. I can't find the Virtual Dub equivalent of "Direct Stream Copy". Does anyone know if this is possible in TMPGEnc, or if it is possible to batch process MPEG2 files, lowering the audio volume and without reencoding the video, using any other program(s).
Any help would be greatly appreciated.
Thanks.
NoiseHead.
dani82
4th January 2005, 09:46
not really sure, but you don't need to re-encode the video just to change the volume of the audio
just extract the audio with tmpgenc's de-multiplex option (File -> Mpeg Tools) and change the audio level with a sound editor, then covert it back *.mp2/*.mp3 format, multiplex it back with the video and repeat??? let's see ...a couple hundreds time.
Video Dude
4th January 2005, 23:53
Thats correct. You would demux the video and audio. Normalize the audio stream (you can batch this step). Then you would multiplex the video and normalized audio stream.
But since it is MPEG-2 video, don't use mp3 audio.
NoiseHead
5th January 2005, 04:18
Thanks guys.
That is the process that I have been using for volume correction of the odd segment when needed, but I really don't want to have to do it manually a few hundred times. It would be nice if the Mpeg Tools in TMPGEnc were usable in Batch Mode. Since they are not (that I can see), and there is no way to demux > volume correct > mux, with the batch tool, I was hoping that a template that did not reencode the video would work.
I guess that I will just have to except my fate and dive in. Unfortunately there are already too few hours in my day. Life just got a little shorter :)
Thanks again.
Video Dude
5th January 2005, 06:14
Now that I think of it, you can use bbTools to batch demux. Get it from the doom9 download section. bbTools is a collection of programs, you want to use BBDMUX.EXE. It is command line so you can write a .bat file in notepad to batch it.
For batch remuxing (multiplexing) you can use ImagoMPG-Muxer.
http://www.videohelp.com/tools?tool=ImagoMPG-Muxer
It has a GUI, but it has command line so you can write a batch file.
Both bbTools and ImagoMPG-Muxer are free.
There are a number of audio programs that are command line.
If you know how to write batch files (sorry I can't help), you can do the three steps (demux, adjust audio, remux) all in one batch file. So you can do all your MPEG files with just one mouse click and leave it overnight to work.
NoiseHead
6th January 2005, 06:16
Video Dude, you're awesome.
That's exactly what I needed. Hopefully there are no sync problems when the files are remuxed. This should save me hours and hours.
Best of all, I don't have to buy any software to get it done.
Thanks a lot, and have a very happy new year.
Noise Head
Video Dude
6th January 2005, 17:41
:) The only tricky part would be writing the batch file.
The ImagoMPG-Muxer download site that videohelp links to seems to be down as of now. And I can't seem to find any mirrors that host ImagoMPG-Muxer.
Another (free) command line multiplexer is mplex1.
http://members.aon.at/johann.langhofer/mplex1.htm
So thats an alternative if you can't find ImagoMPG-Muxer to download.
Abond
7th January 2005, 10:03
The ImagoMPG-Muxer can be downloaded here (see the 13th post) http://forum.doom9.org/showthread.php?threadid=87705
You can try Avidemux2, it has Direct stream copy functionality. Download here http://forum.doom9.org/showthread.php?threadid=81907
at the end of the thread.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.