Help - Search - Members - Calendar
Full Version: How to extract chain ogg file
Hydrogenaudio Forums > Lossy Audio Compression > Ogg Vorbis > Ogg Vorbis - General
siorin
I want to extract chain ogg file.
Please tell me how can I extract chain ogg file to each song.
I've tried oggcut.ext,But I need cut by manually and it isn't work good.
Biont
Hey, that's a good question! I'm believe there is no tool for directly cutting ogg into small oggs. I mean, there is no tool, that would search for specified silence gaps and automatically cut in that place. But does anyone know of such tool for wavs? There must be. Standalone or like DX plugin, so you could just input the whole album and it would cut it to songs.
john33
The oggdec and oggdropXPd at Rarewares will both decode a chained ogg file to separate wave files, but they don't split the chain into separate ogg files.
siorin
Thanks.
It is necessary to decode to wav in order to extract ogg chainfile into each track.
So It is better archive zip file then play by foobar.
Peter Harris
QUOTE(siorin @ Oct 8 2003, 10:15 AM)
I want to extract chain ogg file.
Please tell me how can I extract chain ogg file to each song.

Check out http://www.xiph.org/archives/vorbis-dev/20...00308/0004.html, but you might need to compile it yourself. Unless the awesome people that run RareWares are watching, that is.
john33
QUOTE(Peter Harris @ Oct 10 2003, 01:34 PM)
QUOTE(siorin @ Oct 8 2003, 10:15 AM)
I want to extract chain ogg file.
Please tell me how can I extract chain ogg file to each song.

Check out http://www.xiph.org/archives/vorbis-dev/20...00308/0004.html, but you might need to compile it yourself. Unless the awesome people that run RareWares are watching, that is.

Well, I downloaded and finally managed to get a clean MSVC compile. However, there is some sort of problem in that if I create a chained file using the usual:-
copy /b a.ogg+b.ogg c.ogg, for example and then run c.ogg against oggsplit, I simply get an error message. But if I run the file through oggdropXPd and decode to wav, I get the expected result. Any ideas? Have you tried it yourself?
dev0
Have you tried the more recent OggSplit 0.1.0?
john33
QUOTE(dev0 @ Oct 10 2003, 04:53 PM)
Have you tried the more recent OggSplit 0.1.0?

Yes, I have! sad.gif Even with the slightly later patch.
Peter Harris
QUOTE(john33 @ Oct 10 2003, 11:06 AM)
Any ideas? Have you tried it yourself?

No, I haven't tried it myself. Maybe it's time to download MinGW so I can look at these things when I'm at home, too...

The first thing that comes to mind is that fopen() needs "rb" and "wb" on DOS successors, rather than simply "r" and "w".

Hmmm. I'll go install MinGW now, and see if I can make any headway.
Peter Harris
QUOTE(Peter Harris @ Oct 10 2003, 07:29 PM)
The first thing that comes to mind is that fopen() needs "rb" and "wb" on DOS successors, rather than simply "r" and "w".

Yeah, that seems to be it. At least, OggSplit 0.1.0 with the extra patch from later on in the thread, changing "r" to "rb" and "w" to "wb", compiled with MinGW, and run with the -c flag, successfully split the one test file I just created with copy /b. Confirmed identical to the original files with diff.
john33
QUOTE(Peter Harris @ Oct 11 2003, 01:06 AM)
QUOTE(Peter Harris @ Oct 10 2003, 07:29 PM)
The first thing that comes to mind is that fopen() needs "rb" and "wb" on DOS successors, rather than simply "r" and "w".

Yeah, that seems to be it. At least, OggSplit 0.1.0 with the extra patch from later on in the thread, changing "r" to "rb" and "w" to "wb", compiled with MinGW, and run with the -c flag, successfully split the one test file I just created with copy /b. Confirmed identical to the original files with diff.

Doh!!! rolleyes.gif Braindead, again!! tongue.gif Recompiled and tested OK. I'll upload to Rarewares in the next few minutes. Thanks Peter. wink.gif

Edit: Available now.
Mac
Thanks John & Peter smile.gif

I have a 140mb chained ogg with 50 streams inside.. when I actually have enough room (140mb free) to split it into individual files I'll give this tool a bash smile.gif
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-2008 Invision Power Services, Inc.