Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 10-31-2011, 08:37 PM
subixonfire subixonfire is offline
Junior Member
 
Join Date: Oct 2011
Posts: 3
subixonfire is on a distinguished road
Default

What em I doing wrong???


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:
Code:
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:
Code:
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:
Code:
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???
Reply With Quote
  #2  
Old 11-01-2011, 01:29 AM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: What em I doing wrong???


Code:
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
Code:
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:
Code:
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
Code:
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:
Reply With Quote
  #3  
Old 11-01-2011, 03:49 AM
subixonfire subixonfire is offline
Junior Member
 
Join Date: Oct 2011
Posts: 3
subixonfire is on a distinguished road
Default

Re: What em I doing wrong???


Segmentation fault???

Code:
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
Code:
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:
Code:
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.
Reply With Quote
  #4  
Old 11-01-2011, 09:37 AM
subixonfire subixonfire is offline
Junior Member
 
Join Date: Oct 2011
Posts: 3
subixonfire is on a distinguished road
Default

Re: What em I doing wrong???


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...
Reply With Quote
  #5  
Old 11-19-2011, 03:26 PM
duck69 duck69 is offline
Junior Member
 
Join Date: Dec 2009
Posts: 18
duck69 is on a distinguished road
Default

Re: What em I doing wrong???


how do u find those -C switches?
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 11:19 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons