public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] how to record mp3 stream
Date: Mon, 01 Jul 2024 14:14:48 +0100	[thread overview]
Message-ID: <3300181.aeNJFYEL58@rogueboard> (raw)
In-Reply-To: <CAHVEG0BwW4t6gNB+mfvW1FYEOn1ZNHJ6hPMGpwT3BTKGriukNg@mail.gmail.com>

[-- 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 --]

  reply	other threads:[~2024-07-01 13:15 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 [this message]
2024-07-02 11:32     ` Håkon Alstadheim

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=3300181.aeNJFYEL58@rogueboard \
    --to=confabulate@kintzios.com \
    --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