15

I'm trying to get a RTMP stream to play on VLC and the URL is in this format: rtmp://76.10.10.240/liverepeater/mp4:name.mp4

I'm able to record the stream with CooJah but I only want to watch it via VLC. Any ideas?

kbtz
  • 153
  • 1
  • 1
  • 8

7 Answers7

15

You can play RTMP in VLC with the help of RTMPDump .

rtmpdump -v -r "rtmp://ip-address/app-name/streamname" -o - | "vlc" -
Unnikrishnan
  • 1,353
2

Yes! Now you can do it in VLC. Because the new versions of VLC from v1.1 onwards support rtmp stream playing.

  1. Just Click on Media.
  2. Click on open network stream / or press Ctrl/command + N
  3. Write rtmp URL.
  4. Enjoy!
1

VLC version 2.2.4 can play, Hit Cmd+N (on MAC) and enter the url in this format

rtmp://Server URL/live/Stream Name

e.g rtmp://10.154.136.221/live/RTMP1

Waqas
  • 11
1

Sorry, but VLC doesn't support rtmp streaming just yet. If you really want to stream RTMP, you could use flowplayer since they support it, but it's not as easy as using VLC.

superuser
  • 4,247
1

On Mac/OSX, I was able to get this to work with a modification of Unnikrishnan's answer. The important part being the path to the VLC executable (which may vary by system)

Recorded Stream:

rtmpdump -r rtmp://path/to/stream | /Applications/VLC.app/Contents/MacOS/VLC -

Live stream

rtmpdump -r rtmp://path/to/stream --live | /Applications/VLC.app/Contents/MacOS/VLC -

You should then see a VLC window open, with fs://0 listed in the playlist area. Double-click that entry to view the actual stream.

0

I figure out that you have to add the port number as well

rtmp://192.168.18.26:1935/live/stream

where 192.168.18.26 is your localhost / IP

There is an excellent tutorial on RTMP streaming using OBS and HLS client using Nginx server.

0

You need to use mplayer or at least rtmpdump from mplayer as vlc has no rtmp support currently.

ZaB
  • 2,465