PDA

View Full Version : How to watch RTMP stream in VLC using rtmpdump


KSV
04-14-2011, 11:23 AM
You can use the following command to watch an RTMP stream with VLC player

rtmpdump.exe -r rtmp://188.165.205.104/technosmart/techno10! --quiet | "C:\Program Files\VideoLAN\VLC\vlc.exe" -

Stream Recorder
04-15-2011, 12:43 AM
Try to use RTMPexplorer (http://all-streaming-media.com/record-video-stream/RTMPExplorer-freeware-GUI-for-rtmpsrv-Windows.htm) to find the parameters. Then replace
-o "filename"
with
--quiet | "C:\Program Files\VideoLAN\VLC\vlc.exe" -
or
--quiet | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -

vlc.exe can reside in some other folder depending on where you install it.

KSV
04-15-2011, 05:22 AM
But does rtmpdump work with KMPlayer or other video player, if I change the folder in batch command?

This will work with any player which supports reading from stdin.

kcmule
06-26-2011, 11:04 PM
i'm having trouble getting this live rtmp feed to stream in vlc

have tried many combinations of RTMPdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) commands but can't get any to work! would appreciate any help, thanks!

kc

_http://www.windowsintowonderland.org/live/live3.htm

rtmp://npsaflivefs.fplive.net/npsaflive-live//stream50

rtmpdump -r "rtmp://npsaflivefs.fplive.net:1935/npsaflive-live/" --playpath "stream50" -W "http://media-player.cdn.level3.net/flash/v1_1_1/Level3MediaPlayer.swf" -p "http://www.windowsintowonderland.org/live/live3.htm" --quiet | "C:\Program Files\VideoLAN\VLC\vlc.exe" -

KSV
06-27-2011, 01:17 AM
First test your command with RTMPdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm). if it starts downloading successfully then you can redirect the output to vlc.

correct command line:
rtmpdump -r "rtmp://npsaflivefs.fplive.net:1935/npsaflive-live/" -a "npsaflive-live/" -f "WIN 10,3,181,14" -W "http://media-player.cdn.level3.net/flash/v1_1_1/Level3MediaPlayer.swf" -p "http://www.windowsintowonderland.org/live/live3.htm" --live -y "stream50" | "C:\Program Files\VideoLAN\VLC\vlc.exe" -

kcmule
06-27-2011, 06:21 PM
Thanks KSV. The stream must not be compatible with VLC as I'm not seeing any output on the player.



http://i53.tinypic.com/24vjfpv.jpg

KSV
06-27-2011, 09:18 PM
First check the live stream at their website. you will see in vlc what you can see on their website. i can watch the live stream without any problem. probably you checked at the time when it was dark at the camera's location.

kcmule
06-28-2011, 11:54 AM
Thanks. I am able to see the stream in a browser window okay. But I don't think the problem was due to it being dark at the time because the VLC 'cone' logo is the only thing that shows up in the player. On the cmd.exe window, the "1968.960 kB / 63.76 sec" is incrementing, so it does look like it's doing something. But beyond that 'cone' in the VLC window, nothing shows up at all.

evol
06-28-2011, 04:58 PM
Thanks KSV. The stream must not be compatible with VLC as I'm not seeing any output on the player.


Ive found this quite common with some live streams with VLC they take quite a lot of time load/buffer/play. But i see from you screenshot you also have SMPlayer which is a frontend GUI of Mplayer so pipe it out to mplayer.

rtmpdump -r "rtmp://npsaflivefs.fplive.net:1935/npsaflive-live/" -a "npsaflive-live/" -f "WIN 10,3,181,14" -W "http://media-player.cdn.level3.net/flash/v1_1_1/Level3MediaPlayer.swf" -p "http://www.windowsintowonderland.org/live/live3.htm" --live -y "stream50" | C:\Program Files\SMPlayer\MPlayer\mplayer.exe -cache 8192 -

Sorry if thats the wrong location for SMPlayer.

Stream Recorder
06-29-2011, 02:35 AM
thanks, i certainly have tried other programs too! are you sure about the -cache?

smplayer seems to be choking on that (and doesn't work with it removed either)

How to watch RTMP/RTMPE streaming in MPlayer using rtmpdump

chap
06-29-2011, 12:28 PM
kcmule
everything is easier, paste this link in SMPlayer and be able to watch.;)
rtmp://npsaflivefs.fplive.net:1935/npsaflive-live/stream50

mucea
07-25-2011, 09:51 AM
On Realitatea's website, there are two live streams: hxxp://webtv.realitatea.net/live meant for internal viewers (not geolocation-blocked, but higher bitrate) the other hxxp://webtv.realitatea.net/live?international=1 designed for viewers abroad (lower bitrate). So far, I have not figured a method to find out the protocol used for the second stream - eveything the sniffers pick up is the hxxp://webtv.realitatea.net/themes/realitatea/swf/player.php?hash=d0070db5dcd4e9fd9a8658a57fea6853&m asterUrl=http://rtv1.dvstreaming.ro player's url, but not the stream source. I wonder if there's a method through which this input can be found, so I could use it along with rtmpdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm)+VLC?

Thanks.

chap
07-25-2011, 10:44 AM
the other hxxp://webtv.realitatea.net/live?international=1 designed for viewers abroad (lower bitrate). So far, I have not figured a method to find out the protocol used for the second stream - eveything the sniffers pick up is the hxxp://webtv.realitatea.net/themes/realitatea/swf/player.php?hash=d0070db5dcd4e9fd9a8658a57fea6853&masterUrl=http://rtv1.dvstreaming.ro player's url, but not the stream source. I wonder if there's a method through which this input can be found, so I could use it along with rtmpdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm)+VLC?
rtmpt://194.169.235.118:80/live/rlt

-r "rtmp://194.169.235.118:80/live/" -W "http://webtv.realitatea.net/themes/realitatea/swf/player.php?hash=6c2c38f19e2e6c0aae227d5fd72538ab&m asterUrl=http://rtv1.dvstreaming.ro" -y "rlt" -o test.flv

mucea
07-25-2011, 11:09 AM
rtmpt://194.169.235.118:80/live/rlt
Great work. Thanks.

samba
03-26-2012, 12:12 PM
Thanks to KSV make me catch my favorite radio station directly by
rtmpdump -r "rtmp://122.155.18.155/radio" -y "fm107.stream" --quiet | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -
:D :o :p