CLI to download a streaming mp3 to a file

*nix specific usage questions
urivlc
New Cone
New Cone
Posts: 2
Joined: 01 Apr 2014 22:54

CLI to download a streaming mp3 to a file

Postby urivlc » 01 Apr 2014 23:18

hi,

i can download a streaming mp3 to a file with the GUI by using the raw flag and the url and a file name. i can't seem to figure out how to use the command line for this. i can pass in the url and it brings up vlc playing the stream. i tried --sout and --demuxdump-file but it just plays in the player. i don't want to hear the audio playing, i just want to dump to a file. if it doesn't bring up the player that is even better as i will be automating this.

thanx,

uri

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: CLI to download a streaming mp3 to a file

Postby Jean-Baptiste Kempf » 22 Apr 2014 16:52

vlc -Irc --demux=dump --demuxdump-file http://stream/mp3
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 35 guests