Help - Search - Members - Calendar
Full Version: merge speex and vorbis
Hydrogenaudio Forums > Lossy Audio Compression > Ogg Vorbis > Ogg Vorbis - General
masken
I was wondering if it's somehow possible to merge vorbis and speex-files, I tried with the following (in a dos prompt).
CODE
copy /b track1.ogg + track2.spx track3.ogg

Neither winamp nor foobar2000 could play it (I changed the file extension to spx but still no luck).
The thing is that I want to save space by encoding the speech in a radio show using speex and the music using vorbis without ending up with alot of small-sized files.

So is this even possible or do I have to find another solution?
john33
Although the two codecs share the same 'ogg' container, that's where the similarity ends. They are basically very different beyond the container.
Case
QUOTE(masken @ Apr 6 2003 - 06:57 PM)
I was wondering if it's somehow possible to merge vorbis and speex-files, I tried with the following (in a dos prompt).
CODE
copy /b track1.ogg + track2.spx track3.ogg

Neither winamp nor foobar2000 could play it (I changed the file extension to spx but still no luck).
The thing is that I want to save space by encoding the speech in a radio show using speex and the music using vorbis without ending up with alot of small-sized files.

So is this even possible or do I have to find another solution?

It's possible in foobar2000, I was just too lazy to write Speex component properly the first time. You can download improved foo_speex for 0.6 beta and it should work nicely.
jmvalin
QUOTE(masken @ Apr 6 2003 - 10:57 AM)
I was wondering if it's somehow possible to merge vorbis and speex-files, I tried with the following (in a dos prompt).
...
So is this even possible or do I have to find another solution?

It's one of the possible future improvements: allow dynamic switching between Vorbis and Speex. Don't hold your breath though.
salt28
unsure.gif

I always dreamt of this.
Who know maybe one day if I find the time and my programming skills are better iI could help.
It would be great if a live webcast could choose between 8 K speex and 16 K vorbis or so.
Since alot of live webcasts have people talking and then some music.And bandwith is crucial for video casts, because you want to allocate as much possible to the video anyway.

Now speech is great for VoIP and such realtime speech. But if I were to encode something that also has music in it, I would have to revert to vorbis and if I can't do that dynamically 'm forced to encode the whole thing in vorbis.

But if it's possible in foo bar, it shouldn't be too hard to implement in ogg.

Anyway I think speex is truly great. It puts the free in "free speex" biggrin.gif
I can hardly tell the diffrence between the originals and 4 kbps VBR
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.