From timo.teras at iki.fi Mon Mar 4 14:54:00 2013 From: timo.teras at iki.fi (Timo Teras) Date: Mon, 4 Mar 2013 15:54:00 +0200 Subject: [rtmpdump] adobe/akamai auth broken in git master Message-ID: <20130304155400.2749b47a@vostro> I'm trying to use ffmpeg with librtmp to send stream to Akamai. However the following error message appears: authenticating publisher PublisherAuth, Authentication failed: wrong password (followed with seg.fault) git bisect sayeth: e42b5d0926b1a668d7fbd794a70f31040c5f198d is the first bad commit commit e42b5d0926b1a668d7fbd794a70f31040c5f198d Author: Howard Chu Date: Tue Oct 30 11:17:41 2012 -0700 Cleanup authentication code from commit 9ecf540e4d5bdc85c17668fa7ead93cc375111ca From martin at martin.st Mon Mar 4 15:47:43 2013 From: martin at martin.st (=?ISO-8859-15?Q?Martin_Storsj=F6?=) Date: Mon, 4 Mar 2013 16:47:43 +0200 (EET) Subject: [rtmpdump] adobe/akamai auth broken in git master In-Reply-To: <20130304155400.2749b47a@vostro> References: <20130304155400.2749b47a@vostro> Message-ID: Hi, On Mon, 4 Mar 2013, Timo Teras wrote: > e42b5d0926b1a668d7fbd794a70f31040c5f198d is the first bad commit > commit e42b5d0926b1a668d7fbd794a70f31040c5f198d > Author: Howard Chu > Date: Tue Oct 30 11:17:41 2012 -0700 > > Cleanup authentication code > > from commit 9ecf540e4d5bdc85c17668fa7ead93cc375111ca Yes, have a look at http://lists.mplayerhq.hu/pipermail/rtmpdump/2012-December/002251.html and http://lists.mplayerhq.hu/pipermail/rtmpdump/2012-December/002252.html. // Martin From radoslavhorak at gmail.com Wed Mar 6 01:48:28 2013 From: radoslavhorak at gmail.com (=?UTF-8?Q?Radoslav_Hor=C3=A1k?=) Date: Wed, 6 Mar 2013 01:48:28 +0100 Subject: [rtmpdump] dumping an rtmp stream fails for no obvious reason Message-ID: hi all, I'm trying to save rtmp stream from page http://www.rockwelltrading.com/webinar/how-to-trade-a-small-account/ I took JSON data from javascript for flowplayer: and tried this: rtmpdump -r rtmp:// s21hgu5r2yq4zz.cloudfront.net/cfx/st/mp4:webinars/how-to-trade-a-small-account-and-turn-it-into-a-big-one.mp4%3FExpires%3D1362529123%26Signature%3DMpK5uWleHJYJUQGtm-fpUbOUNAf9-6-hYIGyuKrtDondOR%7EABIbyU8GRUu9CtlMvHkjJmyZCtg%7E0x78JpErcvpPKgLHtXxgOLVbKDkCUrJEhyuveqAEn0Ah3Ge8nOnPE3v4SD41rLSCXn1jANNmhrhybHBhSlxFB7BU3gP2-k0Q_%26Key-Pair-Id%3DAPKAIFQXZBKNZQEH5U2Q-a cfx/st -f "MAC 11.6.602.171" -W http://d1hv2fpv2exxoo.cloudfront.net/CloudPlayerPro.streaming.swf -p http://www.rockwelltrading.com/webinar/how-to-trade-a-small-account/ -y mp4:webinars/how-to-trade-a-small-account-and-turn-it-into-a-big-one.mp4 -o rt.mp4 -V which fails for unknown reason: RTMPDump v2.3 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL DEBUG: Protocol : RTMP DEBUG: Hostname : s21hgu5r2yq4zz.cloudfront.net DEBUG: Port : 1935 DEBUG: Playpath : mp4:webinars/how-to-trade-a-small-account-and-turn-it-into-a-big-one.mp4 DEBUG: tcUrl : rtmp://s21hgu5r2yq4zz.cloudfront.net:1935/cfx/st DEBUG: swfUrl : http://d1hv2fpv2exxoo.cloudfront.net/CloudPlayerPro.streaming.swf DEBUG: pageUrl : http://www.rockwelltrading.com/webinar/how-to-trade-a-small-account/ DEBUG: app : cfx/st DEBUG: flashVer : MAC 11.6.602.171 DEBUG: live : no DEBUG: timeout : 30 sec DEBUG: SWFSHA256: DEBUG: 7e 78 9e d9 21 bb 57 2c 12 2a b8 d4 cf fc a1 4d DEBUG: 73 2a 44 61 f6 78 38 9b e0 8b d2 ca e8 e0 64 55 DEBUG: SWFSize : 9388 DEBUG: Setting buffer time to: 36000000ms Connecting ... DEBUG: RTMP_Connect1, ... connected, handshaking DEBUG: HandShake: Client type: 03 DEBUG: HandShake: Client digest offset: 244 DEBUG: HandShake: Initial client digest: DEBUG: 0a 6f 4e fd d5 ab f4 61 72 67 ac 13 d7 89 84 68 DEBUG: 9a ec 03 0a 92 14 e4 c5 aa 6d ce 0d a1 d7 95 0c DEBUG: HandShake: Type Answer : 03 DEBUG: HandShake: Server Uptime : 150978592 DEBUG: HandShake: FMS Version : 3.5.7.1 DEBUG: HandShake: Calculated digest key from secure key and server digest: DEBUG: 1c b8 27 49 23 a4 4d eb 65 00 84 8c 70 39 b7 72 DEBUG: 91 c2 47 1b 0c 25 76 17 82 07 66 c1 2a 88 c2 c3 DEBUG: HandShake: Client signature calculated: DEBUG: f5 c5 c0 7f 3c 48 ae c5 d6 d2 56 cb 6c d8 7f 59 DEBUG: 74 24 40 bd 79 94 84 40 42 a4 c6 02 10 c0 c9 03 DEBUG: HandShake: Server sent signature: DEBUG: 93 a8 5b 0c 21 09 00 ee 3a 3f 15 d0 82 95 9e 70 DEBUG: 38 ae 40 aa 00 e2 aa d2 11 0f 8d 25 47 ef 25 cf DEBUG: HandShake: Digest key: DEBUG: 66 16 fa 65 76 57 57 77 1c bd a1 df 71 5e 28 5f DEBUG: 62 e6 82 22 7e 98 5a 68 48 57 c6 9f 4c bb df 9c DEBUG: HandShake: Signature calculated: DEBUG: 93 a8 5b 0c 21 09 00 ee 3a 3f 15 d0 82 95 9e 70 DEBUG: 38 ae 40 aa 00 e2 aa d2 11 0f 8d 25 47 ef 25 cf DEBUG: HandShake: Genuine Adobe Flash Media Server DEBUG: HandShake: Handshaking finished.... DEBUG: RTMP_Connect1, handshaked DEBUG: Invoking connect INFO: Connected... DEBUG: HandleServerBW: server BW = 1310720 DEBUG: HandleClientBW: client BW = 2500000 2 DEBUG: RTMP_ClientPacket, received: invoke 242 bytes DEBUG: (object begin) DEBUG: (object begin) DEBUG: Property: DEBUG: Property: DEBUG: Property: DEBUG: (object end) DEBUG: (object begin) DEBUG: Property: DEBUG: Property: DEBUG: Property: DEBUG: Property: DEBUG: Property: DEBUG: (object begin) DEBUG: Property: DEBUG: (object end) DEBUG: (object end) DEBUG: (object end) DEBUG: HandleInvoke, server invoking <_result> DEBUG: HandleInvoke, received result for method call DEBUG: sending ctrl. type: 0x0003 DEBUG: Invoking createStream DEBUG: RTMP_ClientPacket, received: invoke 21 bytes DEBUG: (object begin) DEBUG: Property: NULL DEBUG: (object end) DEBUG: HandleInvoke, server invoking DEBUG: Invoking _checkbw 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 DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: mp4:webinars/how-to-trade-a-small-account-and-turn-it-into-a-big-one.mp4 DEBUG: Invoking play DEBUG: sending ctrl. type: 0x0003 DEBUG: RTMP_ClientPacket, received: invoke 16419 bytes DEBUG: (object begin) DEBUG: Property: NULL DEBUG: (object end) DEBUG: HandleInvoke, server invoking <_onbwcheck> DEBUG: Invoking _result DEBUG: RTMP_ClientPacket, received: invoke 133 bytes DEBUG: (object begin) DEBUG: Property: NULL DEBUG: (object begin) DEBUG: Property: DEBUG: Property: DEBUG: Property: DEBUG: Property: DEBUG: (object end) DEBUG: (object end) DEBUG: HandleInvoke, server invoking DEBUG: HandleInvoke, onStatus: NetStream.Failed ERROR: Closing connection: NetStream.Failed DEBUG: Closing connection. any ideas appreciated regards Radoslav -------------- next part -------------- An HTML attachment was scrubbed... URL: From radoslavhorak at gmail.com Thu Mar 7 13:01:32 2013 From: radoslavhorak at gmail.com (=?UTF-8?Q?Radoslav_Hor=C3=A1k?=) Date: Thu, 7 Mar 2013 13:01:32 +0100 Subject: [rtmpdump] dumping stream fails without explanation in log Message-ID: hi guys, would you please help? I'm trying to save rtmp stream that is embeded in this page http://www.rockwelltrading.com/webinar/how-to-trade-a-small-account/ here is javascript for flowplayer: which used likewise: rtmpdump -r rtmp:// s21hgu5r2yq4zz.cloudfront.net/cfx/st/mp4:webinars/how-to-trade-a-small-account-and-turn-it-into-a-big-one.mp4%3FExpires%3D1362529123%26Signature%3DMpK5uWleHJYJUQGtm-fpUbOUNAf9-6-hYIGyuKrtDondOR%7EABIbyU8GRUu9CtlMvHkjJmyZCtg%7E0x78JpErcvpPKgLHtXxgOLVbKDkCUrJEhyuveqAEn0Ah3Ge8nOnPE3v4SD41rLSCXn1jANNmhrhybHBhSlxFB7BU3gP2-k0Q_%26Key-Pair-Id%3DAPKAIFQXZBKNZQEH5U2Q-a cfx/st -f "MAC 11.6.602.171" -W http://d1hv2fpv2exxoo.cloudfront.net/CloudPlayerPro.streaming.swf -p http://www.rockwelltrading.com/webinar/how-to-trade-a-small-account/ -y mp4:webinars/how-to-trade-a-small-account-and-turn-it-into-a-big-one.mp4 -o rt.mp4 -V but fails for unknown reason: RTMPDump v2.3 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL DEBUG: Protocol : RTMP DEBUG: Hostname : s21hgu5r2yq4zz.cloudfront.net DEBUG: Port : 1935 DEBUG: Playpath : mp4:webinars/how-to-trade-a-small-account-and-turn-it-into-a-big-one.mp4 DEBUG: tcUrl : rtmp://s21hgu5r2yq4zz.cloudfront.net:1935/cfx/st DEBUG: swfUrl : http://d1hv2fpv2exxoo.cloudfront.net/CloudPlayerPro.streaming.swf DEBUG: pageUrl : http://www.rockwelltrading.com/webinar/how-to-trade-a-small-account/ DEBUG: app : cfx/st DEBUG: flashVer : MAC 11.6.602.171 DEBUG: live : no DEBUG: timeout : 30 sec DEBUG: SWFSHA256: DEBUG: 7e 78 9e d9 21 bb 57 2c 12 2a b8 d4 cf fc a1 4d DEBUG: 73 2a 44 61 f6 78 38 9b e0 8b d2 ca e8 e0 64 55 DEBUG: SWFSize : 9388 DEBUG: Setting buffer time to: 36000000ms Connecting ... DEBUG: RTMP_Connect1, ... connected, handshaking DEBUG: HandShake: Client type: 03 DEBUG: HandShake: Client digest offset: 244 DEBUG: HandShake: Initial client digest: DEBUG: 0a 6f 4e fd d5 ab f4 61 72 67 ac 13 d7 89 84 68 DEBUG: 9a ec 03 0a 92 14 e4 c5 aa 6d ce 0d a1 d7 95 0c DEBUG: HandShake: Type Answer : 03 DEBUG: HandShake: Server Uptime : 150978592 DEBUG: HandShake: FMS Version : 3.5.7.1 DEBUG: HandShake: Calculated digest key from secure key and server digest: DEBUG: 1c b8 27 49 23 a4 4d eb 65 00 84 8c 70 39 b7 72 DEBUG: 91 c2 47 1b 0c 25 76 17 82 07 66 c1 2a 88 c2 c3 DEBUG: HandShake: Client signature calculated: DEBUG: f5 c5 c0 7f 3c 48 ae c5 d6 d2 56 cb 6c d8 7f 59 DEBUG: 74 24 40 bd 79 94 84 40 42 a4 c6 02 10 c0 c9 03 DEBUG: HandShake: Server sent signature: DEBUG: 93 a8 5b 0c 21 09 00 ee 3a 3f 15 d0 82 95 9e 70 DEBUG: 38 ae 40 aa 00 e2 aa d2 11 0f 8d 25 47 ef 25 cf DEBUG: HandShake: Digest key: DEBUG: 66 16 fa 65 76 57 57 77 1c bd a1 df 71 5e 28 5f DEBUG: 62 e6 82 22 7e 98 5a 68 48 57 c6 9f 4c bb df 9c DEBUG: HandShake: Signature calculated: DEBUG: 93 a8 5b 0c 21 09 00 ee 3a 3f 15 d0 82 95 9e 70 DEBUG: 38 ae 40 aa 00 e2 aa d2 11 0f 8d 25 47 ef 25 cf DEBUG: HandShake: Genuine Adobe Flash Media Server DEBUG: HandShake: Handshaking finished.... DEBUG: RTMP_Connect1, handshaked DEBUG: Invoking connect INFO: Connected... DEBUG: HandleServerBW: server BW = 1310720 DEBUG: HandleClientBW: client BW = 2500000 2 DEBUG: RTMP_ClientPacket, received: invoke 242 bytes DEBUG: (object begin) DEBUG: (object begin) DEBUG: Property: DEBUG: Property: DEBUG: Property: DEBUG: (object end) DEBUG: (object begin) DEBUG: Property: DEBUG: Property: DEBUG: Property: DEBUG: Property: DEBUG: Property: DEBUG: (object begin) DEBUG: Property: DEBUG: (object end) DEBUG: (object end) DEBUG: (object end) DEBUG: HandleInvoke, server invoking <_result> DEBUG: HandleInvoke, received result for method call DEBUG: sending ctrl. type: 0x0003 DEBUG: Invoking createStream DEBUG: RTMP_ClientPacket, received: invoke 21 bytes DEBUG: (object begin) DEBUG: Property: NULL DEBUG: (object end) DEBUG: HandleInvoke, server invoking DEBUG: Invoking _checkbw 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 DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: mp4:webinars/how-to-trade-a-small-account-and-turn-it-into-a-big-one.mp4 DEBUG: Invoking play DEBUG: sending ctrl. type: 0x0003 DEBUG: RTMP_ClientPacket, received: invoke 16419 bytes DEBUG: (object begin) DEBUG: Property: NULL DEBUG: (object end) DEBUG: HandleInvoke, server invoking <_onbwcheck> DEBUG: Invoking _result DEBUG: RTMP_ClientPacket, received: invoke 133 bytes DEBUG: (object begin) DEBUG: Property: NULL DEBUG: (object begin) DEBUG: Property: DEBUG: Property: DEBUG: Property: DEBUG: Property: DEBUG: (object end) DEBUG: (object end) DEBUG: HandleInvoke, server invoking DEBUG: HandleInvoke, onStatus: NetStream.Failed ERROR: Closing connection: NetStream.Failed DEBUG: Closing connection. I have also tried different variants without switches -p -a -f -r without playpath, but everything fails and I dont see any explanation in the log does it have to do with escaped var signCloudPlayer87112? would you please try yourself and help? thanks a lot in advance Radoslav -------------- next part -------------- An HTML attachment was scrubbed... URL: From nhjm449 at gmail.com Sun Mar 10 02:35:15 2013 From: nhjm449 at gmail.com (NhJm) Date: Sat, 9 Mar 2013 19:35:15 -0600 Subject: [rtmpdump] dumping stream fails without explanation in log In-Reply-To: References: Message-ID: On Thu, Mar 7, 2013 at 6:01 AM, Radoslav Hor?k wrote: > hi guys, > > would you please help? I'm trying to save rtmp stream that is embeded in > this page > http://www.rockwelltrading.com/webinar/how-to-trade-a-small-account/ The playpath is what needs to have the query parameters. rtmpdump -r "rtmp://s21hgu5r2yq4zz.cloudfront.net/cfx/st/mp4:webinars/how-to-trade-a-small-account-and-turn-it-into-a-big-one.mp4" -a cfx/st -y "mp4:webinars/how-to-trade-a-small-account-and-turn-it-into-a-big-one.mp4?Expires=1234&Signature=abc&Key-Pair-Id=def" -o how-to-trade-a-small-account-and-turn-it-into-a-big-one.f4v It is also advised that you use the most-current version of rtmpdump, not v2.3. From fjyaniez at gmail.com Mon Mar 11 10:14:49 2013 From: fjyaniez at gmail.com (=?iso-8859-1?Q?Francis_Y=E1=F1ez?=) Date: Mon, 11 Mar 2013 10:14:49 +0100 Subject: [rtmpdump] "--stop X" parameter not working Message-ID: <0416C3BF-DEC6-41E7-A8F3-CD6F3AE754CD@gmail.com> Hello, I'm triying to partially download a mp4 file though a rtmp stream (server by nginx-rtmp-module) so I can generate a thumbnail without downloading the entire file. This is my test: $ rtmpdump -B 0.01 -r rtmp://video2.tercermilenio.tv/vod/mp4:449-1.mp4 -o test.flv When I run the previous command, rtmpdump output includes: "For duration: 0.010 sec" But it never stops, always downloads 100% of the file. I also tried using the "-v" switch and another stop values, running version 2.3 or current 2.4... with no success. What could be the problem? Thank you. Francis Y??ez -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastian.holmqvist at gmail.com Tue Mar 19 18:44:52 2013 From: sebastian.holmqvist at gmail.com (Sebastian Holmqvist) Date: Tue, 19 Mar 2013 18:44:52 +0100 Subject: [rtmpdump] Build error cross compiling on Mac OS X 10.8 Message-ID: <47B8B653-580D-4D2F-BA74-7E4A762FF328@gmail.com> Greetings! I'm attempting to cross-compile for ARM on my OS X machine and keep running into problems. I've included the cross-compiler i PATH, set the prefix and disabled shared libs. I downloaded a tarball directly from Git. It seems as if it finds all the files, but there's a linkage error somewhere. Neither OPENSSL, POLARSSL nor GNUTLS makes it past the initial compile-stage. I've even tried cross-compiling both ZLIB, POLARSSL and OPENSSL prior to including them but with the same results. Any ideas? I'm all out... export PATH=/Volumes/CrosstoolCompile/x-tools/arm-unknown-linux-gnueabi/bin:$PATH export PREFIX=/Volumes/CrosstoolCompile/x-tools/arm-unknown-linux-gnueabi export LDFLAGS="-L/usr/local/lib" export CPPFLAGS="-I/usr/local/include" export XLDFLAGS="$LDFLAGS -L$PREFIX/lib" export XCFLAGS="$CPPFLAGS -I$PREFIX/include" $ make prefix=$PREFIX CROSS_COMPILE=arm-unknown-linux-gnueabi- SHARED= arm-unknown-linux-gnueabi-gcc -Wall -I/usr/local/include -I/Volumes/CrosstoolCompile/x-tools/arm-unknown-linux-gnueabi/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -O2 -I/usr/local/include -c -o rtmp.o rtmp.c rtmp.c: In function 'RTMP_ReadPacket': rtmp.c:3563:7: warning: variable 'didAlloc' set but not used [-Wunused-but-set-variable] arm-unknown-linux-gnueabi-gcc -Wall -I/usr/local/include -I/Volumes/CrosstoolCompile/x-tools/arm-unknown-linux-gnueabi/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -O2 -I/usr/local/include -c -o log.o log.c arm-unknown-linux-gnueabi-gcc -Wall -I/usr/local/include -I/Volumes/CrosstoolCompile/x-tools/arm-unknown-linux-gnueabi/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -O2 -I/usr/local/include -c -o amf.o amf.c arm-unknown-linux-gnueabi-gcc -Wall -I/usr/local/include -I/Volumes/CrosstoolCompile/x-tools/arm-unknown-linux-gnueabi/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -O2 -I/usr/local/include -c -o hashswf.o hashswf.c arm-unknown-linux-gnueabi-gcc -Wall -I/usr/local/include -I/Volumes/CrosstoolCompile/x-tools/arm-unknown-linux-gnueabi/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -O2 -I/usr/local/include -c -o parseurl.o parseurl.c arm-unknown-linux-gnueabi-ar rs librtmp.a rtmp.o log.o amf.o hashswf.o parseurl.o arm-unknown-linux-gnueabi-ar: creating librtmp.a arm-unknown-linux-gnueabi-gcc -Wall -I/usr/local/include -I/Volumes/CrosstoolCompile/x-tools/arm-unknown-linux-gnueabi/include -DRTMPDUMP_VERSION=\"v2.4\" -O2 -I/usr/local/include -c -o rtmpdump.o rtmpdump.c arm-unknown-linux-gnueabi-gcc -Wall -L/usr/local/lib -L/Volumes/CrosstoolCompile/x-tools/arm-unknown-linux-gnueabi/lib -o rtmpdump rtmpdump.o -Llibrtmp -lrtmp -lssl -lcrypto -lz librtmp/librtmp.a(rtmp.o): In function `isValidPublicKey': rtmp.c:(.text+0x47c): undefined reference to `BN_new' rtmp.c:(.text+0x48c): undefined reference to `BN_set_word' rtmp.c:(.text+0x498): undefined reference to `BN_cmp' rtmp.c:(.text+0x4ac): undefined reference to `BN_copy' rtmp.c:(.text+0x4b8): undefined reference to `BN_sub_word' rtmp.c:(.text+0x4c4): undefined reference to `BN_cmp' rtmp.c:(.text+0x4d8): undefined reference to `BN_CTX_new' rtmp.c:(.text+0x4f4): undefined reference to `BN_mod_exp' rtmp.c:(.text+0x4fc): undefined reference to `BN_CTX_free' rtmp.c:(.text+0x500): undefined reference to `BN_value_one' rtmp.c:(.text+0x50c): undefined reference to `BN_cmp' rtmp.c:(.text+0x52c): undefined reference to `BN_free' librtmp/librtmp.a(rtmp.o): In function `DHGenerateKey': rtmp.c:(.text+0x5c4): undefined reference to `DH_generate_key' rtmp.c:(.text+0x5d8): undefined reference to `BN_hex2bn' rtmp.c:(.text+0x600): undefined reference to `BN_free' rtmp.c:(.text+0x614): undefined reference to `BN_free' rtmp.c:(.text+0x61c): undefined reference to `BN_free' rtmp.c:(.text+0x62c): undefined reference to `BN_free' librtmp/librtmp.a(rtmp.o): In function `InitRC4Encryption': rtmp.c:(.text+0x6a4): undefined reference to `HMAC_CTX_init' rtmp.c:(.text+0x6a8): undefined reference to `EVP_sha256' rtmp.c:(.text+0x6c0): undefined reference to `HMAC_Init_ex' rtmp.c:(.text+0x6d0): undefined reference to `HMAC_Update' rtmp.c:(.text+0x6e0): undefined reference to `HMAC_Final' rtmp.c:(.text+0x6e8): undefined reference to `HMAC_CTX_cleanup' rtmp.c:(.text+0x714): undefined reference to `RC4_set_key' rtmp.c:(.text+0x71c): undefined reference to `HMAC_CTX_init' rtmp.c:(.text+0x720): undefined reference to `EVP_sha256' rtmp.c:(.text+0x738): undefined reference to `HMAC_Init_ex' rtmp.c:(.text+0x748): undefined reference to `HMAC_Update' rtmp.c:(.text+0x758): undefined reference to `HMAC_Final' rtmp.c:(.text+0x760): undefined reference to `HMAC_CTX_cleanup' rtmp.c:(.text+0x78c): undefined reference to `RC4_set_key' librtmp/librtmp.a(rtmp.o): In function `HMACsha256': rtmp.c:(.text+0x9e4): undefined reference to `HMAC_CTX_init' rtmp.c:(.text+0x9e8): undefined reference to `EVP_sha256' rtmp.c:(.text+0xa04): undefined reference to `HMAC_Init_ex' rtmp.c:(.text+0xa14): undefined reference to `HMAC_Update' rtmp.c:(.text+0xa24): undefined reference to `HMAC_Final' rtmp.c:(.text+0xa2c): undefined reference to `HMAC_CTX_cleanup' librtmp/librtmp.a(rtmp.o): In function `b64enc.isra.7': rtmp.c:(.text+0xbe0): undefined reference to `BIO_f_base64' rtmp.c:(.text+0xbe4): undefined reference to `BIO_new' rtmp.c:(.text+0xbec): undefined reference to `BIO_s_mem' rtmp.c:(.text+0xbf0): undefined reference to `BIO_new' rtmp.c:(.text+0xbfc): undefined reference to `BIO_push' rtmp.c:(.text+0xc0c): undefined reference to `BIO_write' rtmp.c:(.text+0xc20): undefined reference to `BIO_ctrl' rtmp.c:(.text+0xc5c): undefined reference to `BIO_ctrl' rtmp.c:(.text+0xc8c): undefined reference to `BIO_free_all' librtmp/librtmp.a(rtmp.o): In function `DHComputeSharedSecretKey.constprop.13': rtmp.c:(.text+0xef0): undefined reference to `BN_bin2bn' rtmp.c:(.text+0xf04): undefined reference to `BN_hex2bn' rtmp.c:(.text+0xf30): undefined reference to `BN_free' rtmp.c:(.text+0xf38): undefined reference to `BN_free' rtmp.c:(.text+0xf54): undefined reference to `DH_compute_key' librtmp/librtmp.a(rtmp.o): In function `DHGetPublicKey.constprop.14': rtmp.c:(.text+0xfac): undefined reference to `BN_num_bits' rtmp.c:(.text+0xff0): undefined reference to `BN_bn2bin' librtmp/librtmp.a(rtmp.o): In function `DHInit.constprop.15': rtmp.c:(.text+0x1000): undefined reference to `DH_new' rtmp.c:(.text+0x100c): undefined reference to `BN_new' rtmp.c:(.text+0x1024): undefined reference to `BN_hex2bn' rtmp.c:(.text+0x1034): undefined reference to `DH_free' rtmp.c:(.text+0x104c): undefined reference to `BN_set_word' librtmp/librtmp.a(rtmp.o): In function `RTMP_TLS_Init': rtmp.c:(.text+0x11a4): undefined reference to `SSL_load_error_strings' rtmp.c:(.text+0x11a8): undefined reference to `SSL_library_init' rtmp.c:(.text+0x11ac): undefined reference to `OpenSSL_add_all_digests' rtmp.c:(.text+0x11b0): undefined reference to `SSLv23_method' rtmp.c:(.text+0x11b4): undefined reference to `SSL_CTX_new' rtmp.c:(.text+0x11cc): undefined reference to `SSL_CTX_ctrl' rtmp.c:(.text+0x11d8): undefined reference to `SSL_CTX_set_default_verify_paths' librtmp/librtmp.a(rtmp.o): In function `RTMP_TLS_AllocServerContext': rtmp.c:(.text+0x1200): undefined reference to `SSLv23_server_method' rtmp.c:(.text+0x1204): undefined reference to `SSL_CTX_new' rtmp.c:(.text+0x1210): undefined reference to `SSL_CTX_use_certificate_chain_file' rtmp.c:(.text+0x1228): undefined reference to `SSL_CTX_use_PrivateKey_file' rtmp.c:(.text+0x1244): undefined reference to `SSL_CTX_free' librtmp/librtmp.a(rtmp.o): In function `RTMP_TLS_FreeServerContext': rtmp.c:(.text+0x125c): undefined reference to `SSL_CTX_free' librtmp/librtmp.a(rtmp.o): In function `RTMP_TLS_Accept': rtmp.c:(.text+0x20ac): undefined reference to `SSL_new' rtmp.c:(.text+0x20bc): undefined reference to `SSL_set_fd' rtmp.c:(.text+0x20c4): undefined reference to `SSL_accept' librtmp/librtmp.a(rtmp.o): In function `RTMPSockBuf_Fill': rtmp.c:(.text+0x2410): undefined reference to `SSL_read' librtmp/librtmp.a(rtmp.o): In function `RTMPSockBuf_Send': rtmp.c:(.text+0x2684): undefined reference to `SSL_write' librtmp/librtmp.a(rtmp.o): In function `RTMPSockBuf_Close': rtmp.c:(.text+0x2774): undefined reference to `SSL_shutdown' rtmp.c:(.text+0x277c): undefined reference to `SSL_free' librtmp/librtmp.a(rtmp.o): In function `RTMP_Close': rtmp.c:(.text+0x2a00): undefined reference to `DH_free' librtmp/librtmp.a(rtmp.o): In function `WriteN': rtmp.c:(.text+0x2b2c): undefined reference to `RC4' librtmp/librtmp.a(rtmp.o): In function `ReadN': rtmp.c:(.text+0x4144): undefined reference to `RC4' librtmp/librtmp.a(rtmp.o): In function `SHandShake': rtmp.c:(.text+0x4a88): undefined reference to `RC4' rtmp.c:(.text+0x4aac): undefined reference to `RC4' librtmp/librtmp.a(rtmp.o): In function `HandShake.isra.9': rtmp.c:(.text+0x57b0): undefined reference to `RC4' librtmp/librtmp.a(rtmp.o):rtmp.c:(.text+0x57d4): more undefined references to `RC4' follow librtmp/librtmp.a(rtmp.o): In function `RTMP_Connect1': rtmp.c:(.text+0x5cbc): undefined reference to `SSL_new' rtmp.c:(.text+0x5cc8): undefined reference to `SSL_set_fd' rtmp.c:(.text+0x5cd0): undefined reference to `SSL_connect' librtmp/librtmp.a(rtmp.o): In function `HandleInvoke.part.10': rtmp.c:(.text+0x79b8): undefined reference to `MD5_Init' rtmp.c:(.text+0x79cc): undefined reference to `MD5_Update' rtmp.c:(.text+0x79e0): undefined reference to `MD5_Update' rtmp.c:(.text+0x79fc): undefined reference to `MD5_Update' rtmp.c:(.text+0x7a08): undefined reference to `MD5_Final' rtmp.c:(.text+0x7a94): undefined reference to `MD5_Init' rtmp.c:(.text+0x7aa4): undefined reference to `MD5_Update' rtmp.c:(.text+0x7ad0): undefined reference to `MD5_Update' rtmp.c:(.text+0x7adc): undefined reference to `MD5_Final' rtmp.c:(.text+0x7da0): undefined reference to `MD5_Update' rtmp.c:(.text+0x7db8): undefined reference to `MD5_Update' rtmp.c:(.text+0x7dc8): undefined reference to `MD5_Update' rtmp.c:(.text+0x7dd4): undefined reference to `MD5_Final' rtmp.c:(.text+0x7f88): undefined reference to `MD5_Init' rtmp.c:(.text+0x7fa8): undefined reference to `MD5_Update' rtmp.c:(.text+0x7fb8): undefined reference to `MD5_Update' rtmp.c:(.text+0x7fc8): undefined reference to `MD5_Update' rtmp.c:(.text+0x7fd8): undefined reference to `MD5_Update' rtmp.c:(.text+0x7ff8): undefined reference to `MD5_Update' rtmp.c:(.text+0x8004): undefined reference to `MD5_Final' rtmp.c:(.text+0x807c): undefined reference to `MD5_Init' rtmp.c:(.text+0x808c): undefined reference to `MD5_Update' rtmp.c:(.text+0x809c): undefined reference to `MD5_Update' rtmp.c:(.text+0x80b4): undefined reference to `MD5_Update' rtmp.c:(.text+0x80c0): undefined reference to `MD5_Final' rtmp.c:(.text+0x8108): undefined reference to `MD5_Init' rtmp.c:(.text+0x8118): undefined reference to `MD5_Update' rtmp.c:(.text+0x8128): undefined reference to `MD5_Update' rtmp.c:(.text+0x8144): undefined reference to `MD5_Update' rtmp.c:(.text+0x8154): undefined reference to `MD5_Update' rtmp.c:(.text+0x8164): undefined reference to `MD5_Update' librtmp/librtmp.a(rtmp.o):rtmp.c:(.text+0x8174): more undefined references to `MD5_Update' follow librtmp/librtmp.a(rtmp.o): In function `HandleInvoke.part.10': rtmp.c:(.text+0x81d0): undefined reference to `MD5_Final' librtmp/librtmp.a(hashswf.o): In function `swfcrunch': hashswf.c:(.text+0x5c): undefined reference to `HMAC_Update' hashswf.c:(.text+0x98): undefined reference to `inflate' hashswf.c:(.text+0xbc): undefined reference to `HMAC_Update' hashswf.c:(.text+0x108): undefined reference to `HMAC_Update' librtmp/librtmp.a(hashswf.o): In function `HTTP_get': hashswf.c:(.text+0x340): undefined reference to `SSL_new' hashswf.c:(.text+0x358): undefined reference to `SSL_set_fd' hashswf.c:(.text+0x364): undefined reference to `SSL_connect' librtmp/librtmp.a(hashswf.o): In function `RTMP_HashSWF': hashswf.c:(.text+0xa7c): undefined reference to `HMAC_CTX_init' hashswf.c:(.text+0xa80): undefined reference to `EVP_sha256' hashswf.c:(.text+0xa9c): undefined reference to `HMAC_Init_ex' hashswf.c:(.text+0xaac): undefined reference to `inflateInit_' hashswf.c:(.text+0xafc): undefined reference to `inflateEnd' hashswf.c:(.text+0xb3c): undefined reference to `HMAC_CTX_cleanup' hashswf.c:(.text+0xea4): undefined reference to `HMAC_Final' collect2: error: ld returned 1 exit status make: *** [rtmpdump] Error 1 -- Sebastian Holmqvist -------------- next part -------------- An HTML attachment was scrubbed... URL: From fjyaniez at gmail.com Tue Mar 19 20:31:55 2013 From: fjyaniez at gmail.com (=?ISO-8859-1?Q?Francis_Y=E1=F1ez?=) Date: Tue, 19 Mar 2013 20:31:55 +0100 Subject: [rtmpdump] "--stop" param not working Message-ID: Hello, I'm triying to partially download a mp4 file though a rtmp stream (server by nginx-rtmp-module) so I can generate a thumbnail without downloading the entire file. This is my test: $ rtmpdump -B 0.01 -r rtmp://video2.tercermilenio.tv/vod/mp4:449-1.mp4 -o test.flv When I run the previous command, rtmpdump output includes: "For duration: 0.010 sec" But it never stops, always downloads 100% of the file. I also tried using the "-v" switch and another stop values, running version 2.3 or current 2.4... with no success. What could be the problem? Thank you. From nhjm449 at gmail.com Tue Mar 26 02:07:10 2013 From: nhjm449 at gmail.com (NhJm) Date: Mon, 25 Mar 2013 20:07:10 -0500 Subject: [rtmpdump] "--stop" param not working In-Reply-To: References: Message-ID: It looks like nginx-rtmp-module does not honor the duration parameter of play(). You should probably talk to the maintainer of nginx-rtmp-module about this. :) On Tue, Mar 19, 2013 at 2:31 PM, Francis Y??ez wrote: > Hello, > > I'm triying to partially download a mp4 file though a rtmp stream > (server by nginx-rtmp-module) so I can generate a thumbnail without > downloading the entire file. > > This is my test: > > $ rtmpdump -B 0.01 -r rtmp://video2.tercermilenio.tv/vod/mp4:449-1.mp4 > -o test.flv > > When I run the previous command, rtmpdump output includes: > > "For duration: 0.010 sec" > > But it never stops, always downloads 100% of the file. I also tried > using the "-v" switch and another stop values, running version 2.3 or > current 2.4... with no success. What could be the problem? > > Thank you. > _______________________________________________ > rtmpdump mailing list > rtmpdump at mplayerhq.hu > https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump From fjyaniez at gmail.com Tue Mar 26 10:38:38 2013 From: fjyaniez at gmail.com (=?iso-8859-1?Q?Francis_Y=E1=F1ez?=) Date: Tue, 26 Mar 2013 10:38:38 +0100 Subject: [rtmpdump] "--stop" param not working In-Reply-To: References: Message-ID: <12C3F158-C1E8-4CB8-89D7-019E5B14392D@gmail.com> I would like to give more information to nginx-rtmp-module maintainer, so I used wireshark to capture the communication: $ rtmpdump -B 0.01 -r rtmp://video2.tercermilenio.tv/vod/mp4:449-1.250-360.mp4 103 1.577491000 192.168.1.90 SERVER RTMP 163 Handshake C0+C1 128 1.812334000 192.168.1.90 SERVER RTMP 162 Handshake C2 145 2.022642000 SERVER 192.168.1.90 RTMP 162 Handshake S0+S1+S2 148 2.022976000 192.168.1.90 SERVER RTMP 148 connect('vod') 163 2.266173000 SERVER 192.168.1.90 RTMP 82 Window Acknowledgement Size 5000000 181 2.474262000 SERVER 192.168.1.90 RTMP 301 Set Peer Bandwidth 5000000,Dynamic | Set Chunk Size 4096 | _result('NetConnection.Connect.Success') 183 2.474912000 192.168.1.90 SERVER RTMP 82 Window Acknowledgement Size 5000000 184 2.474914000 192.168.1.90 SERVER RTMP 84 Set Buffer Length 0,300ms 185 2.474915000 192.168.1.90 SERVER RTMP 99 createStream() 199 2.709950000 SERVER 192.168.1.90 RTMP 107 _result() 201 2.710364000 192.168.1.90 SERVER RTMP 137 play('mp4:449-1.250-360.mp4') 202 2.710389000 192.168.1.90 SERVER RTMP 77 Set Buffer Length 1,36000000ms 215 2.920354000 SERVER 192.168.1.90 RTMP 84 Stream Begin 1 217 2.945028000 SERVER 192.168.1.90 RTMP 1506 onStatus('NetStream.Play.Start') | Stream Is Recorded 1 | onMetaData() | Video Data | Audio Data 228 2.954073000 SERVER 192.168.1.90 RTMP 1506 Video Data 230 2.955202000 SERVER 192.168.1.90 RTMP 1506 Audio Data | Video Data | Audio Data | Video Data | Audio Data | Video Data | Audio Data | Video Data | Audio Data | Video Data ? Where does rtmpdump indicate the duration parameter? Thank you, Francis Y??ez El 26/03/2013, a las 02:07, NhJm escribi?: > It looks like nginx-rtmp-module does not honor the duration parameter of play(). > > You should probably talk to the maintainer of nginx-rtmp-module about this. :) > > On Tue, Mar 19, 2013 at 2:31 PM, Francis Y??ez wrote: >> Hello, >> >> I'm triying to partially download a mp4 file though a rtmp stream >> (server by nginx-rtmp-module) so I can generate a thumbnail without >> downloading the entire file. >> >> This is my test: >> >> $ rtmpdump -B 0.01 -r rtmp://video2.tercermilenio.tv/vod/mp4:449-1.mp4 >> -o test.flv >> >> When I run the previous command, rtmpdump output includes: >> >> "For duration: 0.010 sec" >> >> But it never stops, always downloads 100% of the file. I also tried >> using the "-v" switch and another stop values, running version 2.3 or >> current 2.4... with no success. What could be the problem? >> >> Thank you. >> _______________________________________________ >> rtmpdump mailing list >> rtmpdump at mplayerhq.hu >> https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump > _______________________________________________ > rtmpdump mailing list > rtmpdump at mplayerhq.hu > https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump -------------- next part -------------- An HTML attachment was scrubbed... URL: From nhjm449 at gmail.com Wed Mar 27 16:48:17 2013 From: nhjm449 at gmail.com (NhJm) Date: Wed, 27 Mar 2013 10:48:17 -0500 Subject: [rtmpdump] "--stop" param not working In-Reply-To: <12C3F158-C1E8-4CB8-89D7-019E5B14392D@gmail.com> References: <12C3F158-C1E8-4CB8-89D7-019E5B14392D@gmail.com> Message-ID: rtmpdump sends play(path, start, duration). You'd need to view the details of the packet in Wireshark to see the start/duration. nginx-rtmp-module is probably already storing the value in ngx_rtmp_play_t.duration but not using it. On Tue, Mar 26, 2013 at 4:38 AM, Francis Y??ez wrote: > I would like to give more information to nginx-rtmp-module maintainer, so I > used wireshark to capture the communication: > > $ rtmpdump -B 0.01 -r > rtmp://video2.tercermilenio.tv/vod/mp4:449-1.250-360.mp4 > > 103 1.577491000 192.168.1.90 SERVER RTMP 163 Handshake C0+C1 > 128 1.812334000 192.168.1.90 SERVER RTMP 162 Handshake C2 > > 145 2.022642000 SERVER 192.168.1.90 RTMP 162 Handshake S0+S1+S2 > > 148 2.022976000 192.168.1.90 SERVER RTMP 148 connect('vod') > > 163 2.266173000 SERVER 192.168.1.90 RTMP 82 Window Acknowledgement Size > 5000000 > 181 2.474262000 SERVER 192.168.1.90 RTMP 301 Set Peer Bandwidth > 5000000,Dynamic | Set Chunk Size 4096 | > _result('NetConnection.Connect.Success') > > 183 2.474912000 192.168.1.90 SERVER RTMP 82 Window Acknowledgement Size > 5000000 > 184 2.474914000 192.168.1.90 SERVER RTMP 84 Set Buffer Length 0,300ms > 185 2.474915000 192.168.1.90 SERVER RTMP 99 createStream() > > 199 2.709950000 SERVER 192.168.1.90 RTMP 107 _result() > > 201 2.710364000 192.168.1.90 SERVER RTMP 137 play('mp4:449-1.250-360.mp4') > 202 2.710389000 192.168.1.90 SERVER RTMP 77 Set Buffer Length 1,36000000ms > > 215 2.920354000 SERVER 192.168.1.90 RTMP 84 Stream Begin 1 > 217 2.945028000 SERVER 192.168.1.90 RTMP 1506 > onStatus('NetStream.Play.Start') | Stream Is Recorded 1 | onMetaData() | > Video Data | Audio Data > 228 2.954073000 SERVER 192.168.1.90 RTMP 1506 Video Data > 230 2.955202000 SERVER 192.168.1.90 RTMP 1506 Audio Data | Video Data | > Audio Data | Video Data | Audio Data | Video Data | Audio Data | Video Data > | Audio Data | Video Data > ? > > Where does rtmpdump indicate the duration parameter? > > Thank you, > > Francis Y??ez > > El 26/03/2013, a las 02:07, NhJm escribi?: > > It looks like nginx-rtmp-module does not honor the duration parameter of > play(). > > You should probably talk to the maintainer of nginx-rtmp-module about this. > :) > > On Tue, Mar 19, 2013 at 2:31 PM, Francis Y??ez wrote: > > Hello, > > I'm triying to partially download a mp4 file though a rtmp stream > (server by nginx-rtmp-module) so I can generate a thumbnail without > downloading the entire file. > > This is my test: > > $ rtmpdump -B 0.01 -r rtmp://video2.tercermilenio.tv/vod/mp4:449-1.mp4 > -o test.flv > > When I run the previous command, rtmpdump output includes: > > "For duration: 0.010 sec" > > But it never stops, always downloads 100% of the file. I also tried > using the "-v" switch and another stop values, running version 2.3 or > current 2.4... with no success. What could be the problem? > > Thank you. > _______________________________________________ > rtmpdump mailing list > rtmpdump at mplayerhq.hu > https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump > > _______________________________________________ > rtmpdump mailing list > rtmpdump at mplayerhq.hu > https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump > > > > _______________________________________________ > rtmpdump mailing list > rtmpdump at mplayerhq.hu > https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump >