Commands to save audio stream as mp3

culper

New Member
Joined
Jan 16, 2022
Messages
3
Reaction score
1
Credits
24
I am running into some errors with commands with vlc

I am trying to convert a audio stream to a mp3 file. I need to do it over CLI and I can't seem to make it work. I have tried both mplayer and vlc. I look over the documentation for mplayer and vlc but can't make it work

Any ideas, on the propper commands and switches? Or another program maybe

BTW the system is Debain on a cloud setup
 


Google "ffmpeg" and try that instead. It's the go-to, but use online tutorials rather than trying to figure out what the darned thing is doing by using the help file.
 
Google "ffmpeg" and try that instead. It's the go-to, but use online tutorials rather than trying to figure out what the darned thing is doing by using the help file.
Thanks I will look into that
 
Code:
lame -h file.wav file.mp3
converts the wav file to an mp3 file. lame converts lots of formats. I can't say if it works with a live stream since I've never tried that, but once the stream is recorded to a file, that works.
 
Thanks everyone I got it to work. Now I am scripting it run in a cron job

FFMPEG is a do everything program
 
I use ...Sound Converter from Mints Software Manager.
happy0035.gif
 

Members online


Latest posts

Top