How do I play a RTMP stream in VLC?
Solution 1
You can play RTMP in VLC with the help of RTMPDump .
rtmpdump -v -r "rtmp://ip-address/app-name/streamname" -o - | "vlc" -
Solution 2
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
Solution 3
Yes! Now you can do it in VLC. Because the new versions of VLC from v1.1 onwards support rtmp stream playing.
- Just Click on Media.
- Click on open network stream / or press Ctrl/command + N
- Write rtmp URL.
- Enjoy!
Solution 4
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.
Solution 5
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.
Related videos on Youtube
kbtz
Updated on September 18, 2022Comments
-
kbtz over 1 year
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?
-
Nisrak almost 11 yearsNo, its not playing, it throws stream not found error!
-
kbtz about 10 yearsI'll check it out...
-
M. A. over 7 yearsno it won't work
-
M. A. over 7 yearsI'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 ?
-
providencemac over 7 years@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
-
user3791372 about 7 yearsit only works with some rtmp streams
-
sevenkul over 6 yearsThis information solved my
<playpath>
problem. I converted my rtmp linkrtmp://streaming.perculus.com/vods3<playpath>flv:blabla.flv
tortmp://streaming.perculus.com/vods3/live/flv:blabla.flv
Now it works perfectly. -
Shark Deng over 3 yearswhy VLC asks me to open accessibility on Mac? It feels so dangerous.