RTMPDump Windows Builds

Topics regarding RTMPDump.
User avatar
Zeranoe
Site Admin
Posts: 613
Joined: Sat May 07, 2011 7:12 pm
Contact:

Re: RTMPDump Windows Builds

Postby Zeranoe » Mon Mar 25, 2013 4:12 pm

Interesting, what version of rtmpdump works?

svnpenn
Posts: 263
Joined: Tue Nov 01, 2011 12:19 am

Re: RTMPDump Windows Builds

Postby svnpenn » Mon Mar 25, 2013 4:25 pm

Zeranoe wrote:Interesting, what version of rtmpdump works?


Upon further checking, the commit you are using should work. My guess would be it is working on my build because I am using PolarSSL and failing on yours because GnuTLS is horrible.

Code: Select all

rtmpdump -W http://download.hulu.com/huludesktop.swf -r rtmpe://hulu-863.fcod.ll
nwd.net/a2461/o23 -a 'a2461/o23?as=adobe-hmac-sha256&av=1&te=connect&mp=863/5000
5863&et=1364229042&fmta-token=bcf603ff87e2ff030d0d7f1a46ad9918fc55b61f021d1211cb
ebf3d782a706f5&hgt=OZU7Pvs7j27-nhteNno7wlJeOH0hmAMaqgRbguOznMYzgSP2Oq0CjLKDGFT4g
wwWBNe39oMJWWwQ2F4JqRMQRMr2egPK_DlfX1C_Ld52LVoabycsCRK4Xk8wB-n3HbPr9kha_yP6gUUPI
6N6exPfQoPE4ywCjbbeSnIVzjfwZSQTkg232Z7iRFJfAeMXMdcTX9k-YTgaMkA1su0FW1br6NHRp3Y24
QWK24ZgIGXhVqmIvQLjNh5D6JV36QiI1Bxz5GAlDuEb6xm7Tqvhy_B89YjAp8h09MxKZWGixe_cQRk=&
hgt_ver=331370278' -y mp4:863/50005863/agave50005863_738559_H264_1000.mp4 -o 'Ri
ck Steves'\'' Europe 1x13 The Best of Sicily.flv'
RTMPDump v2.4-65-g3a1e20c
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration              1567.63
INFO:   moovPosition          36.00
INFO:   width                 640.00
INFO:   height                480.00
INFO:   videocodecid          avc1
INFO:   audiocodecid          mp4a
INFO:   avcprofile            100.00
INFO:   avclevel              30.00
INFO:   aacaot                2.00
INFO:   videoframerate        29.97
INFO:   audiosamplerate       22050.00
INFO:   audiochannels         2.00
INFO: tags:
INFO:   ┬⌐too                 Hulu v1.3
INFO: trackinfo:
INFO:   length                47027981.00
INFO:   timescale             30000.00
INFO:   language              und
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   length                69132288.00
INFO:   timescale             44100.00
INFO:   language              und
INFO: sampledescription:
INFO:   sampletype            mp4a
2020.173 kB / 20.02 sec (1.2%)

User avatar
Zeranoe
Site Admin
Posts: 613
Joined: Sat May 07, 2011 7:12 pm
Contact:

Re: RTMPDump Windows Builds

Postby Zeranoe » Mon Mar 25, 2013 4:28 pm

svnpenn wrote:Upon further checking, the commit you are using should work. My guess would be it is working on my build because I am using PolarSSL and failing on yours because GnuTLS is horrible.


Care to provide some context?

svnpenn
Posts: 263
Joined: Tue Nov 01, 2011 12:19 am

Re: RTMPDump Windows Builds

Postby svnpenn » Mon Mar 25, 2013 4:34 pm

Zeranoe wrote:
svnpenn wrote:Upon further checking, the commit you are using should work. My guess would be it is working on my build because I am using PolarSSL and failing on yours because GnuTLS is horrible.


Care to provide some context?


I remember trying to compile GnuTLS for Windows and what a huge pain it was, with endless dependencies and code bloat, end result being GnuTLS was an order of magnitude larger than PolarSSL and does the same thing. PolarSSL has no dependencies other than perhaps Zlib and is extremely small and fast/easy to compile.

GnuTLS is not necessarily the culprit but would surely be a step in the right direction to dump it, if not just for the RtmpDump build.

User avatar
Zeranoe
Site Admin
Posts: 613
Joined: Sat May 07, 2011 7:12 pm
Contact:

Re: RTMPDump Windows Builds

Postby Zeranoe » Mon Mar 25, 2013 4:38 pm

svnpenn wrote:
Zeranoe wrote:
svnpenn wrote:Upon further checking, the commit you are using should work. My guess would be it is working on my build because I am using PolarSSL and failing on yours because GnuTLS is horrible.


Care to provide some context?


I remember trying to compile GnuTLS for Windows and what a huge pain it was, with endless dependencies and code bloat, end result being GnuTLS was an order of magnitude larger than PolarSSL and does the same thing. PolarSSL has no dependencies other than perhaps Zlib and is extremely small and fast/easy to compile.

GnuTLS is not necessarily the culprit but would surely be a step in the right direction to dump it, if not just for the RtmpDump build.


I've had a similar story with PolarSSL, they might have cleaned up their code but it turned out to be a headache to compile when I tried.

Yes GnuTLS is larger and has more dependencies, but I don't think the quality of the lib is in question.

svnpenn
Posts: 263
Joined: Tue Nov 01, 2011 12:19 am

Re: RTMPDump Windows Builds

Postby svnpenn » Mon Mar 25, 2013 4:47 pm

Zeranoe wrote:I've had a similar story with PolarSSL, they might have cleaned up their code but it turned out to be a headache to compile when I tried.
Yes GnuTLS is larger and has more dependencies, but I don't think the quality of the lib is in question.


Whatever the cause, I would like to see your build work with Hulu. If it helps my build script is here

github.com/svnpenn/a/blob/master/scripts/install-polarssl.sh

User avatar
Zeranoe
Site Admin
Posts: 613
Joined: Sat May 07, 2011 7:12 pm
Contact:

Re: RTMPDump Windows Builds

Postby Zeranoe » Mon Mar 25, 2013 4:51 pm

How about OpenSSL?

svnpenn
Posts: 263
Joined: Tue Nov 01, 2011 12:19 am

Re: RTMPDump Windows Builds

Postby svnpenn » Mon Mar 25, 2013 5:09 pm

Zeranoe wrote:How about OpenSSL?


Again, I dont even know if it is the Crypto library at fault here. As far as which one I dont really care as long as it works. I am recommending PolarSSL because if the Crypto is at fault I know that PolarSSL works.

svnpenn
Posts: 263
Joined: Tue Nov 01, 2011 12:19 am

Re: RTMPDump Windows Builds

Postby svnpenn » Wed Mar 27, 2013 5:20 am

Good sir, I know see that the problem runs deeper than Hulu. Did you even test this thing?

Code: Select all

$ rtmpdump-20121209-git-3a1e20c-win32/rtmpdump -r rtmpe://68.142.122.229/a2246/
o23/ -y mp4:cwtv/videos/2013/03/25/CW-CarrieDiaries-3X7311-IdentityCrisis_b78a1
0439_500kbps.mp4 -o a.flv
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
Segmentation fault


Code: Select all

$ rtmpdump-20121209-git-3a1e20c-win64/rtmpdump -r rtmpe://68.142.122.229/a2246/
o23/ -y mp4:cwtv/videos/2013/03/25/CW-CarrieDiaries-3X7311-IdentityCrisis_b78a1
0439_500kbps.mp4 -o a.flv
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
Segmentation fault


Code: Select all

$ rtmpdump -r rtmpe://68.142.122.229/a2246/o23/ -y mp4:cwtv/videos/2013/03/25/C
W-CarrieDiaries-3X7311-IdentityCrisis_b78a10439_500kbps.mp4 -o a.flv
RTMPDump v2.4-81-g2872601
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration              2513.24
INFO:   moovPosition          186547119.00
INFO:   width                 640.00
INFO:   height                352.00
INFO:   videocodecid          avc1
INFO:   audiocodecid          mp4a
INFO:   avcprofile            100.00
INFO:   avclevel              32.00
INFO:   aacaot                2.00
INFO:   videoframerate        23.98
INFO:   audiosamplerate       44100.00
INFO:   audiochannels         2.00
INFO: tags:
INFO:   ┬⌐too                 Lavf52.111.0
INFO: trackinfo:
INFO:   length                7532125.00
INFO:   timescale             2997.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   length                110833664.00
INFO:   timescale             44100.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4a
1375.755 kB / 20.77 sec (0.8%)

User avatar
Zeranoe
Site Admin
Posts: 613
Joined: Sat May 07, 2011 7:12 pm
Contact:

Re: RTMPDump Windows Builds

Postby Zeranoe » Wed Mar 27, 2013 5:33 am

svnpenn wrote:Good sir, I know see that the problem runs deeper than Hulu. Did you even test this thing?

Code: Select all

$ rtmpdump-20121209-git-3a1e20c-win32/rtmpdump -r rtmpe://68.142.122.229/a2246/
o23/ -y mp4:cwtv/videos/2013/03/25/CW-CarrieDiaries-3X7311-IdentityCrisis_b78a1
0439_500kbps.mp4 -o a.flv
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
Segmentation fault


Code: Select all

$ rtmpdump-20121209-git-3a1e20c-win64/rtmpdump -r rtmpe://68.142.122.229/a2246/
o23/ -y mp4:cwtv/videos/2013/03/25/CW-CarrieDiaries-3X7311-IdentityCrisis_b78a1
0439_500kbps.mp4 -o a.flv
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
Segmentation fault


Code: Select all

$ rtmpdump -r rtmpe://68.142.122.229/a2246/o23/ -y mp4:cwtv/videos/2013/03/25/C
W-CarrieDiaries-3X7311-IdentityCrisis_b78a10439_500kbps.mp4 -o a.flv
RTMPDump v2.4-81-g2872601
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration              2513.24
INFO:   moovPosition          186547119.00
INFO:   width                 640.00
INFO:   height                352.00
INFO:   videocodecid          avc1
INFO:   audiocodecid          mp4a
INFO:   avcprofile            100.00
INFO:   avclevel              32.00
INFO:   aacaot                2.00
INFO:   videoframerate        23.98
INFO:   audiosamplerate       44100.00
INFO:   audiochannels         2.00
INFO: tags:
INFO:   ┬⌐too                 Lavf52.111.0
INFO: trackinfo:
INFO:   length                7532125.00
INFO:   timescale             2997.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   length                110833664.00
INFO:   timescale             44100.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4a
1375.755 kB / 20.77 sec (0.8%)


I've used that build to download many sources.

Thanks for the report though,I'm getting around to recompiling with openssl. should be done soon.


Return to “RTMPDump Specific”

Who is online

Users browsing this forum: No registered users and 1 guest