public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] how to record mp3 stream
@ 2024-07-01  9:18 John Covici
  2024-07-01 10:39 ` Jacques Montier
  0 siblings, 1 reply; 4+ messages in thread
From: John Covici @ 2024-07-01  9:18 UTC (permalink / raw
  To: gentoo-user

Hi.  I am interested in recording an mp3 stream in the background and
being able to specify start/stop time, etc.

I looked at Google, but just found a package called audio-recorder,
but I am not sure its currently maintained and its not in the gentoo
packages.

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici wb2una
         covici@ccs.covici.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] how to record mp3 stream
  2024-07-01  9:18 [gentoo-user] how to record mp3 stream John Covici
@ 2024-07-01 10:39 ` Jacques Montier
  2024-07-01 13:14   ` Michael
  0 siblings, 1 reply; 4+ messages in thread
From: Jacques Montier @ 2024-07-01 10:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 665 bytes --]

Le lun. 1 juil. 2024 à 11:19, John Covici <covici@ccs.covici.com> a écrit :

> Hi.  I am interested in recording an mp3 stream in the background and
> being able to specify start/stop time, etc.
>
> I looked at Google, but just found a package called audio-recorder,
> but I am not sure its currently maintained and its not in the gentoo
> packages.
>
> Thanks in advance for any suggestions.
>
> --
> Your life is like a penny.  You're going to lose it.  The question is:
> How do
> you spend it?
>
>          John Covici wb2una
>          covici@ccs.covici.com
>
>
VLC ?
https://linuxconfig.org/how-to-stream-video-from-vlc

--
Jacques

[-- Attachment #2: Type: text/html, Size: 1489 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] how to record mp3 stream
  2024-07-01 10:39 ` Jacques Montier
@ 2024-07-01 13:14   ` Michael
  2024-07-02 11:32     ` Håkon Alstadheim
  0 siblings, 1 reply; 4+ messages in thread
From: Michael @ 2024-07-01 13:14 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1236 bytes --]

On Monday, 1 July 2024 11:39:09 BST Jacques Montier wrote:
> Le lun. 1 juil. 2024 à 11:19, John Covici <covici@ccs.covici.com> a écrit :
> > Hi.  I am interested in recording an mp3 stream in the background and
> > being able to specify start/stop time, etc.
> > 
> > I looked at Google, but just found a package called audio-recorder,
> > but I am not sure its currently maintained and its not in the gentoo
> > packages.
> > 
> > Thanks in advance for any suggestions.
> > 
> > --
> > Your life is like a penny.  You're going to lose it.  The question is:
> > How do
> > you spend it?
> > 
> >          John Covici wb2una
> >          covici@ccs.covici.com
> 
> VLC ?
> https://linuxconfig.org/how-to-stream-video-from-vlc
> 
> --
> Jacques

There is arecord from the package media-sound/alsa-utils, there's ffmpeg and 
even cvlc if you want/prefer to use CLI tools, but as far as I know they will 
all require some scripting to control start/stop time if you're not doing it 
manually.  Will probably require transcoding into MP3 from raw PCM audio 
capture (e.g. from pcm_s16le).

You could always record over a longer duration and then chop the bits at the 
start/end you don't wish to retain.


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] how to record mp3 stream
  2024-07-01 13:14   ` Michael
@ 2024-07-02 11:32     ` Håkon Alstadheim
  0 siblings, 0 replies; 4+ messages in thread
From: Håkon Alstadheim @ 2024-07-02 11:32 UTC (permalink / raw
  To: gentoo-user

You can just dump the stream directly. Use an at-command or a cron-job 
to run wget or whatever, and then kill that job when you want the 
recording to stop. All players I've tried play such a dump just fine.

Den 01.07.2024 15:14, skrev Michael:
> On Monday, 1 July 2024 11:39:09 BST Jacques Montier wrote:
>> Le lun. 1 juil. 2024 à 11:19, John Covici <covici@ccs.covici.com> a écrit :
>>> Hi.  I am interested in recording an mp3 stream in the background and
>>> being able to specify start/stop time, etc.
>>>
>>> I looked at Google, but just found a package called audio-recorder,
>>> but I am not sure its currently maintained and its not in the gentoo
>>> packages.
>>>
>>> Thanks in advance for any suggestions.
>>>
>>> --
>>> Your life is like a penny.  You're going to lose it.  The question is:
>>> How do
>>> you spend it?
>>>
>>>           John Covici wb2una
>>>           covici@ccs.covici.com
>> VLC ?
>> https://linuxconfig.org/how-to-stream-video-from-vlc
>>
>> --
>> Jacques
> There is arecord from the package media-sound/alsa-utils, there's ffmpeg and
> even cvlc if you want/prefer to use CLI tools, but as far as I know they will
> all require some scripting to control start/stop time if you're not doing it
> manually.  Will probably require transcoding into MP3 from raw PCM audio
> capture (e.g. from pcm_s16le).
>
> You could always record over a longer duration and then chop the bits at the
> start/end you don't wish to retain.
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-02 11:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-01  9:18 [gentoo-user] how to record mp3 stream John Covici
2024-07-01 10:39 ` Jacques Montier
2024-07-01 13:14   ` Michael
2024-07-02 11:32     ` Håkon Alstadheim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox