Page 1 of 5 123 ... LastLast
Results 1 to 10 of 45

Thread: HOWTO: Record internet radio using VLC

  1. #1
    Join Date
    Jan 2008
    Beans
    6

    HOWTO: Record internet radio using VLC

    I had to dig through several posts to set up automated recording of my favorite internet radio show. So I hope this may of help to someone besides me.

    This can be done with a single command using VLC:
    1. Create a script file 'recordmyshow.sh', with the following content.
    Code:
    #!/bin/sh
    NOW=$(date +"%b-%d-%y")
    
    cvlc --run-time=7200 http://kqed-ice.streamguys.org:80/kqedradio-ch-e1 --sout "#duplicate{dst=std{access=file,mux=raw,dst=/home/<user>/myshow-$NOW.mp3}" vlc://quit ;
    cvlc is the commandline version of vlc
    use --run-time to indicate the duration of the show in seconds
    Replace the url to the radio station of your choice and dst to the path you desire. That's it

    2. Mark the file as executable
    Code:
    chmod +x recordmyshow.sh
    3. Schedule the recording in cron.
    a. Launch the cron
    Code:
    crontab -e
    b. Put the schedule in it
    Code:
    00 18 * * 06 /home/<user>/recordmyshow.sh
    My favorite show is at 6 pm every Saturday.

  2. #2
    Join Date
    May 2009
    Location
    The Netherlands
    Beans
    125
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Record internet radio using VLC

    Thanks

    Is this possible with video asf files?
    look here look there ... look everywhere

  3. #3
    Join Date
    Jan 2008
    Beans
    6

    Re: HOWTO: Record internet radio using VLC

    The url I used is feeding mp3. I am not sure about asf. If you give me the link I can try...

  4. #4
    Join Date
    Jul 2005
    Beans
    463

    Re: HOWTO: Record internet radio using VLC

    I would like to schedule a live stream of WPLJ radio station. Here's the address:

    Code:
    mmsh://citadelcc-wplj-fm.wm.llnwd.net/citadelcc_WPLJ_FM?MSWMExt=.asf
    I can't seem to figure out how to do it. Any help would be much appreciated! Thanks.

  5. #5
    Join Date
    May 2009
    Location
    The Netherlands
    Beans
    125
    Distro
    Ubuntu 9.10 Karmic Koala

    Smile Re: HOWTO: Record internet radio using VLC

    Quote Originally Posted by tubunu View Post
    I would like to schedule a live stream of WPLJ radio station. Here's the address:

    Code:
    mmsh://citadelcc-wplj-fm.wm.llnwd.net/citadelcc_WPLJ_FM?MSWMExt=.asf
    I can't seem to figure out how to do it. Any help would be much appreciated! Thanks.
    I will follow this thread too
    look here look there ... look everywhere

  6. #6
    Join Date
    Jun 2007
    Beans
    13,023

    Re: HOWTO: Record internet radio using VLC

    would like to schedule a live stream of WPLJ radio station
    Change the mux to asf
    ex.
    --sout "#duplicate{dst=std{access=file,mux=asf,dst=/home/doug/nj1.wma}"

  7. #7
    Join Date
    Jul 2005
    Beans
    463

    Re: HOWTO: Record internet radio using VLC

    THANK YOU bheemboy for a great script and THANK YOU mc4man for great advice. It works perfectly!

  8. #8
    Join Date
    Feb 2010
    Beans
    2

    Re: HOWTO: Record internet radio using VLC

    hi everybody i need to record radio with this adress:
    http://www.ouifm.fr/player/metafile/...tdebit-wmp.asx
    what is the command with cvlc?.
    i know how do with mplayer but i need to use only vlc:
    thanks

  9. #9
    Join Date
    Feb 2010
    Beans
    2

    Re: HOWTO: Record internet radio using VLC

    i found solution myself.
    i use wget to download adress radio.after i open the file asx downloaded with kwrite for example and i see the real adress that i can use to record with cvlc

  10. #10
    Join Date
    Aug 2009
    Beans
    20

    Re: HOWTO: Record internet radio using VLC

    i modified the code to this
    Code:
    #!/bin/sh
    
    
    vlc --run-time=10800 http://www.live365.com/cgi-bin/play.pls?stationid=319909&now=1157978043165&token=53ddde2191ce2a16d9a3d1f10e1cf672-3012110080400000&AuthType=NORMAL&bitrate=256&SaneID=81.187.66.150-1156155723215&membername=&session=kxlu2%3A0&tag=live365&filename.pls --sout "#duplicate{dst=std{access=file,mux=mp3,dst=/home/paul/mfn.mp3}" vlc://quit ;
    to record a show on KXLU which uses .pls format. i changed cvlc to vlc just for testing.
    when i execute the .sh file, vlc starts and plays the stream just fine, but no recording takes place. i am able to manually save the stream using the media>convert/save dialogue.
    can anyone show me where i'm going wrong? the link for the stream is
    Code:
    http://www.live365.com/cgi-bin/play.pls?stationid=319909&now=1157978043165&token=53ddde2191ce2a16d9a3d1f10e1cf672-3012110080400000&AuthType=NORMAL&bitrate=256&SaneID=81.187.66.150-1156155723215&membername=&session=kxlu2%3A0&tag=live365&filename.pls

Page 1 of 5 123 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •