Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

How do I correctly run this rtmp stream I got with Wireshark

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

fastidious 11-24-2012 10:08 AM

How do I correctly run this rtmp stream I got with Wireshark


 
Hello everyone!

I would really appreciate your help...
I'm trying to use Wireshark to get the rtmp link to a stream I'm watching on this webpage:
http://isramedia.tk/2/%D7%A2%D7%A8%D...8-%D7%97%D7%99
(this stream is live 24 hours a day)

I got this info from Wireshark:
rtmp://live.yycast.com:1935/live/_definst_
nexter_5234

So I tried to run it with MPlayer on Ubuntu linux (12.04 "precise") with:
Code:

rtmpdump -v -r rtmp://live.yycast.com:1935/live/_definst_ -a live/_definst_ -W http://cdn.yycast.com/player/player.swf -p "http://isramedia.tk/2/%D7%A2%D7%A8%D7%95%D7%A6%D7%99%D7%9D-%D7%9E%D7%99%D7%A9%D7%A8%D7%90%D7%9C/%D7%A2%D7%A8%D7%95%D7%A5-2-%D7%A9%D7%99%D7%93%D7%95%D7%A8-%D7%97%D7%99" -y nexter_5234 | mplayer -
Adding quotation marks doesn't work either:
Code:

rtmpdump -v -r "rtmp://live.yycast.com:1935/live/_definst_" -a "live/_definst_" -W "http://cdn.yycast.com/player/player.swf" -p "http://isramedia.tk/2/%D7%A2%D7%A8%D7%95%D7%A6%D7%99%D7%9D-%D7%9E%D7%99%D7%A9%D7%A8%D7%90%D7%9C/%D7%A2%D7%A8%D7%95%D7%A5-2-%D7%A9%D7%99%D7%93%D7%95%D7%A8-%D7%97%D7%99" -y "nexter_5234" | mplayer -

I get this error msg:
Code:

RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
MPlayer svn r34540 (Ubuntu), built with gcc-4.6 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing -.
Reading from stdin...
INFO: Connected...
ERROR: Closing connection: NetStream.Play.Failed
libavformat version 53.21.0 (external)
Mismatching header version 53.19.0


Exiting... (End of file)

Could anyone help me fix the command I'm using, please?
Thanx in advance :)

svnpenn2 12-01-2012 08:51 AM

Re: How do I correctly run this rtmp stream I got with Wireshark


 
Quote:

ffplay "rtmp://199.9.254.31/app/jtv_ugBnfynQMGmWjy1C swfUrl=http://www-cdn.jtvnw.net/widgets/live_embed_player.r7861918bd807d05ba504c48275418ae 88c927da3.swfjtv=1f6a91aeb3eda91992e7f1601e046edf5 ca2b50a:{\"swfDomains\":\20[\"justin.tv\",\20\"jtvx.com\",\20\"xarth.com\",\20 \"twitchtv.com\",\20\"twitch.tv\",\20\"newjtv.com\ ",\20\"jtvnw.net\",\20\"wdtinc.com\",\20\"imapweat her.com\",\20\"facebook.com\",\20\"starcrafting.co m\"],\20\"streamName\":\20\"jtv_ugBnfynQMGmWjy1C\",\20 \"expiration\":\201354379848.2146139,\20\"geo_ip\" :\20\"99.109.97.214\",\20\"server\":\20\"video3-2.dfw01\"}"

fastidious 12-01-2012 01:36 PM

Re: How do I correctly run this rtmp stream I got with Wireshark


 
Thank you very-very much !!!

But, could you please tell me how to run it using mplayer?
like:
Code:

rtmpdump -r "rtmp://..." ... | mplayer -
(I need some of mplayer's functionalities).
Is the parameter that you used after "jtv=" in ffplay the same as the parameter -y in rtmpdump?

svnpenn2 12-01-2012 06:38 PM

Re: How do I correctly run this rtmp stream I got with Wireshark


 
Code:

ffplay "rtmp://199.9.254.31/app/jtv_ugBnfynQMGmWjy1C swfUrl=http://www-cdn.jtvnw.net/widgets/live_embed_player.r7861918bd807d05ba504c48275418ae88c927da3.swf jtv=1f6a91aeb3eda91992e7f1601e046edf5ca2b50a:{\"swfDomains\":\20[\"justin.tv\",\20\"jtvx.com\",\20\"xarth.com\",\20\"twitchtv.com\",\20\"twitch.tv\",\20\"newjtv.com\",\20\"jtvnw.net\",\20\"wdtinc.com\",\20\"imapweather.com\",\20\"facebook.com\",\20\"starcrafting.com\"],\20\"streamName\":\20\"jtv_ugBnfynQMGmWjy1C\",\20\"expiration\":\201354379848.2146139,\20\"geo_ip\":\20\"99.109.97.214\",\20\"server\":\20\"video3-2.dfw01\"}"


All times are GMT -6. The time now is 01:52 PM.