Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 45

Thread: HOWTO: Record internet radio using VLC

  1. #21
    Join Date
    Dec 2007
    Beans
    70

    Re: HOWTO: Record internet radio using VLC

    Great you guys are a big help. Just one last question, can I also stamp the time on that file name? If I record 2 shows in one day it will overwrite the previous file.

    I had seen that shorter link in vlc but I wasn't sure which one to use in the script but now I know to pull that one out of vlc. Thanks again for all the help.

  2. #22
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOWTO: Record internet radio using VLC

    Try this for your file name:-
    JohnnyCash-$(date +"%b-%d-%y--%H:%M").mp3
    or this:-
    JohnnyCash-$(date +"%b-%d-%y--%H:%M:%S").mp3

    Those times will be shown as GMT though.(Maybe).
    Last edited by ron999; July 25th, 2010 at 03:53 AM. Reason: Not sure which time zone will be shown.

  3. #23
    Join Date
    Jan 2010
    Location
    No longer SoFl
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Record internet radio using VLC

    I am a little late to this conversation but I found this the other day...

    Schedule streaming audio recordings in Ubuntu.

  4. #24
    Join Date
    Dec 2007
    Beans
    70

    Re: HOWTO: Record internet radio using VLC

    That did it Ron999. I just wanted to be able to schedule more than one a day. Thanks again.

  5. #25
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan
    Beans
    1,944
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: HOWTO: Record internet radio using VLC

    ok guys need some help here trying to use script and so far failing what am i missing???




    vlc --run-time=9 http://www.bbc.co.uk/radio/listen/live/r3_aaclca.pls “#duplicate{dst=std{access=file,mux=mp4a,dst=/home/shantiq/Womad_3-$NOW.mp4}” vlc://quit ;

    but now it cannot find the file why is that?

    vlc --run-time=9 http://www.bbc.co.uk/radio/listen/live/r3_aaclca.pls “#duplicate{dst=std{access=file,mux=mp4a,dst=/home/shantiq/Womad_3-$NOW.mp4}” vlc://quit ;VLC media player 1.2.0-git Twoflower (revision 1ee61ad)
    [0x72f110] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
    [0x784740] main playlist: stopping playback
    [0xd3a890] access_http access: Raw-audio server found, m4a demuxer selected
    [0xd5d920] packetizer_mpeg4audio demux packetizer: AAC channels: 2 samplerate: 44100
    [0x78d9e0] filesystem access error: cannot open file /home/shantiq/“#duplicate{dst=stdaccess=file” (No such file or directory)
    [0xd8b090] main input error: open of `file:///home/shantiq/%E2%80%9C%23duplicate%7Bdst%3Dstdaccess%3Dfile%E2% 80%9D' failed
    [0xc23a20] filesystem access error: cannot open file /home/shantiq/“#duplicate{dst=stdmux=mp4a” (No such file or directory)
    [0xe40780] main input error: open of `file:///home/shantiq/%E2%80%9C%23duplicate%7Bdst%3Dstdmux%3Dmp4a%E2%80% 9D' failed
    [0xb0a280] filesystem access error: cannot open file /home/shantiq/“#duplicate{dst=stddst=/home/shantiq/Womad_3-.mp4” (No such file or directory)
    [0xd755e0] main input error: open of `file:///home/shantiq/%E2%80%9C%23duplicate%7Bdst%3Dstddst%3D/home/shantiq/Womad_3-.mp4%E2%80%9D' failed
    [0x7e4c40] dummy demux: command `quit'

    realized i had not used
    Code:
    --sout
    but when i do it does not even start


    a bit confused
    Last edited by shantiq; July 30th, 2011 at 06:39 PM.
    Linux is Latin for off-the-beaten-track
    ShanArt XmmsPurple Piper

  6. #26
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOWTO: Record internet radio using VLC

    Quote Originally Posted by shantiq View Post
    but when i do it does not even start


    a bit confused

    Hi
    That HD 320Kbps aac stream is ADTS coming from an RTMPE server.
    Even though VLC will play it, I'm not sure how to save it (other than use the red button).

    For this job I can use get_iplayer instead.
    It uses RTMPDump to save the stream.

    Details are here:- http://pastebin.com/gJv3QvZa

    And in the attachment is 20 seconds worth.
    Attached Files Attached Files

  7. #27
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan
    Beans
    1,944
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: HOWTO: Record internet radio using VLC

    thank you Ron as usual a fount of knowledge

    got earlier program today with red button for Womad nice 320kbps

    probably will stick with that then if there is no way to control the time on get-iplayer

    Code:
    get_iplayer --get --force --type=liveradio --stop 20 "http://www.bbc.co.uk/mediaselector/4/gtis/?server=cp60703.live.edgefcs.net&identifier=Special_Event1_UK@s6485&kind=akamai&application=live"

    works a charm too
    Linux is Latin for off-the-beaten-track
    ShanArt XmmsPurple Piper

  8. #28
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOWTO: Record internet radio using VLC

    Quote Originally Posted by shantiq View Post
    if there is no way to control the time on get-iplayer

    Code:
    get_iplayer --get --force --type=liveradio --stop 20 ....

    works a charm too
    ........

  9. #29
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan
    Beans
    1,944
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: HOWTO: Record internet radio using VLC

    der who is dumb?
    shan is dumb
    thank you --stop 9000 will sort me out cheers
    Linux is Latin for off-the-beaten-track
    ShanArt XmmsPurple Piper

  10. #30
    Join Date
    Aug 2006
    Beans
    331

    Re: HOWTO: Record internet radio using VLC

    I hope all you helpful guys are still around cos I sure could use your help.

    My problem seems to be with "vlc://quit".

    If I leave it in the .sh file it executes immediately - i.e. supposedly goes through all the preceding commands but closes down (quits) before anything happens.

    If I take it out everything is fine (open, find, play/record & stop). But, of course, I'm left with vlc still there.

    I hope the above is clear. And I hope someone can help.

    TIA

Page 3 of 5 FirstFirst 12345 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
  •