Hello, I'm looking for ideas here. I'm sure it's easy, but cant quite get what I need. I am looking for a way to encode everything from the soundcard into a .ogg, on the fly. Basically I want to be able to record and convert directly to a compressed file. Since this will be running constantly, I would also like to be able to listen to the file during this time. I know oggenc can use stdin, but I'm just not sure how to get the audio directed to it. Any ideas? Thanks in advance! Bryan --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
I have a little function for recording from my radio (connected to line in) that uses alsa's mixer and arecord, you might find it useful: function radiorec() { amixer sset Line,0 85%,85% unmute captura arecord -f cd -t wav - | oggenc -q 3 -o $1.ogg - } To use it I just issue radiorec filename at a prompt. Cheers, J <p>* Bryan Koschmann - GKT <gktnews@gktech.net> [2003-02-13 10:04]:> Hello, > > I'm looking for ideas here. I'm sure it's easy, but cant quite get what I > need. > > I am looking for a way to encode everything from the soundcard into a > .ogg, on the fly. Basically I want to be able to record and convert > directly to a compressed file. Since this will be running constantly, I > would also like to be able to listen to the file during this time. > > I know oggenc can use stdin, but I'm just not sure how to get the audio > directed to it. > > Any ideas? > > Thanks in advance! > > Bryan > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > Ogg project homepage: http://www.xiph.org/ogg/ > To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' > containing only the word 'unsubscribe' in the body. No subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered.--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Group, Exactly what I was going to ask as well. We currently make a product that does mpeg and wma streams from a device on the fly to disk, but haven't popped open the vorbis can of worms yet. Any ideas or suggestions on a windows platform would be appreciated. Thanks, Cory Schruth LakeSoft, Inc. 541.926.8855 - Obstacles are what you see when you take your eyes off your goal. - ----- Original Message ----- From: "Bryan Koschmann - GKT" <gktnews@gktech.net> To: "Vorbis List" <vorbis@xiph.org> Sent: Wednesday, February 12, 2003 4:03 PM Subject: [vorbis] Encode on fly from device? <p>Hello, I'm looking for ideas here. I'm sure it's easy, but cant quite get what I need. I am looking for a way to encode everything from the soundcard into a .ogg, on the fly. Basically I want to be able to record and convert directly to a compressed file. Since this will be running constantly, I would also like to be able to listen to the file during this time. I know oggenc can use stdin, but I'm just not sure how to get the audio directed to it. Any ideas? Thanks in advance! Bryan --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered. --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
>Date: Wed, 12 Feb 2003 16:03:52 -0800 (PST) >From: Bryan Koschmann - GKT <gktnews@gktech.net> > >I am looking for a way to encode everything from the soundcard into a >.ogg, on the fly. Basically I want to be able to record and convert >directly to a compressed file. Since this will be running constantly, I >would also like to be able to listen to the file during this time. >I have had good luck using brec which is part of the Debian distribution. It will read from the sound card and output to stdout. It was given very good performance for me. As to listening as you record, couldn't you use the ogg-playing program of your choice directly on the .ogg file? -Ben Blout --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1> I'm looking for ideas here. I'm sure it's easy, but cant quite get what I > need. > > I am looking for a way to encode everything from the soundcard into a > .ogg, on the fly. Basically I want to be able to record and convert > directly to a compressed file. Since this will be running constantly, I > would also like to be able to listen to the file during this time. > > I know oggenc can use stdin, but I'm just not sure how to get the audio > directed to it.If you want this on a system that runs ecasound, I would say something like ecasound -a:1,2 -i /dev/dsp -a:1 -o somefile.ogg -a:2 -o /dev/dsp could do the trick. On the eca-list there is a discussion going on on running ecasound under cygwin. So with a bit of luck it might be possible to even use it under Windows. bye, Kasper -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+SuzuIfK550gyWGYRAhf/AKCNfpd4tCBjplBXCXNIIUT3/COxjgCgrPH/ 3kgM92LPdSBD+XqFUNGfLZ0=YhUk -----END PGP SIGNATURE----- --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Bryan Koschmann - GKT wrote:>Hello, > >I'm looking for ideas here. I'm sure it's easy, but cant quite get what I >need. > >I am looking for a way to encode everything from the soundcard into a >.ogg, on the fly. Basically I want to be able to record and convert >directly to a compressed file. Since this will be running constantly, I >would also like to be able to listen to the file during this time. > >I know oggenc can use stdin, but I'm just not sure how to get the audio >directed to it. > >Any ideas? > >Thanks in advance! > > Bryan > >--- >8 ---- >List archives: http://www.xiph.org/archives/ >Ogg project homepage: http://www.xiph.org/ogg/ >To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' >containing only the word 'unsubscribe' in the body. No subject is needed. >Unsubscribe messages sent to the list will be ignored/filtered. > > >CDex on Windows can do encoding on the fly from your sound card. Look in Tools > Record from Analog Input. --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.