[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[s-x86] encoding heaven!



Wov!

It finally worked. I am encoding a song in 25 seconds :)
I compiled gogo 226a with multiple threads and using cdda2wav on
my dual PIII-500 (overclkd) I am flying through CDs. For personal
use only of course :)

gogo 225 worked fine too, but I was not able to pipe the wav. 
but now this works. 
/opt/schily/bin/cdda2wav -D1,0 -O wav -q -t track -P 0 - | gogo -cpu 2 stdin 
track.mp3

this way, you don't have to have the space for temporary storage. 
-P 0 speeds up the cdda2wav greatly, otherwise you are bound by it.

I also put together a program to get the cddb info, using code
>from dagrab (which is a neat ripper for IDE cdroms on Linux and BSD)
I use it to get the track names and make links for the encoded tracks. 

For gogo, you just need to modify a source file, musenc.c, for the 
correct semaphore routines on SOlaris, and also you will need nasm
installed. I can send anybody a binary if you are interested, it is
not too big. 

my simple query program for cddb info is attached, and it needs a
modified dagrab.c file. You can just remove the main section from
a stock dagrab.c. I can send this file and dagrab.h if you are 
interested. I can also send my binary as well.

cdda2wav, you can get in a cdrecord package, and the scg driver of 
course. 

well, hope this helps somebody, I am quite happy with it. 
It is not perfect, but I am sure you can make it usable ! and did 
I mention that it is fast? 

cheers, 
--burak
Burak H. BAYSAL				|bbaysal@xxxxxxxxxxx	|
Lab Manager, Elec. and Comp. Eng.	|http://www.ee.siue.edu/|
Southern Ill. Univ. at Edwardsville,	|Voice: (618) 650-2523	|
Campus Box 1801,	IL, 62026	|Fax: (618) 650-3374	|


------------------------------------------------------------------------
Get $50 free postage. 
Print postage from your PC with E-Stamp.
Click here to sign up.
http://click.egroups.com/1/2429/3/_/3702/_/953252182/

-- Easily schedule meetings and events using the group calendar!
-- http://www.egroups.com/cal?listname=solarisonintel&m=1


/* checkx86.c */
/* compile with 
	gcc -c -o check86.o checkx86.c da.o
	gcc -c -o da.o da.c
	gcc -lnsl -lsocket -o check86 checkx86.o da.o 
*/

#include "dagrab.h"

main() {
	char * hostname="us.cddb.com"; 
	struct hostent *hent;
	struct cd_trk_list tl;
	int opt_cddb = 1;

	hent = gethostbyname(hostname);

	cd_getinfo(CDDEVICE, &tl);
	cd_disp_TOC(&tl);
	free(hent);
	free(hostname);


	return;
}


Attachment: gogo_doit.csh
Description: gogo_doit.csh