PDA

View Full Version : How to get rtmpdump working with t3licensing.com?


flashy
07-22-2015, 02:52 AM
I'm struggling with some nice videos on the t3licensing.com platform.

Here is an example clip:
http://www.t3licensing.com/license/clip/1411108462_s01.do

What I tried so far:
- using the newest version of rtmpdump from this forum

sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT
./rtmpsrv
sudo iptables -t nat -D OUTPUT -p tcp --dport 1935 -j REDIRECT

When I open the video in firefox during rtmpsrv, I get this message:
RTMP Server v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935

rtmpdump -r "rtmpe://cp111580.edgefcs.net/ondemand/mp4:" -a "ondemand/mp4:" -f "LNX 11,2,202,491" -W "http://www.t3licensing.com/license/etc/TePlayer.swf" -p "http://www.t3licensing.com/license/clip/1411108462_s01.do" -C B:0 -y "tem/warehouse/141/110/846/2/1411108462_s01_lp.f4v" -o "2015-07-22_10-41-52_1411108462_s01_lp.flv"

Closing connection... done!

RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 8
INFO: Connected...
Duplicate request, skipping.
Closing connection... done!

Caught signal: 13, cleaning up, just a second...
ERROR: WriteN, RTMP send error 32 (42 bytes)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header

Using the suggested rtmpdump command, it's not working correctly:
rtmpdump -r "rtmpe://cp111580.edgefcs.net/ondemand/mp4:" -a "ondemand/mp4:" -f "LNX 11,2,202,491" -W "http://www.t3licensing.com/license/etc/TePlayer.swf" -p "http://www.t3licensing.com/license/clip/1411108462_s01.do" -C B:0 -y "tem/warehouse/141/110/846/2/1411108462_s01_lp.f4v" -o "2015-07-22_10-41-52_1411108462_s01_lp.flv"
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 110 (Connection timed out)

Does someone knows to do get this working? I really appreciate any help.

troller12
07-22-2015, 01:52 PM
Hi,
rtmpdump -r "rtmpe://cp111580.edgefcs.net/ondemand/" -y "mp4:/tem/warehouse/141/110/846/2/1411108462_s01_lp.f4v" -o "1411108462_s01_lp.f4v"
or
rtmpdump -r "rtmpe://cp111580.edgefcs.net/ondemand/mp4:/tem/warehouse/141/110/846/2/1411108462_s01_lp.f4v" -o "1411108462_s01_lp.f4v"
greetz

flashy
07-23-2015, 01:53 AM
Hi,
...
greetz

Thanks a lot for your help, troller12!

May I ask one question: Why is the short command working and not the long version suggested from rtmpsrv?

troller12
07-23-2015, 03:30 PM
Hi,

you have to remove mp4: from app paramter and add it to playpath paramter then your long link will also work.If you got your link results by rtmpsrv (I didn't use / test rtmpsrv) as you did post then it was wrong splitted (maybe a bug of rtmpsrv etc).Mostly you just need to execute "url / app / playpath" parameters only and these you can also execute as one rtmp* url string together.Just play a little with that to get some practice and also read the synopsis of rtmpdump parameters so that you can also build strings manually if necessary.

greetz

flashy
07-24-2015, 01:41 AM
Hey troller12,
thanks for your explanations and thanks for your help!

Some weeks before, I used the same method on another site and the rtmpsrv parameters were correct. Therefor, I was wondering this time.

Ok, I will check some other video websites to get familiar with building the rtmpdump links manually.

Cheers