PDA

View Full Version : What em I doing wrong???


subixonfire
10-31-2011, 07:37 PM
I tried to get stream from this page to xbmc http://utv.ro/live/.

Tried downloading strm file from here http://www.thestreamdb.com/stream/8m8le7 but it plays in xbmc only for cca 15 seconds...

Then i compiled rtmpdump on my ubuntu oneiric pc, then tried to use this command:
rtmpdump -v -r "rtmpe://fms27.mediadirect.ro:1935/live/utv?id=29067181" -y "utv_low" -a "live/utv?id=29067181" -W "http://static1.mediadirect.ro/player-preload/swf/utv_714/player.swf" -p "http://www.utv.ro/live/" -o "dump.flv"

That also downloads like 16 - 17 sec en then it exits like this:

me@me-desktop:/usr/src/rtmpdump$ sudo ./rtmpdump -v -r "rtmpe://fms27.mediadirect.ro:1935/live/utv?id=29067181" -y "utv_low" -a "live/utv?id=29067181" -W "http://static1.mediadirect.ro/player-preload/swf/utv_714/player.swf" -p "http://www.utv.ro/live/" -o "dump.flv"
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO: framerate 25.00
INFO: width 480.00
INFO: height 360.00
INFO: videocodecid avc1
INFO: videodatarate 650.00
INFO: videokeyframe_frequency125.00
INFO: audiocodecid mp4a
INFO: audiosamplerate 44100.00
INFO: audiochannels 2.00
INFO: audiodatarate 128.00
1587.342 kB / 16.87 sec
ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 2430
1593.896 kB / 17.00 sec
Download complete


or like this:

me@me-desktop:/usr/src/rtmpdump$ sudo ./rtmpdump -v -r "rtmpe://fms27.mediadirect.ro:1935/live/utv?id=29067181" -y "utv_low" -a "live/utv?id=29067181" -W "http://static1.mediadirect.ro/player-preload/swf/utv_714/player.swf" -p "http://www.utv.ro/live/" -o "dump.flv"
[sudo] password for alen:
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO: framerate 25.00
INFO: width 480.00
INFO: height 360.00
INFO: videocodecid avc1
INFO: videodatarate 650.00
INFO: videokeyframe_frequency125.00
INFO: audiocodecid mp4a
INFO: audiosamplerate 44100.00
INFO: audiochannels 2.00
INFO: audiodatarate 128.00
1529.745 kB / 17.06 sec
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
1543.997 kB / 17.21 sec
Download complete


Is this some software bug, incompatibility or em I doing somthing wrong???

chap
11-01-2011, 12:29 AM
rtmpdump -r "rtmpe://fms31.mediadirect.ro:1935/live/utv" -a "live/utv?id=41942722" -f "WIN 11,0,1,152" -W "http://static1.mediadirect.ro/player-preload/swf/utv_762/player.swf" -p "http://utv.ro/live/" -C O:1 -C O:0 -y "utv_low" -o utv_low.flv


RTMPDump v2.4 GIT-2011-09-30 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: framerate 25.00
INFO: width 480.00
INFO: height 360.00
INFO: videocodecid avc1
INFO: videodatarate 650.00
INFO: videokeyframe_frequency125.00
INFO: audiocodecid mp4a
INFO: audiosamplerate 44100.00
INFO: audiochannels 2.00
INFO: audiodatarate 128.00
9094.815 kB / 97.51 sec
:cool:


rtmpdump -r "rtmpe://fms31.mediadirect.ro:1935/live/utv" -a "live/utv?id=41942722" -f "WIN 11,0,1,152" -W "http://static1.mediadirect.ro/player-preload/swf/utv_762/player.swf" -p "http://utv.ro/live/" -C O:1 -C O:0 -y "utv" -o utv.flv


RTMPDump v2.4 GIT-2011-09-30 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: framerate 25.00
INFO: width 720.00
INFO: height 576.00
INFO: videocodecid avc1
INFO: videodatarate 2000.00
INFO: videokeyframe_frequency125.00
INFO: audiocodecid mp4a
INFO: audiosamplerate 44100.00
INFO: audiochannels 2.00
INFO: audiodatarate 128.00
67457.306 kB / 275.44 sec
:cool:

subixonfire
11-01-2011, 02:49 AM
Segmentation fault???

rtmpdump -r "rtmpe://fms31.mediadirect.ro:1935/live/utv" -a "live/utv?id=41942722" -f "WIN 11,0,1,152" -W "http://static1.mediadirect.ro/player-preload/swf/utv_762/player.swf" -p "http://utv.ro/live/" -C O:1 -C O:0 -y "utv" -o utv.flv

me@me-desktop:~$ rtmpdump -r "rtmpe://fms31.mediadirect.ro:1935/live/utv" -a "live/utv?id=41942722" -f "WIN 11,0,1,152" -W "http://static1.mediadirect.ro/player-preload/swf/utv_762/player.swf" -p "http://utv.ro/live/" -C O:1 -C O:0 -y "utv" -o utv.flv
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
Segmentation fault


with debug:
me@me-desktop:~$ rtmpdump -r "rtmpe://fms31.mediadirect.ro:1935/live/utv" -a "live/utv?id=41942722" -f "WIN 11,0,1,152" -W "http://static1.mediadirect.ro/player-preload/swf/utv_762/player.swf" -p "http://utv.ro/live/" -C O:1 -C O:0 -y "utv" -o utv.flv -z
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMPE
DEBUG: Hostname : fms31.mediadirect.ro
DEBUG: Port : 1935
DEBUG: Playpath : utv
DEBUG: tcUrl : rtmpe://fms31.mediadirect.ro:1935/live/utv?id=41942722
DEBUG: swfUrl : http://static1.mediadirect.ro/player-preload/swf/utv_762/player.swf
DEBUG: pageUrl : http://utv.ro/live/
DEBUG: app : live/utv?id=41942722
DEBUG: flashVer : WIN 11,0,1,152
DEBUG: live : no
DEBUG: timeout : 0 sec
DEBUG: SWFSHA256:
DEBUG: 83 42 8d 18 47 18 b4 4f 7e 29 88 cb 46 ac 8d c2
DEBUG: 31 7f 31 82 a1 6a 89 97 b4 f9 ae da 11 77 5a 8a
DEBUG: SWFSize : 426723
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
Segmentation fault


Ps: on windows it works(tested now), but i need it to work on linux.

subixonfire
11-01-2011, 08:37 AM
I had no luck with linux version, maybe i did something wrong while compiling???

But now I'm using windows version (RTMPDump v2.4 GIT-2011-09-30 (Compiled by KSV)) with wine, that works perfect... ;)

duck69
11-19-2011, 02:26 PM
how do u find those -C switches?