jojesh
08-03-2013, 09:59 AM
Can anybody help me to find out the actual issue
I am in linux (OpenSUSE 12.3)
I downloaded the latest rtmpdump source from git clone git://git.ffmpeg.org/rtmpdump
Now am trying to capture the rtmpdump params using the rtmpsrv command. Below are the steps i did
linux-xrry:/home/jojesh # sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT
linux-xrry:/home/jojesh/rtmpdump-rec/rtmpdump # ./rtmpsrv
RTMP Server v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL
Streaming on rtmp://0.0.0.0:1935
Then i strated the browser and visited the http://www.turbotv.in/asianet-movies-live/
but it did not show any thing in the console. Am i doing anything wrong here ??
I tried to follow the link http://stream-recorder.com/forum/use-rtmpdump-rtmpsrv-linux-t7661.html
Please help
freez
08-03-2013, 02:31 PM
i wish i can help , but iam on WINDOWS7 & here is the parameters if u need
rtmpdump -r "rtmp://50.7.128.147/base2" -a "base2" -f "WIN 11,8,800,94" -W "http://www.turbotv.in/wp-content/uploads/jw-player-plugin-for-wordpress/player/player.swf" -p "http://www.turbotv.in/asianet-movies-live/" -y "asia15.stream" -o- | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -
jojesh
08-03-2013, 05:40 PM
@freez
Thanks for you help.
Actually i have the parameters. I used to find it using the Inspector in firefox. But it is hard and for some streams not able to us it.
If somebody can help me to teach how can we get the parameters for rtmpdump it would be a great help.
Thanks
Jojesh
Your going to need KSV's patch i think ?
==========
Compiling with Patch for other systems:
assuming you have all tools (gcc, binutils etc.) and dependencies (OpenSSL, Zlib) installed correctly for your distribution.
1. clone the repository
git clone git://git.ffmpeg.org/rtmpdump
2. copy patch from package to rtmpdump directory and apply it
patch -p0 -i Patch.diff
3. then just compile and install normally
make
sudo make install prefix=/usr
Mac users should add SYS=darwin while compiling. you can also add XLDFLAGS="-s -static" to statically link and strip the resulting binary.
jojesh
08-05-2013, 12:34 AM
i had tried the same with patch. But no output. Tried with different streaming. But it didnt display anything on console. It looks like it is not redirecting. Is there anything wrong in the iptable command?
If it is redirecting will it play the video in the flashplayer? I am still getting the video in the flash player.
Thanks
jojesh
jojesh
08-05-2013, 06:07 AM
Yes, I found the actual problem. Even if i run the iptable command it has no effect as the built in firewall was enabled. When I tried after disabling the built-in firewall the rtmpsrv outputted the rtmpdump command with parameters
thanks to all who had spent time for me.
jojesh
08-12-2013, 03:30 PM
Recently i found a permanent solution for this problem from another thread just updating it here .
Edit /etc/sysconfig/SuSefirewall2
Set FW_LO_NOTRACK="no"
Restart the firewall.
Here is the link to original thread where it is explained in detail
http://stream-recorder.com/forum/rtmpdump-package-opensuse-t16559.html
Hope it will help somebody.
:)
vBulletin® , Copyright ©2000-2025, Jelsoft Enterprises Ltd.