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 > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 08-05-2012, 05:45 PM
porrum_doctum porrum_doctum is offline
Junior Member
 
Join Date: Aug 2012
Posts: 3
porrum_doctum is on a distinguished road
Default

Handshake failed problem + no rtmpsuck output


Hi,

I'm trying to rtmpdump some video's from two sites, for example:
- http://rudolphsbakery.24kitchen.nl/i...runderbouillon
- http://www.cobra.be/cm/cobra/cobra-m...9138/1.1353466

I tried setting up rtmpsuck to get help for the rtmpdump setup, but with:
iptables -t nat -D OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner root -j REDIRECT && rtmpsuck
I don't get any output if I start either of these two videos in firefox. I do get output when I play a bbc-news video, so I'm assuming my setup is at least partly working.

The second video I can dump succesfully using (I manually searched the source code etc.):
rtmpdump -r "rtmpt://vrt.flash.streampower.be:443/sporza" -W "http://www.cobra.be/html/flash/common/player.swf" -y "2012/07/172914978CONNYFROB9692190.urlFLVLong.flv" -C O:1 -C O:0 -o test01.flv -v
I don't understand the -C commands, but both that and the -v for live are necessary as far as I can see.

For the first video I tried (I don't remember where I got the rtmpt path, not sure if it is correct):
./rtmpdump -r "rtmpt://fl.media04.kpnstreaming.nl:80/vod/_definst_//kpn/24kitchenV/BB120002_Boudewijns_bolognese_cupcakes.mp4" -o test.mp4 -v
but this gives me "ERROR: RTMP_Connect1, handshake failed."


Can anyone help me to:
a) figure out how to dump the video from the first page (http://rudolphsbakery.24kitchen.nl)
b) help me get results from rtmpsuck/rtmpsrv


Thanks!
Reply With Quote
  #2  
Old 08-05-2012, 06:02 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: Handshake failed problem + no rtmpsuck output


Code:
rtmpdump -r rtmp://fl.media02.kpnstreaming.nl:80/vod/_definst_/ -a vod/_defin
st_/ -f 'WIN 11,3,300,257' -W http://www.24kitchen.nl/sites/all/modules/madcap/m
edia_kpnvideo/swf/flowplayer.swf -p http://rudolphsbakery.24kitchen.nl/info-fun/
basisbereidingen/runderbouillon -y kpn/24kitchenV/BB120001_bouillon.mp4 -o BB120
001_bouillon.flv -T ''
RTMPDump v2.4-34-ged8cfb4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: trackinfo:
INFO:   timescale             44100.00
INFO:   length                3090432.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4a
INFO:   timescale             90000.00
INFO:   length                6303600.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   timescale             600.00
INFO:   length                42046.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4s
INFO:   timescale             600.00
INFO:   length                42046.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4s
INFO:   timescale             44100.00
INFO:   length                3090432.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            rtp
INFO:   timescale             90000.00
INFO:   length                6303600.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            rtp
INFO:   audiochannels         2.00
INFO:   audiosamplerate       44100.00
INFO:   videoframerate        25.00
INFO:   aacaot                2.00
INFO:   avclevel              30.00
INFO:   avcprofile            66.00
INFO:   audiocodecid          mp4a
INFO:   videocodecid          avc1
INFO:   width                 640.00
INFO:   height                360.00
INFO:   frameWidth            640.00
INFO:   frameHeight           360.00
INFO:   displayWidth          640.00
INFO:   displayHeight         360.00
INFO:   moovposition          36.00
INFO:   duration              70.08
7026.046 kB / 50.12 sec (71.5%)
Reply With Quote
  #3  
Old 08-05-2012, 06:04 PM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: Handshake failed problem + no rtmpsuck output


http://www.cobra.be/cm/cobra/cobra-m...9138/1.1353466
Code:
http://media.vrtnieuws.net/2012/07/172914978CONNYFROB9692190.urlFLVLong.flv
Reply With Quote
  #4  
Old 08-06-2012, 01:25 PM
porrum_doctum porrum_doctum is offline
Junior Member
 
Join Date: Aug 2012
Posts: 3
porrum_doctum is on a distinguished road
Default

Re: Handshake failed problem + no rtmpsuck output


Okay, thanks for the quick reply.

To begin with, svnpenn, your rtmpdump command doesn't work for me. I tried and get a RTMP_Connect1, handshake failed. I started thinking me running under linux might be a problem, so I tried the same thing in Windows but I get the same error.

I also checked in linux which librtmp.so I'm using, and it is the one in the folder.
Under windows I also looked for the specific version you ran with according to the output (2.4-34-ged8cfb4), but I still get the same error.

Hopefully you can help me debug.

Another question is, where did you get the rtmpdump command options? It very handy that you provide them here, but I would like to learn how to get this info myself (e.g. why the -f ... and -T ' ').

Under linux: ldd ./rtmpdump
Code:
	linux-vdso.so.1 =>  (0x00007fff5ccc7000)
	librtmp.so.0 => /opt/rtmpdump-v2.4-35/librtmp/librtmp.so.0 (0x00007f4089479000)
	libssl.so.10 => /lib64/libssl.so.10 (0x0000003fcf200000)
	libcrypto.so.10 => /lib64/libcrypto.so.10 (0x0000003fcba00000)
	libz.so.1 => /lib64/libz.so.1 (0x0000003fc3e00000)
	libc.so.6 => /lib64/libc.so.6 (0x0000003fc2a00000)
	libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x0000003fcca00000)
	libkrb5.so.3 => /lib64/libkrb5.so.3 (0x0000003fcb600000)
	libcom_err.so.2 => /lib64/libcom_err.so.2 (0x0000003fcae00000)
	libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x0000003fcce00000)
	libdl.so.2 => /lib64/libdl.so.2 (0x0000003fc3600000)
	/lib64/ld-linux-x86-64.so.2 (0x0000003fc2600000)
	libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x0000003fcc200000)
	libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x0000003fcbe00000)
	libresolv.so.2 => /lib64/libresolv.so.2 (0x0000003fc4a00000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003fc5600000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003fc3200000)
	libselinux.so.1 => /lib64/libselinux.so.1 (0x0000003fc4200000)
Under linux: rtmpdump error:
Code:
./rtmpdump -r rtmp://fl.media02.kpnstreaming.nl:80/vod/_definst_/ -a vod/_definst_/ -f 'WIN 11,3,300,257' -W http://www.24kitchen.nl/sites/all/modules/madcap/media_kpnvideo/swf/flowplayer.swf -p http://rudolphsbakery.24kitchen.nl/info-fun/basisbereidingen/runderbouillon -y kpn/24kitchenV/BB120001_bouillon.mp4 -o BB120001_bouillon.flv -T '' -V
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMP
DEBUG: Hostname : fl.media02.kpnstreaming.nl
DEBUG: Port     : 80
DEBUG: Playpath : kpn/24kitchenV/BB120001_bouillon.mp4
DEBUG: tcUrl    : rtmp://fl.media02.kpnstreaming.nl:80/vod/_definst_/
DEBUG: swfUrl   : http://www.24kitchen.nl/sites/all/modules/madcap/media_kpnvideo/swf/flowplayer.swf
DEBUG: pageUrl  : http://rudolphsbakery.24kitchen.nl/info-fun/basisbereidingen/runderbouillon
DEBUG: app      : vod/_definst_/
DEBUG: flashVer : WIN 11,3,300,257
DEBUG: live     : no
DEBUG: timeout  : 30 sec
DEBUG: SWFSHA256:
DEBUG: 90 0a d1 98 24 6d 86 52 c2 87 79 ab 32 c7 ec 11
DEBUG: 67 e3 39 12 bd 4a 89 ff 82 6f 20 07 76 a0 a5 77
DEBUG: SWFSize  : 235331
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 03
DEBUG: HandShake: Client digest offset: 430
DEBUG: HandShake: Initial client digest: 
DEBUG: f3 e4 64 19 16 e2 69 91 1d 6d 6f 85 86 3b 41 fb
DEBUG: 1d 46 27 ff a5 ab a6 ec 31 84 32 7a f6 7f 90 a7
DEBUG: RTMPSockBuf_Fill, recv returned -1. GetSockError(): 11 (Resource temporarily unavailable)
ERROR: RTMP_Connect1, handshake failed.
DEBUG: Closing connection.
Reply With Quote
  #5  
Old 08-10-2012, 07:28 AM
porrum_doctum porrum_doctum is offline
Junior Member
 
Join Date: Aug 2012
Posts: 3
porrum_doctum is on a distinguished road
Default

Re: Handshake failed problem + no rtmpsuck output


No one has any hints or things I could try?

Thanks...
Reply With Quote
  #6  
Old 08-10-2012, 07:37 AM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: Handshake failed problem + no rtmpsuck output


This is working with official master. Also -T and -f are not required.

Code:
$ rtmpdump -r rtmp://fl.media02.kpnstreaming.nl:80/vod/_definst_/ -a vod/_defin
st_/ -W http://www.24kitchen.nl/sites/all/modules/madcap/media_kpnvideo/swf/flo
wplayer.swf -p http://rudolphsbakery.24kitchen.nl/info-fun/basisbereidingen/run
derbouillon -y kpn/24kitchenV/BB120001_bouillon.mp4 -o BB120001_bouillon.flv
RTMPDump v2.4-35-ge0056c5
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: trackinfo:
INFO:   timescale             44100.00
INFO:   length                3090432.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4a
INFO:   timescale             90000.00
INFO:   length                6303600.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   timescale             600.00
INFO:   length                42046.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4s
INFO:   timescale             600.00
INFO:   length                42046.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4s
INFO:   timescale             44100.00
INFO:   length                3090432.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            rtp
INFO:   timescale             90000.00
INFO:   length                6303600.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            rtp
INFO:   audiochannels         2.00
INFO:   audiosamplerate       44100.00
INFO:   videoframerate        25.00
INFO:   aacaot                2.00
INFO:   avclevel              30.00
INFO:   avcprofile            66.00
INFO:   audiocodecid          mp4a
INFO:   videocodecid          avc1
INFO:   width                 640.00
INFO:   height                360.00
INFO:   frameWidth            640.00
INFO:   frameHeight           360.00
INFO:   displayWidth          640.00
INFO:   displayHeight         360.00
INFO:   moovposition          36.00
INFO:   duration              70.08
1904.983 kB / 13.28 sec (18.9%)
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 09:13 AM.


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