From: "Håkon Alstadheim" <hakon@alstadheim.priv.no>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] how to record mp3 stream
Date: Tue, 2 Jul 2024 13:32:57 +0200 [thread overview]
Message-ID: <c8ff2b0f-1fea-4466-8a3f-075bf63e4f87@alstadheim.priv.no> (raw)
In-Reply-To: <3300181.aeNJFYEL58@rogueboard>
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.
>
prev parent reply other threads:[~2024-07-02 11:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c8ff2b0f-1fea-4466-8a3f-075bf63e4f87@alstadheim.priv.no \
--to=hakon@alstadheim.priv.no \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox