Record audio output / audio that is played in a web browser
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Record audio output / audio that is played in a web browser
Hello,
this is not a Slackware related issue but i decided to post it here because i didn't know where to post it actually. The moderators could move it to the relevant sub-forum.
I listen to streams (audio and video) that are played in a browser. I would like to record the audio in a local file. Either I have to somehow capture the output of the audio card / interface / device or capture the stream itself using another application. Does anyone have any idea how i could do this? To give you more information about the streams:
Audio Stream - http://www.538.nl/player/?player=rad...tion=nonstop40 . I could not get the stream URL from the page source actually.
Video Stream - http://www.538.nl/538tv/ . As far as i could understand from the source this is RTMP stream (rtmp://82.201.53.52:80/livestream). I want to record only the audio, not the video.
I tried to search for some solutions but i could not understand them. I have already installed rtmpdump, flvstreamer and VLC.
Every suggestion for a solution would be appreciated.
Hello,
i tried this one. I do have a DELL machine but unfortunately i do not have a 'Capture Source'.
First, I added the .asoundrc file -->OK
I tried to run:
Pulseaudio (or another jack-capable sound server) and jack (along with audacity or some other audio recording program) should work. Install jack, then build and install pulse, then build and install audacity. The following .asoundrc file would route all audio through pulse:
Code:
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
Then in jack (qjackctl is your best friend for this) you can route the audio from pulse to audacity and record whatever you are listening to. This shouldn't need hardware capture as far as I know. I can't stand pulse so when I did this in the past I would just run pulse when I needed to capture audio and not all the time (which required renaming the .asoundrc file to lose the pulse routing).
You can load snd-aloop, redirect your application to the new Loopback device using the ALSA_CARD environment variable. And then record the audio from there.
You can load snd-aloop, redirect your application to the new Loopback device using the ALSA_CARD environment variable. And then record the audio from there.
Pulseaudio (or another jack-capable sound server) and jack (along with audacity or some other audio recording program) should work. Install jack, then build and install pulse, then build and install audacity. The following .asoundrc file would route all audio through pulse:
Code:
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
Then in jack (qjackctl is your best friend for this) you can route the audio from pulse to audacity and record whatever you are listening to. This shouldn't need hardware capture as far as I know. I can't stand pulse so when I did this in the past I would just run pulse when I needed to capture audio and not all the time (which required renaming the .asoundrc file to lose the pulse routing).
hello,
i did the following so far:
1. installed jack-audio-connection-kit
2. run this command as explained in jack's readme: setcap cap_ipc_lock,cap_sys_nice=ep /usr/bin/qjackctl
3. installed qjackctl
4. installed pulseaudio
5. installed audacity
6. created .asoundrc with the content listed above
All the applications i installed with the default settings, no optional dependencies.
Please let me know how exactly i could redirect the audio from pulse to audacity in qjackctl?
Last edited by glupa4e; 05-20-2013 at 07:19 AM.
Reason: wrong title
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
Quote:
Originally Posted by glupa4e
Please let me know how exactly i could redirect the audio from pulse to audacity in qjackctl?
Did you read the link I posted for you?
If it doesn't work like that, jack might be in the way. I am not sure what it does, but pulse alone should be able to perform the task.
System sounds disappeared after installing jack/pulse
Hello,
now the system sounds disappeared after installing jack/pulse. Usually there is a startup sound when logging into KDE. Now this sound is gone and instead of that, there is a message reading that two of the devices have been removed. "Do you really want KDE to completely forget about them?". In addition to that, the sounds in Skype also disappeared and I cannot make audio calls any more.
Any idea how that could be fixed? Thanks!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.