How do I play a RTMP stream in VLC?

14

7

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

Posted 2011-09-03T17:30:33.947

Reputation: 143

Did you try asking on #videolan on freenode? – Akash – 2011-09-07T11:43:52.227

@Akash No, I didn't – kbtz – 2011-09-08T19:03:26.447

Do try it out.. you are more likely to get help on the IRC/forums/mailing list – Akash – 2011-09-08T19:09:03.347

The KMplayer plays rtmp streams ;) – None – 2011-11-01T23:58:55.860

Answers

10

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

rtmpdump -v -r "rtmp://ip-address/app-name/streamname" -o - | "vlc" -

Unnikrishnan

Posted 2011-09-03T17:30:33.947

Reputation: 1 193

I'll check it out... – kbtz – 2014-02-24T14:03:43.313

Check and let me know... – Unnikrishnan – 2014-02-25T11:52:06.553

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

Posted 2011-09-03T17:30:33.947

Reputation: 11

This information solved my <playpath> problem. I converted my rtmp link rtmp://streaming.perculus.com/vods3<playpath>flv:blabla.flv to rtmp://streaming.perculus.com/vods3/live/flv:blabla.flv Now it works perfectly. – sevenkul – 2017-10-19T09:48:06.493

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

Posted 2011-09-03T17:30:33.947

Reputation: 3 297

1

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!

Muhammad Bilal Shafi

Posted 2011-09-03T17:30:33.947

Reputation: 37

no it won't work – M. Abdelhafid – 2016-11-12T16:20:29.237

it only works with some rtmp streams – user3791372 – 2017-04-21T17:42:23.173

3No, its not playing, it throws stream not found error! – Gopi – 2013-06-25T12:13:01.333

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.

providencemac

Posted 2011-09-03T17:30:33.947

Reputation: 111

I've tried rtmpdump -r rtmp://path/to/stream --live -o | "c:\Program Files (x86)\VideoLAN\VLC\vlc.exe" on windows 8.1 but it seems it does not work, any idea ? – M. Abdelhafid – 2016-11-12T16:27:48.803

1

@AbdelhafidMadoui My approach is using the OSX terminal, so I'm not sure it would work properly in Windows. In Windows 10, there is a new ability to install a "native" Bash prompt, which also supports calling Windows executables

– providencemac – 2016-11-21T15:42:05.097

0

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

ZaB

Posted 2011-09-03T17:30:33.947

Reputation: 2 365