To Thread - Forum Home

The Mudcat Café TM
https://mudcat.org/thread.cfm?threadid=171181
16 messages

Tech: Recording Streaming

21 Apr 22 - 03:40 AM (#4139714)
Subject: Tech: Recording Streaming
From: Harry Rivers

I have just bought a new laptop and on this machine microphone and headphones share one jack socket.

Previously, I would just connect headphones to mic with a jack lead and record streaming audio with Audacity, monitoring with a splitter.

Any ideas how I can record streaming?

Is there a reasonably priced software solution whereby it can be done internally without jacks?

The laptop has USB and HDMI, can either of these be used for audio input/output?

Harry


21 Apr 22 - 04:06 AM (#4139718)
Subject: RE: Tech: Recording Streaming
From: Joe Offer

I'll be following this. I think Audacity is the answer, but things keep changing. Sometimes, Audacity will record anything I can hear with my computer, and sometimes not. I'm in the "not" stage with Windows 11 right now, and I'm desperate for a solution. I need sure-fire methods to ensure Audacity will record whatever I'm playing on my computer.

-Joe-


21 Apr 22 - 04:24 AM (#4139722)
Subject: RE: Tech: Recording Streaming
From: DaveRo

Audacity Tutorial - Recording audio playing on the computer


21 Apr 22 - 04:28 AM (#4139723)
Subject: RE: Tech: Recording Streaming
From: Joe Offer

Oh, Dave, you're my hero!

(Gotta check this out first, but you've saved me many times in the past)

-Joe-


21 Apr 22 - 12:16 PM (#4139757)
Subject: RE: Tech: Recording Streaming
From: DaveRo

I have certainly used Audacity to record internet radio streams while playing them on speakers at the same time - but not using Windows. But from doing it on Linux I can tell you that it will probably not be simple and intuitive and there may be some jargon and non-obvious settings involved. So don't despair if you can't get it to work straight away.


21 Apr 22 - 03:31 PM (#4139772)
Subject: RE: Tech: Recording Streaming
From: GUEST

To record streaming audio, set the Recording Device to [your speakers] Loopback

https://manual.audacityteam.org/man/tutorial_recording_computer_playback_on_windows.html#wasapi


21 Apr 22 - 05:42 PM (#4139782)
Subject: RE: Tech: Recording Streaming
From: cnd

Make sure your input is set to speakers, and make sure playback is turned off -- I believe it's in edit, preferences, and then de-select playback (can't remember what the other option is)


22 Apr 22 - 04:46 AM (#4139826)
Subject: RE: Tech: Recording Streaming
From: Jon Freeman

But from doing it on Linux I can tell you that it will probably not be simple and intuitive and there may be some jargon and non-obvious settings involved.
Drifting but I don’t think sound on Linux is straightforward. There is ALSA, PulseAudio, Jack and GStreamer for a few components that may be involved and there are many possible setups (on which I'm easily confused).

My desktop set up is complicated by me using Rosegarden and Jack for MIDI via external (one keyboard and one module) devices. I’ve found Cadence (which will set things up in the background on log in – I don’t need to use the interface each time) provides me with the simplest way of having Jack and PulseAudio working together nicely. Perhaps PipeWire would also work but I’ve yet to try it.

(For MIDI playback on other Linux things, I use Audacious which just needs a soundfont [I use Merlin Gold) provided which is simpler than trying to set up a software synth like timidity or fluidsynth)

Getting back a bit more on topic. On my Desktop, just leaving Audacity’s devices as “system” will work for me. That will use the current system defaults (in my case, that’s nearly always a Yamaha mixer) but I could try to be more specific. With my set up and the mixer, playback and recording are called “PulseAudio Jack source” and “PulseAudio Jack sink”


22 Apr 22 - 06:55 AM (#4139838)
Subject: RE: Tech: Recording Streaming
From: Harry Rivers

Using the various bits of advice above, I think I have it working with the following settings in Audacity:

Audio Host = MME
Recording Device = Microsoft Sound Mapper - Input
Recording Channels = 2(stereo)
Playback Device = Speaker (Realtek(R) Audio)

I also had to go into Hardward/Sound options in Control Panel and disable the laptops's internal microphone.

It certainly records what's streaming but I haven't checked the overall quality; I'll do that when I get home and feed the WAV file through a decent setup.

Many thanks
Harry


22 Apr 22 - 07:24 AM (#4139843)
Subject: RE: Tech: Recording Streaming
From: Newport Boy

The quality of the recording depends on the Digital to Analogue & Analogue to Digital converters on the machine you used. The sound is converted twice to get your WAV file.


22 Apr 22 - 10:25 AM (#4139875)
Subject: RE: Tech: Recording Streaming
From: Bonzo3legs

Surely it's far easier to capture webstreams, both audio and video, using ffmpeg.


22 Apr 22 - 12:02 PM (#4139888)
Subject: RE: Tech: Recording Streaming
From: Harry Rivers

Bonzo, and how would one go about that?

Harry


22 Apr 22 - 12:21 PM (#4139891)
Subject: RE: Tech: Recording Streaming
From: Bonzo3legs

https://mediarealm.com.au/articles/internet-stream-recorder-ffmpeg/

There are many pages on the web which can explain it better than myself.


22 Apr 22 - 12:57 PM (#4139896)
Subject: RE: Tech: Recording Streaming
From: Stanron

In a Linux operating System ffmpeg is a 'terminal command'. Is that a 'console command' in Windows? It's old school computer methodology. No Graphic User Interface like Windows, or mouse clicking on buttons or clicking on links.

You type the command into the terminal and press 'enter'. Frightening stuff if you are not used to it. Plus there will be a whole load of letter options to follow the command and these all have to be letter and case correct for it to work.

On my system I did it through a GUI years ago. It was dead simple but I've now forgotten how I did it.

Tomorrow I'm going to put a new SSD in my PC and install the latest version of Linux Mint Cinnamon. There will be a lot of setting up and file transferring once it's done and setting up Audacity will be one of those tweaks. I'll be re-reading this thread then.


22 Apr 22 - 02:03 PM (#4139907)
Subject: RE: Tech: Recording Streaming
From: DaveRo

Stanron wrote: In a Linux operating System ffmpeg is a 'terminal command'. Is that a 'console command' in Windows?
Yes. You can install ffmpeg in Windows, it's just the same. (Or if you're used to Linux you can run it under WSL.)

Is it easier than using Audacity? Only for a very few values of 'easier'. I might use it if I wanted to record unattended - a timed (cron) job. Or if I wanted to avoid or minimise re-encoding, with consequent loss of quality.

But for most uses and most users, especially under Windows, Audacity (or some other GUI program) is easier IMO.


22 Apr 22 - 05:37 PM (#4139918)
Subject: RE: Tech: Recording Streaming
From: Bonzo3legs

Using ffmpeg, the following command will capture live BBC2 HD but only at 720p

ffmpeg -i https://vs-hls-push-uk-live.akamaized.net/x=3/i=urn:bbc:pips:service:bbc_two_hd/t=3840/v=pv14/b=5070016/main.m3u8 -c copy test.ts

Presumably the 5070016 means something, but is there a list of such codes used by the BBC?