PDA

View Full Version : Play live videos from srbija-sport.co.cc


karlo2105
12-25-2011, 12:04 PM
Hello I can't play live videos from this (http://srbija-sport.co.cc/channel/view/sport-live-2) website.

Below is what I get with rtmpsrv

rtmpdump -v -r "rtmp://fmsnl.vianotvportal.com/paki_preview/2" -a "paki_preview/2" -f "WIN 10,3,183,10" -W "http://srbija-sport.co.cc/preview.swf" -p "http://srbija-sport.co.cc/channel/view/sport-live-2" -C S:2 -C S:preview -C S: -C S: -C S: -C S:uId9830 -C S:paki-1324748155281 -y "uId9830"

RTMPDump v2.4 KSV
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
Starting Live Stream
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
0.000 kB / 0.00 sec
Download may be incomplete (downloaded about 0.00%), try resuming


Thanks.

Bahman
12-26-2011, 12:03 AM
the one you have got, is url of another vid. Change the url a bit:

C:\rtmpdump-2.4>rtmpdump -r "rtmp://fmsnl.vianotvportal.com/paki_preview/2" -a "
paki_preview/2" -f "WIN 11,1,102,55" -W "http://srbija-sport.co.cc/preview.swf"
-p "http://srbija-sport.co.cc/channel/view/sport-live-2" -C S:2 -C S:preview -C
S: -C S: -C S: -C S:uId5117 -C S:paki-1324793266828 -y "paki-1324748155281" -o paki-1324748155281.flv
RTMPDump v2.4 GIT-2011-12-22 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: duration 399.61
INFO: videocodecid 2.00
INFO: audiocodecid 5.00
INFO: canSeekToEnd FALSE
INFO: createdby FMS 4.0
INFO: creationdate Sat Dec 24 16:25:17 2011
77.938 kB / 5.04 sec (1.2%)

with suck, I got some URLs, 4 of them are those videos under online stream, and last one is exactly online stream:
rtmpdump -r "rtmp://fmsnl.vianotvportal.com/paki_preview/2" -a "paki_preview/2" -f "WIN 11,1,102,55" -W "http://srbija-sport.co.cc/preview.swf" -p "http://srbija-sport.co.cc/channel/view/sport-live-2" -C S:2 -C S:preview -C S: -C S: -C S: -C S:uId5098 -C S:paki-1324748155281 -y "uId5098" -o "uId5098.flv"
rtmpdump -r "rtmp://fmsnl.vianotvportal.com/paki_preview/4" -a "paki_preview/4" -f "WIN 11,1,102,55" -W "http://srbija-sport.co.cc/preview.swf" -p "http://srbija-sport.co.cc/channel/view/sport-live-2" -C S:4 -C S:preview -C S: -C S: -C S: -C S:uId2274 -C S:mp4:gicko24-1324744908166.f4v -y "uId2274" -o "uId2274.flv"
rtmpdump -r "rtmp://fmsnl.vianotvportal.com/paki_preview/2" -a "paki_preview/2" -f "WIN 11,1,102,55" -W "http://srbija-sport.co.cc/preview.swf" -p "http://srbija-sport.co.cc/channel/view/sport-live-2" -C S:2 -C S:preview -C S: -C S: -C S: -C S:uId8531 -C S:paki-1324793266828 -y "uId8531" -o "uId8531.flv"
rtmpdump -r "rtmp://fmsnl.vianotvportal.com/paki_preview/2" -a "paki_preview/2" -f "WIN 11,1,102,55" -W "http://srbija-sport.co.cc/preview.swf" -p "http://srbija-sport.co.cc/channel/view/sport-live-2" -C S:2 -C S:preview -C S: -C S: -C S: -C S:uId5817 -C S:paki-1324748155281 -y "uId5817" -o "uId5817.flv"
rtmpdump -r "rtmp://fmsnl.vianotvportal.com/paki_video/2" -a "paki_video/2" -f "WIN 11,1,102,55" -W "http://srbija-sport.co.cc/viewer.swf" -p "http://srbija-sport.co.cc/channel/view/sport-live-2" -C S:2 -C S:N/A -C S:Anonymous_2949 -C S:viewer -C S:Anonymous_2949 -C S:0 -C S:true -C S:1324840980609354ef77814367c0348447903 -y "stream" -o "stream.flv"

Change the url like the one i did for your link:
rtmpdump -r "rtmp://fmsnl.vianotvportal.com/paki_video/2" -a "paki_video/2" -f "WIN 11,1,102,55" -W "http://srbija-sport.co.cc/viewer.swf" -p "http://srbija-sport.co.cc/channel/view/sport-live-2" -C S:2 -C S:N/A -C S:Anonymous_2949 -C S:viewer -C S:Anonymous_2949 -C S:0 -C S:true -C S:1324840980609354ef77814367c0348447903 -y "1324840980609354ef77814367c0348447903" --live -o "1324840980609354ef77814367c0348447903.flv"

of course, -y parameter may changes by the time!!
;)

karlo2105
12-26-2011, 03:32 AM
Thanks very much. It means rtmpsuck solves all issues. ;-)

james453
12-28-2011, 03:19 AM
Good information...and nice reply..