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
  #11  
Old 02-16-2012, 12:17 AM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: Compile RTMPdump for Windows with HTTP-Proxy support by applying a patch


RtmpDump 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
Reply With Quote
  #12  
Old 02-16-2012, 12:26 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: Compile RTMPdump for Windows with HTTP-Proxy support by applying a patch


i doubt that this patch gonna work properly. though i haven't tested it personally but looking at the code it seems incomplete.
Reply With Quote
  #13  
Old 02-16-2012, 05:28 PM
Sk1px Sk1px is offline
Junior Member
 
Join Date: Feb 2012
Posts: 7
Sk1px is on a distinguished road
Default

Re: Compile RTMPdump for Windows with HTTP-Proxy support by applying a patch


Ok, 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"
now I want that it uses this transparent proxy 46.19.143.93:80
(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
Reply With Quote
  #14  
Old 02-16-2012, 11:43 PM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: Compile RTMPdump for Windows with HTTP-Proxy support by applying a patch


in you cmd window use this cmd first:

Code:
set http_proxy=proxy:port
Reply With Quote
  #15  
Old 02-17-2012, 12:03 AM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: Compile RTMPdump for Windows with HTTP-Proxy support by applying a patch


with 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
Reply With Quote
  #16  
Old 02-18-2012, 07:20 AM
Sk1px Sk1px is offline
Junior Member
 
Join Date: Feb 2012
Posts: 7
Sk1px is on a distinguished road
Default

Re: Compile RTMPdump for Windows with HTTP-Proxy support by applying a patch


I 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?
Reply With Quote
  #17  
Old 06-22-2012, 11:41 AM
enda enda is offline
Member
 
Join Date: Jun 2012
Posts: 32
enda is on a distinguished road
Default

Re: Compile RTMPdump for Windows with HTTP-Proxy support by applying a patch


How 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
Reply With Quote
  #18  
Old 06-22-2012, 04:29 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: Compile RTMPdump for Windows with HTTP-Proxy support by applying a patch


Quote:
Originally Posted by enda
How do I compile this under Windows?

I am using MinGW
If in fact you are wanting the http-proxy branch you are going to need git.

Code:
git clone git://github.com/aajanki/rtmpdump.git
cd rtmpdump
git checkout http-proxy
Edit
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.
Reply With Quote
  #19  
Old 06-29-2012, 02:15 PM
enda enda is offline
Member
 
Join Date: Jun 2012
Posts: 32
enda is on a distinguished road
Default

Re: Compile RTMPdump for Windows with HTTP-Proxy support by applying a patch


I did the following
Code:
git clone git://github.com/aajanki/rtmpdump.git
cd rtmpdump
git checkout http-proxy
and then successfully compiled the program with

Code:
make
I set the http proxy with

Code:
set HTTP_PROXY=http://proxy:port
but when I ran the program, it did not use the HTTP_PROXY.
Reply With Quote
  #20  
Old 06-29-2012, 02:32 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: Compile RTMPdump for Windows with HTTP-Proxy support by applying a patch


Quote:
Originally Posted by enda View Post
I did the following
Code:
git clone git://github.com/aajanki/rtmpdump.git
cd rtmpdump
git checkout http-proxy
and then successfully compiled the program with

Code:
make
I set the http proxy with

Code:
set HTTP_PROXY=http://proxy:port
but when I ran the program, it did not use the HTTP_PROXY.
You may have to mess with the source code. I never actually tested it; just ported it the best I could from that old commit.
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 08:23 PM.


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