Skip to main content

Topic: Combining multiple ogg sound into one (Read 11280 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • David5
  • [*]
Combining multiple ogg sound into one
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

  • john33
  • [*][*][*][*][*]
  • Developer
Combining multiple ogg sound into one
Reply #1
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.
John
----------------------------------------------------------------
My compiles and utilities are at http://www.rarewares.org/

  • David5
  • [*]
Combining multiple ogg sound into one
Reply #2
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.

  • kreislauf
  • [*]
Combining multiple ogg sound into one
Reply #3
it's simple!
... under linux

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

  • WonderSlug
  • [*][*][*][*]
Combining multiple ogg sound into one
Reply #4
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


  • Anakunda
  • [*][*][*][*][*]
Combining multiple ogg sound into one
Reply #5
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..

  • Antonski
  • [*][*][*]
Combining multiple ogg sound into one
Reply #6
...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.
  • Last Edit: 25 November, 2010, 03:55:15 PM by Antonski

  • Anakunda
  • [*][*][*][*][*]
Combining multiple ogg sound into one
Reply #7
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.

  • а.п.т.
  • [*]
Combining multiple ogg sound into one
Reply #8
Ermm, I think that cuesheets and chapters are a (slightly) bit different staff...

  • Anakunda
  • [*][*][*][*][*]
Combining multiple ogg sound into one
Reply #9
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.

  • а.п.т.
  • [*]
Combining multiple ogg sound into one
Reply #10
Do you have some useful document describing ogg chapters? Or a sample file?