Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#11
|
|||
|
|||
Re: Compile RTMPdump for Windows with HTTP-Proxy support by applying a patchRtmpDump 2.4 448
HTTP proxy support This is not tested so I could use some feedback if it actually works. If I get good feedback I will merge it into the master branch. github.com/svnpenn/rtmpdump/downloads |
#12
|
|||
|
|||
Re: Compile RTMPdump for Windows with HTTP-Proxy support by applying a patchi doubt that this patch gonna work properly. though i haven't tested it personally but looking at the code it seems incomplete.
|
#13
|
|||
|
|||
Re: Compile RTMPdump for Windows with HTTP-Proxy support by applying a patchOk, I want to try now rtmpdump with HTTP-Proxy but I already fail at the easy part.
I want to record this stream, which works only if you have an IP from Switzerland Code:
-v -r rtmp://cp108341.live.edgefcs.net/live/pro7_1_800@43051 --swfsize 927444 --swfhash 6c1be1765187eae0bc9af07d858fae59a0effd3c5b803d08db261ced2c5512bb -o "stream.flv" (The stream, proxy and the rtmpdump parameters work perfectly) Readme says I have to use the http_proxy environment variable How can I do that? BTW: Thanks svnpenn for your work. I see you invested much time for this |
#14
|
|||
|
|||
Re: Compile RTMPdump for Windows with HTTP-Proxy support by applying a patchin you cmd window use this cmd first:
Code:
set http_proxy=proxy:port |
#15
|
|||
|
|||
Re: Compile RTMPdump for Windows with HTTP-Proxy support by applying a patchwith cmd.exe
wikipedia.org/wiki/Environment_variable#DOS.2C_OS.2F2_and_Windows_.28 Command_Prompt.29 with sh.exe or bash.exe wikipedia.org/wiki/Environment_variable#Unexported_variables |
#16
|
|||
|
|||
Re: Compile RTMPdump for Windows with HTTP-Proxy support by applying a patchI tried like you told me but I get 'handshake failed'. Did you actually get it to work? Do I have to pay attention to something else?
|
#17
|
|||
|
|||
Re: Compile RTMPdump for Windows with HTTP-Proxy support by applying a patchHow do I compile this under Windows?
I am using MinGW C:\svnpenn-rtmpdump-30cf8a8>mingw32-make The system cannot find the path specified. mingw32-make: *** [librtmp/librtmp.a] Error 1 Then when I go into the librtmp folder and make: C:\svnpenn-rtmpdump-30cf8a8\librtmp>mingw32-make gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -O2 -fPIC -c -o rtmp.o rtmp.c rtmp.c:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default] rtmp.c:40:25: fatal error: openssl/ssl.h: No such file or directory compilation terminated. mingw32-make: *** [rtmp.o] Error 1 |
#18
|
|||
|
|||
Re: Compile RTMPdump for Windows with HTTP-Proxy support by applying a patchQuote:
Code:
git clone git://github.com/aajanki/rtmpdump.git cd rtmpdump git checkout http-proxy In addition I would suggest switching to Cygwin. Cygwin can compile native Windows binaries just like MinGW, and has Bash 4 where MinGW is still using Bash 3. |
#19
|
|||
|
|||
Re: Compile RTMPdump for Windows with HTTP-Proxy support by applying a patchI did the following
Code:
git clone git://github.com/aajanki/rtmpdump.git cd rtmpdump git checkout http-proxy Code:
make Code:
set HTTP_PROXY=http://proxy:port |
#20
|
|||
|
|||
Re: Compile RTMPdump for Windows with HTTP-Proxy support by applying a patchQuote:
|
Tags: patch, proxy, rtmpdump, windows |
Thread Tools | |
Display Modes | |
|
|