HydrogenAudio

Lossy Audio Compression => Ogg Vorbis => Ogg Vorbis - General => Topic started by: David5 on 2008-01-11 07:22:38

Title: Combining multiple ogg sound into one
Post by: David5 on 2008-01-11 07:22:38
Hi,

I have multiple ogg sounds that I want to combine into one gapless sound in Ogg or MP3.

Does anyone know of how to do this or a library that I can call from VB do do this ?

The Ogg files might be of different quality....

David
Title: Combining multiple ogg sound into one
Post by: john33 on 2008-01-11 09:11:22
If you mean string a number of ogg files into one file, you can simply concatenate them and any self-respecting player will play the chained file. If that's not what you mean, perhaps you could enlarge on your explanation.
Title: Combining multiple ogg sound into one
Post by: David5 on 2008-01-11 22:55:24
That's exactly what I mean.

But these self-respecting players are a minority. Windows Media Player does not support this, and MANY converters does not convert both sounds to for example MP3 or WAV. They just take the first sound.

Do you know of a activeX/dll sound converter that will do this correctly ? Because we need to convert to MP3 from VB....

David

If you mean string a number of ogg files into one file, you can simply concatenate them and any self-respecting player will play the chained file. If that's not what you mean, perhaps you could enlarge on your explanation.
Title: Combining multiple ogg sound into one
Post by: kreislauf on 2010-11-17 23:12:52
it's simple!
... under linux

type
Code: [Select]
cat title_1.ogg title_2.ogg > title_merged.ogg
Title: Combining multiple ogg sound into one
Post by: WonderSlug on 2010-11-18 01:19:36
it's simple!
... under linux

type
Code: [Select]
cat title_1.ogg title_2.ogg > title_merged.ogg


Windows too...

In a CMD prompt:

Code: [Select]
copy /b file1.ogg + file2.ogg > mergedfile.ogg

Title: Combining multiple ogg sound into one
Post by: Anakunda on 2010-11-25 15:02:13
This is what I'd welcome too !!

Like encoding in foobar to multi-track file. catenating the individual files into one doesnot create the subsong indexes which I require. Ofcurse theres' possibility to reencode by foobar with appropriate conversion profile but converting Ogg->Ogg is pretty ugly. `m sure this is technically no prob, just to know the tool which concats seamlessly all streams into one and creates appropriate subsong indexes..
Title: Combining multiple ogg sound into one
Post by: Antonski on 2010-11-25 20:53:53
...just to know the tool which concats seamlessly all streams into one and creates appropriate subsong indexes..

What do you need is chapters. However, I've never seen an ogg vorbis file with chapters, although they are mentioned in specifications, I believe.
That's why all of my audio collections ogg and (mostly) musepack, which natively supports chapters and thus is more suitable for concept or live albums (with many joined tracks).
In your case, since you have to stay with ogg, you can generate cuesheets and either embed them into the file tags or use them as external files, depending of the player capabilities to deal with cuesheets.
I don't know of any tool that can do this automatically, but maybe some relatively simple script could do the job.
Title: Combining multiple ogg sound into one
Post by: Anakunda on 2010-11-26 09:55:31
I think theres a tool called CUEtools, which maybe could do the job but firstly it had to support Vorbis what I doubt.
Once the continuous cuesheet have been made it can be embedded via foobar so that subsong indexes (or chapters if you want) are automatically created.
Title: Combining multiple ogg sound into one
Post by: а.п.т. on 2010-11-26 10:15:37
Ermm, I think that cuesheets and chapters are a (slightly) bit different staff...
Title: Combining multiple ogg sound into one
Post by: Anakunda on 2010-11-26 11:06:28
Ermm, I think that cuesheets and chapters are a (slightly) bit different staff...


ofcourse they are. just upon having a valid CUEsheet, subsong indexes(chapters) can be easily created from it.
Title: Combining multiple ogg sound into one
Post by: а.п.т. on 2010-11-26 13:49:36
Do you have some useful document describing ogg chapters? Or a sample file?