Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Playing online streaming in media players (http://stream-recorder.com/forum/forumdisplay.php?f=77)
-   -  

How to watch RTMP/RTMPE streaming in MPlayer using rtmpdump

(http://stream-recorder.com/forum/showthread.php?t=9486)

Stream Recorder 04-15-2011 12:43 AM

How to watch RTMP/RTMPE streaming in MPlayer using rtmpdump


 
You can use the following command to watch an RTMP stream with MPlayer

Code:

c:\Program Files (x86)\Applian Technologies\Replay Media Catcher 4>rtmpdump.exe
-r rtmp://188.165.205.104/technosmart/techno10! --quiet | "C:\Program Files (x86
)\SMplayer\mplayer\mplayer.exe" -cache 8192 -




How to watch RTMP/RTMPE streaming in MPlayer using rtmpdump
  1. Download and install SMPlayer
  2. Try to use RTMPexplorer to find the parameters.
  3. Then replace
    Code:

    -o "filename"
    with
    Code:

    --quiet | "C:\Program Files\SMplayer\mplayer\mplayer.exe" -cache 8192 -
    or
    Code:

    --quiet | "C:\Program Files (x86)\SMplayer\mplayer\mplayer.exe" -cache 8192 -
    mplayer.exe can reside in some other folder depending on where you install it.

kcmule 06-28-2011 06:58 PM

Re: How to watch RTMP/RTMPE streaming in MPlayer using rtmpdump


 
Quote:

Originally Posted by evol (Post 30502)
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.

Code:

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.

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)



evol 06-29-2011 09:21 AM

Re: How to watch RTMP/RTMPE streaming in MPlayer using rtmpdump


 
Quote:

Originally Posted by kcmule (Post 30503)
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)

Sorry i forgot to add "-" without the quotes at the end of -cache 8192 :o
Code:

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 -

chap 06-29-2011 12:28 PM

Re: Re: How to watch RTMP/RTMPE streaming in MPlayer using rtmpdump


 
kcmule
everything is easier, paste this link in SMPlayer and be able to watch.;)
Code:

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

kcmule 06-30-2011 11:00 PM

Re: How to watch RTMP/RTMPE streaming in MPlayer using rtmpdump


 
Thanks chap! You have certainly got me closer than I was before because I can now see the stream in mplayer!! but ever so frustratingly the player consistently crashes about 4:50 into the stream. I get this error every time:


hyc 07-13-2011 12:00 AM

Re: How to watch RTMP/RTMPE streaming in MPlayer using rtmpdump


 
You realize of course that you can build mplayer with librtmp directly supported, so you don't even need rtmpdump. Just give an rtmp URL to mplayer...

KSV 07-13-2011 12:11 AM

Re: How to watch RTMP/RTMPE streaming in MPlayer using rtmpdump


 
Latest official builds of MPlayer include librtmp support for rtmp streams.

Stream Recorder 07-13-2011 04:21 AM

Re: How to watch RTMP/RTMPE streaming in MPlayer using rtmpdump


 
If I take the RTMPexplorer output and replace "rtmpdump" with "mplayer", will it work?

KSV 07-13-2011 05:26 AM

Re: How to watch RTMP/RTMPE streaming in MPlayer using rtmpdump


 
no. command format for MPlayer is little different. however with little modification to code it can be done easily.

kcmule 07-26-2011 07:27 PM

Re: How to watch RTMP/RTMPE streaming in MPlayer using rtmpdump


 
Quote:

Originally Posted by hyc (Post 30862)
You realize of course that you can build mplayer with librtmp directly supported, so you don't even need rtmpdump. Just give an rtmp URL to mplayer...

I guess I need some help with this part. I'm not sure how to build anything.. really just happened upon this web site from a google search.
In the meantime I've been playing around with ffplay/ffmpeg, which also sound like they should work, but still hitting a wall so far. My lack of experience with command-line programs probably isn't helping much.


All times are GMT -6. The time now is 12:37 AM.