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-08-2012, 03:50 PM
xvan xvan is offline
Junior Member
 
Join Date: Oct 2012
Posts: 4
xvan is on a distinguished road
Default

TVPublica - deleteStream package


This is the page: http://tvpublica.com.ar/vivo/

First I try to connect with
Code:
rtmpdump -n active.telecomcdn.com -a canal7vivoflash/canal7vivoflash/livestream/ -f 'LNX 11,0,1,129' -s 'http://tvpublica.com.ar/vivo/swf/player.swf' -t 'rtmp://active.telecomcdn.com/canal7vivoflash/canal7vivoflash/livestream/' -p 'http://tvpublica.com.ar/vivo/' -y 'livestream' -b 2000 -V

DEBUG: Protocol : RTMP
DEBUG: Hostname : active.telecomcdn.com
DEBUG: Port     : 1935
DEBUG: Playpath : livestream
DEBUG: tcUrl    : rtmp://active.telecomcdn.com/canal7vivoflash/canal7vivoflash/livestream/
DEBUG: swfUrl   : http://tvpublica.com.ar/vivo/swf/player.swf
DEBUG: pageUrl  : http://tvpublica.com.ar/vivo/
DEBUG: app      : canal7vivoflash/canal7vivoflash/livestream/
DEBUG: flashVer : LNX 11,0,1,129
DEBUG: live     : no
DEBUG: timeout  : 30 sec
DEBUG: Setting buffer time to: 2000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Type Answer   : 03
DEBUG: HandShake: Server Uptime : 0
DEBUG: HandShake: FMS Version   : 0.0.0.0
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
DEBUG: Closing connection.
This returns a similar dump to the online player one: s redirect response package
Code:
Real Time Messaging Protocol (AMF0 Command _error('NetConnection.Connect.Rejected'))
Redirecting to another rtmp address.
Code:
Property 'redirect' String 'rtmp://186.153.1.4/liverepeater/_definst_/5daaqaibaqm2bi2ezrnmey2gtrmitzqg'
rtmpdump doesn't handle it, and when I use it manually:

Code:
rtmpdump -r 'rtmp://186.153.1.4/liverepeater/_definst_/5daaqaibaqm2bi2ezrnmey2gtrmitzqg' -a 'liverepeater/_definst_/5daaqaibaqm2bi2ezrnmey2gtrmitzqg' -f 'LNX 11,0,1,129' -s 'http://tvpublica.com.ar/vivo/swf/player.swf' -p 'http://tvpublica.com.ar/vivo/' -b 2000 -y livestream -V
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-4KHq9s/pkcs11: No such file or directory
WARNING: You haven't specified an output file (-o filename), using stdout
DEBUG: Protocol : RTMP
DEBUG: Hostname : 186.153.1.4
DEBUG: Port     : 1935
DEBUG: Playpath : livestream
DEBUG: tcUrl    : rtmp://186.153.1.4:1935/liverepeater/_definst_/5daaqaibaqm2bi2ezrnmey2gtrmitzqg
DEBUG: swfUrl   : http://tvpublica.com.ar/vivo/swf/player.swf
DEBUG: pageUrl  : http://tvpublica.com.ar/vivo/
DEBUG: app      : liverepeater/_definst_/5daaqaibaqm2bi2ezrnmey2gtrmitzqg
DEBUG: flashVer : LNX 11,0,1,129
DEBUG: live     : no
DEBUG: timeout  : 30 sec
DEBUG: Setting buffer time to: 2000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Type Answer   : 03
DEBUG: HandShake: Server Uptime : 96850052
DEBUG: HandShake: FMS Version   : 3.0.1.1
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: HandleServerBW: server BW = 2500000
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG: HandleCtrl, received ctrl. type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 0
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: RTMP_ClientPacket, received: invoke 259 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:             fmsVer, STRING:	FMS/3,5,4,210>
DEBUG: Property: <Name:       capabilities, NUMBER:	31.00>
DEBUG: Property: <Name:               mode, NUMBER:	1.00>
DEBUG: (object end)
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:	status>
DEBUG: Property: <Name:               code, STRING:	NetConnection.Connect.Success>
DEBUG: Property: <Name:        description, STRING:	Connection succeeded.>
DEBUG: Property: <Name:               data, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:            version, STRING:	3,5,4,210>
DEBUG: (object end)
DEBUG: Property: <Name:           clientid, NUMBER:	2065159754.00>
DEBUG: Property: <Name:     objectEncoding, NUMBER:	0.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
DEBUG: sending ctrl. type: 0x0003
DEBUG: Invoking createStream
DEBUG: RTMP_ClientPacket, received: invoke 29 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <createStream>
DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: livestream
DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003
DEBUG: Invoking deleteStream
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
DEBUG: Closing connection.
I compared the original and the rtmpdump tcp-dumps again... and rtmpdump deletes the stream before giving it a chance to start, without apparent reason.



Any guesses? Might it because of a timeout? rtmpdump deletes the stream 140ms from the play package, and it takes the original player 290ms to receive a response.
Reply With Quote
  #2  
Old 10-08-2012, 09:05 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: TVPublica - deleteStream package


That site, blows.

Reply With Quote
  #3  
Old 10-09-2012, 12:32 AM
xvan xvan is offline
Junior Member
 
Join Date: Oct 2012
Posts: 4
xvan is on a distinguished road
Default

Re: TVPublica - deleteStream package


Might be limited from inside Argentina, but I don't think so.
Anyone else can confirm this?

You could also try with http://canalsieteenvivo.com.ar/ . Not official and with adds, and seems to be a retransmission.
Reply With Quote
  #4  
Old 10-09-2012, 05:29 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: TVPublica - deleteStream package


Code:
$ rtmpdump -r "rtmp://active.telecomcdn.com/canal7vivoflash/canal7vivoflash/liv
estream/" -a "canal7vivoflash/canal7vivoflash/livestream/" -f "WIN 11,4,402,278
" -W "http://tvpublica.com.ar/vivo/swf/player.swf" -p "http://tvpublica.com.ar/
vivo/" -y "livestream" -o livestream.flv
RTMPDump v2.4-42-gc2a0cc4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
INFO: rtmp server sent redirect
INFO: trying to connect with redirected url
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          Sun Sep 30 13:43:06 2012
INFO:   videodevice           Osprey-240e Video Device 2
INFO:   framerate             15.00
INFO:   width                 384.00
INFO:   height                288.00
INFO:   videocodecid          avc1
INFO:   videodatarate         244.00
INFO:   avclevel              31.00
INFO:   avcprofile            66.00
INFO:   videokeyframe_frequency5.00
INFO:   audiodevice           Osprey-240e Audio Device 2
INFO:   audiosamplerate       44100.00
INFO:   audiochannels         2.00
INFO:   audioinputvolume      48.00
INFO:   audiocodecid          .mp3
INFO:   audiodatarate         96.00
1026.549 kB / 24.45 sec
Reply With Quote
  #5  
Old 10-09-2012, 06:46 PM
xvan xvan is offline
Junior Member
 
Join Date: Oct 2012
Posts: 4
xvan is on a distinguished road
Default

Re: TVPublica - deleteStream package


Thanks!,
It was an rtmpdump issue.

For ubuntu/debian users:
Official repository 2.4 has issues.
If rtmpdump is compiled librtmp needs to be also replaced to avoid a segfault issue. But gstream depends on the old librtmp.

I solved this by compiling rtmpdump statically:
Code:
make SHARED=no
I used svnpenn's branch
Reply With Quote
  #6  
Old 10-09-2012, 11:36 PM
xvan xvan is offline
Junior Member
 
Join Date: Oct 2012
Posts: 4
xvan is on a distinguished road
Default

Re: TVPublica - deleteStream package


Third time I try to reply to this thread

Thanks, that worked.
Seems to have been an rtmpdump issue from the 1.4 version in the ubuntu repository.
Compiling the version from your repository fixed the issue.
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 12:42 AM.


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