Sep
05
2013
Listening rtmp streams on linux

You need to install rtmpdump.

The rtmp stream has three parts:

  • rtmp url
  • target app on server
  • playpath

eg.

streamer: ‘rtmp://cp126783.live.edgefcs.net/live’, file: ‘Alfaradiofwno@86944?.mp3′

  • rtmp url : rtmp://cp126783.live.edgefcs.net
  • target app on server : live
  • playpath : ‘Alfaradiofwno@86944?.mp3′

then pipe the stream through vlc:


rtmpdump -V --live -r rtmp://cp126783.live.edgefcs.net -a live -y 'Alfaradiofwno@86944?.mp3' | cvlc -
Tag(s): rtmp, stream, vlc
  1. Avatar di vespas vespas

    Monday, December 9, 2013 - 13:00:16

    any idea on how to get redfm working?
    the html says:

    flowplayer(”streaming-player”, “/player/flowplayer-3.2.7.swf”,{
    clip: {
    url : ‘red_flash@11536′,
    netConnectionUrl : ‘rtmp://cp138550.live.edgefcs.net/live’,
    live : true,
    provider : ‘rtmp’,
    autoPlay : true
    }

    and this doesnt work:
    rtmpdump -V –live -r rtmp://cp121670.live.edgefcs.net -a live –playpath ‘red_flash@11536′ | mplayer -

  2. Avatar di ebal ebal

    Monday, December 9, 2013 - 13:27:56

    This does the trick for me:

    > rtmpdump -V –live -r rtmp://cp138550.live.edgefcs.net -a live -y ‘red_flash@11536′ | cvlc -

  3. Avatar di vespas vespas

    Monday, December 9, 2013 - 13:44:52

    does it?! I get

    DEBUG: HandleInvoke, onStatus: NetStream.Play.StreamNotFound
    ERROR: Closing connection: NetStream.Play.StreamNotFound
    DEBUG: Closing connection.

    and

    main stream error: cannot pre fill buffer

    (on both urls)

  4. Avatar di ebal ebal

    Monday, December 9, 2013 - 13:52:04

    so it’s a matter of “It works for me” !

    i am listening right know !