Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Is there a way to compress audio input directly into mp3/ogg files? I want to record some stuff from the radio late at night (using mix/aux in - no radio card in my box ) but don't want 2 or 3 hours of WAV file on my hd, hence was wondering about ogg compression 'on-the-fly' as it were.
ok ok... i've been fiddling with this for what.. 2 hours now i guess... and the only thing i've defintelly sussed out is that if you get sox from source, it can record to ogg from line-in. i've tried it, and it's absolutely crap quality, but i presume there's prolly a way to make it nicer.
there's record, part of xawtv, which record REALLY nicely with ncurses console gui to wav.
lame, which can encode FROM stdin, BUT i cna't find ANYTHING that will play from linein to stdout, as i guess it's a bit of a lame thing to want to do, even tho play, which IS the same program as rec DOES play to stdout... NRRG!
that doesn't do justice to my hours of research but hey... erm.. sod it.
Cheers guys. I tried using sox before, but it's the one that comes with Mandy. Will d/l the source later and try it. Might give that MusicMatch thing a go as well but... I've never been one of those people that is happy with a program that 'does it for you' - for example, I don't like (Windows) programs that rip cds and automagically give you the mp3 file - invariably they have the copy-protection bit set so although you can convert them back to wav, you can't burn them as audio cds. Sorry, bit of a ramble there, hey ho!
yeah, even the md82 version of sox doesn't have ogg support, i compiled from source, and it's all there, just make sure you specify -r 44101 on the rec cmd line, as that's all ogg can handle and it'll crash otherwise.
mmjb, yuck. i've only ever had hideous problems with that, it even uses it's own version of wine integrated into it.. yucky.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.