LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-23-2004, 05:35 PM   #1
Li...
Member
 
Registered: Feb 2004
Posts: 31

Rep: Reputation: 15
Smile can ogg-files be created during recording?


Hi,

is a programm out there which can do the follwing for me:
I want to record music from a digital satelite receiver via on-board sound-card (c-media).
The sound comes analogue in and the recording programm shold be able to encode it directly into OGG-format without creating a temporary (huge) uncompressed wav-file or similar. The reason for that is, that I"m not sure that there's enough disk space left to save audio-data uncompresed on my hard disk and I prefer OGG format.

Any hints welcome.

Li
 
Old 08-23-2004, 11:40 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
i haven't done this so this is just theoretical (meaning it won't work without experimenting with the switches
if it will work at all)

seems like you could use a command line .wav recorder and pipe the results to SoX
this is just a wild guess on the command (arecord is if you are using ALSA sound driver)



possibly :
arecord -f cd -t wav file.wav | sox -t wav -r 44100 -s -w -c 2 file.ogg

-f cd in arecord is 16bit little endian[-f S16_LE -c2 -r44100]
-w in sox if for 16bit
-s in sox is signed linear

also posibly sound-recorder ???

sound-recorder -c 2 -b 16 -P file.wav | sox -t wav -r 44100 -s -w -c 2 file.ogg


this shouldn't actually make the wav file

good luck

Last edited by foo_bar_foo; 08-23-2004 at 11:46 PM.
 
Old 08-25-2004, 03:52 PM   #3
Li...
Member
 
Registered: Feb 2004
Posts: 31

Original Poster
Rep: Reputation: 15
Thanks for your tip.

I would try it out in the next few days. Currently I haven't a analogue cable for line-in. Yesterday I've build a S/PDIF cable but I've checked out that the S/PDIF port is only for outgoing signals. So I can't use the digital way, normally analogue with noises more or less.....

The redirection could be the solution but I think only when the system is currently not very busy.
I'll try it the next days.

Li
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Icon Previews for Ogg Files? guitarfella Slackware 1 05-21-2005 12:01 PM
How can I FLAC/Ogg files from their CDDA disc-id? orangejon Linux - Software 1 05-20-2005 02:14 AM
opening ogg files in nautilus geniarse Linux - Software 2 09-04-2004 09:57 AM
Changing Ogg to Mp3 files Joe47 Fedora 1 06-27-2004 04:21 AM
Convert ogg to mp3 files? m0rl0ck Linux - Software 5 12-11-2003 01:04 AM


All times are GMT -5. The time now is 11:11 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration