PDA

View Full Version : How do I correctly run this rtmp stream I got with Wireshark


fastidious
11-24-2012, 04:20 PM
Hello everyone,
I would very much appreciate your help with this matter.

I used Wireshark to get the rtmp link to a stream I am watching on this webpage:
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
(this stream is working 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:
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:
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:
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 :)

evol
11-25-2012, 05:35 AM
There using Ustream now not YYcast

rtmpdump -r "rtmp://flash61.ustream.tv:1935/ustreamVideo/12664656" -a "ustreamVideo/12664656" -f "WIN 11,5,502,110" -W "http://static-cdn1.ustream.tv/swf/live/viewer.rsl:336.swf" -p "http://www.ustream.tv/embed/12664656?v=3&wmode=direct&autoplay=1" -C O:1 -C NS:referrer: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 -C NB:autoPlay:1 -C NS:rpin:rpin.023961817254009775 -C NS:shimHost:http://static-cdn1.ustream.tv/swf/live/viewer3:72.swf?vrsl=c:336&ulbr=100 -C O:0 -y "streams/live_1" -o "live_1.flv"

fastidious
11-25-2012, 06:31 AM
Thank you very-very much, but the command doesn't run.
I ran it exactly as you wrote it (copy&paste), and I got these errors:
[1] 22778
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 ...
-C: command not found
INFO: Connected...
ERROR: Closing connection: NetStream.Play.Failed

The fact that it said "You haven't specified an output file (-o filename)" when I did told me it didn't read the whole command,
so I added parentheses for the last -C command and it omitted those errors.
But I still get this error:
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: Closing connection: NetStream.Play.StreamNotFound

How could the stream not be there?
I appreciate your help a lot. Thank you very much.

fastidious
11-27-2012, 08:43 AM
Now I get a different error when I run the same command:
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close

Please help...

fastidious
11-27-2012, 03:08 PM
I still can't get it to work.
I don't know what else to fix in the command to make it stream the video...

I found the same TV channel in another website with sharper image.
Could someone help me please get the rtmp link to the live stream?

The website with the sharper image:
http://www.mako.co.il/makolive/Video-4191ce1645bc031006.htm

svnpenn2
12-01-2012, 10:38 PM
rtmpdump -o a.flv -i "rtmp://199.9.255.19/app/jtv_l3jzB31AXYhzwvwb swfUrl=http:/
/www-cdn.jtvnw.net/widgets/live_embed_player.r7861918bd807d05ba504c48275418ae 88c
927da3.swf jtv=af4e54c607aa0c4d82064d866b2762589b068bef:{\"swfDomains\":\20[\"ju
stin.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_l3jzB31AXYhz
wvwb\",\20\"expiration\":\201354430175.0448911,\20\"geo_ip\":\20\"99.109.97.214\
",\20\"server\":\20\"video7-2.mia01\"}"
RTMPDump v2.4-75-ge285d96
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: author
INFO: copyright
INFO: description
INFO: keywords
INFO: rating
INFO: title
INFO: presetname Custom
INFO: creationdate Sat Dec 01 20:49:14 2012
INFO: videodevice AVerMedia BDA Analog Capture
INFO: framerate 29.97
INFO: width 320.00
INFO: height 240.00
INFO: videocodecid avc1
INFO: videodatarate 500.00
INFO: avclevel 31.00
INFO: avcprofile 66.00
INFO: videokeyframe_frequency2.00
INFO: audiodevice AVerMedia BDA Analog Capture
INFO: audiosamplerate 44100.00
INFO: audiochannels 1.00
INFO: audioinputvolume 90.00
INFO: audiocodecid .mp3
INFO: audiodatarate 64.00
1031.933 kB / 16.75 sec