Results 1 to 5 of 5

Thread: record streaming audio

  1. #1
    Join Date
    Jul 2009
    Beans
    98

    record streaming audio

    Does anyone know how to record streaming audio. I have tried everything and can't get it to work.

    Thanks

  2. #2
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: record streaming audio

    What have you tried ?

    You can try streamripper ?

    It is in the repos

    http://streamripper.sourceforge.net/about.php

    http://packages.ubuntu.com/search?su...s=streamripper
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  3. #3
    Join Date
    Nov 2008
    Location
    Thessaloniki, Greece
    Beans
    43
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: record streaming audio

    i use streamtuner. i dont know if its the same.

  4. #4
    Join Date
    Jul 2005
    Location
    England
    Beans
    Hidden!

    Re: record streaming audio

    You can do it best in terminal using either mplayer and/or streamripper, depending on your stream type. Here are two examples from UK which I use for recording with mplayer, with ease.
    Code:
    mplayer <URL> -dumpstream -dumpfile stream.mp3
    saves mp3 stream as file stream.mp3
    Code:
    mplayer -cache 2048 <URL> -vc null -vo null -ao pcm:fast:waveheader:file=outfile.wav
    saves real or other stream as file outfile.wav. You can also convert it to an mp3 with ffmpeg if you wish

    I use them adapted as a shell script, which I can then cron to time a recording of a concert, or other music. Note my need to add the -playlist before the URL for BBC real streams, which may or may not be needed for all streams. Try it with and without if it doesn't work first time.

    Code:
    #!/bin/bash
    /usr/bin/mplayer -cache 2048 -playlist URL -vc null -vo null -ao pcm:fast:waveheader:file=$(date +%F-%I%M)-BBCR2.wav &
    # Uncomment the line below for the time in minutes to record
    # or copy from the "# sleep" and add to end of line above ending with &
    # sleep 32m; killall mplayer
    # sleep 47m; killall mplayer
    # sleep 62m; killall mplayer
    # sleep 92m; killall mplayer
    # sleep 122m; killall mplayer
    For streamripper mp3 stream recording, the script is:-
    Code:
    #!/bin/bash
    /usr/bin/streamripper URL -t -d /home/user/Radio -l 3720
    The -l 3720 is the number of seconds it records, ie in this case 62 mins.

  5. #5
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: record streaming audio

    Quote Originally Posted by drz4007 View Post
    i use streamtuner. i dont know if its the same.
    No, it is not the same, but I believe made by the same group and integrates with streamtuner.
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

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
  •