Log in

View Full Version : How to losslessly edit audio streams?


sword_zero001
5th February 2010, 06:44
Hi, I wanted to know if I could:
Split (cut down a part of the audio)
Join (eg. splitted parts into original audio)
Modify whole Volume
of the following formats:
Dolby AC-3
DTS
AAC
MP3
OGG
without transcoding or recoding the audio.
Thanks in advance
PS: I already know about BeSplit (not good using it though) so splitting is only for DTS and OGG
The idea to losslessly modify the volume may sound noob but i got it from here (http://forum.doom9.org/showthread.php?p=424064#post424064 - Question 5), different format though)

tebasuna51
5th February 2010, 13:17
BeSplit can split WAV/AC3/AAC/MPA/MP3/MP2/MP1/PCM/DTS/DTS-WAV formats.
OGG isn't supported.

The -ota( -G max ) only work with MP2/MP3

sword_zero001
6th February 2010, 06:50
Thanks, sorry my info on BeeSplit wasn't complete (I wasn't well informed of that -ota switch neither did I hear it could edit DTS) but I haven't heard of joining capability, is there? Or another tool with joining capability?
BTW how do you use that -ota switch

MatLz
6th February 2010, 07:49
Mp3directcut can cut, join, normalize, increase the volume and do fades in/out, on any part of the file you want, you have even a preview... all that without recode!
But as its name means...it's only for mp3.

sword_zero001
6th February 2010, 08:07
Yeah, just saw the wikipedia article a dew minutes before your post also read of mp3split (for splitting mp3 and OGG)

tebasuna51
6th February 2010, 12:15
Example of -ota usage (only MP2/MP3):

BeSplit -core( -input input.mp3 -output normalized.mp3 -type mp3 ) -ota( -G max )

Example of join usage (all supported formats):

Besplit -core( -input input.dts -prefix part -type dts -ending ) -split( 0 2.12 3.23 4.34 5.45 )
BeSplit -core( -input join.lst -prefix joined.dts -join )

Where join.lst is a file with:
part01.dts
part03.dts
part05.dts

sword_zero001
8th February 2010, 07:49
Thanks for those switches.
Sorry I didn't post in a while, if BeSplit supports splitting and joining of all those filetypes then it's good enough, that only leaves volume normalizer, since BeSplit only supports MP3 I checked "AACGain" and "SoundNormalizer": AACGain works fine though it doesn't support AAC audio in .aac has to be in an .mp4 container and according to their website SoundNormalizer should support lots of extensions but I can only edit .mp3, maybe is a limit of the trial, can someone confirm this.

tebasuna51
8th February 2010, 11:40
You can't modify the volume of a compressed audio without recode.

Some containers (MP3, MP4) can have a flag to say increase the volume to the player but the stream itself is unchanged.
Some PC decoders (ffdshow, Ac3Filter) can modify the volume at play time.
Some 'Normalizers' can destroy the original quality of the audio.

Here I can't recommend other than turn up the volume of your player when you need more audio volume.