PDA

View Full Version : Dump of mips required


mian.saad111
01-20-2015, 12:24 AM
http://www.playlivenew.com/2010/08/watch-cnn-news-live/

please

I am using below mentioned code for this stream but it say connected and nothing happen.

rtmpdump -r "rtmp://178.162.194.34:1935/live" -a "live" -f "WIN 13,0,0,214" -W "http://www.mipsplayer.com/content/scripts/fplayer.swf" -p "http://www.mipsplayer.com/embedplayer/adasdasdasdsaa/1/600/400" -C S:OK --live -y "adasdasdasdsaa?id=220938" -K "soLagaDaSeStoriAga;TRUE" | ffmpeg -i - -re -isync -vcodec copy -acodec aac -ab 64000 -ar 48000 -ac 2 -strict experimental -f flv "rtmp://9

denobis
01-20-2015, 02:23 AM
gaolVanusPobeleVoKosata

mian.saad111
01-20-2015, 02:36 AM
gaolVanusPobeleVoKosata

Can you please explain. What does it mean?

freez
01-20-2015, 03:25 AM
gaolVanusPobeleVoKosata

thanx , what is -k command for latest sites such ucaster,janjua,ezcast,liveflash..etc & all same clones coz none of them playing only keeps connecting only & no incoming streaming start ?!!! plez help

biezom
01-20-2015, 03:34 AM
gaolVanusPobeleVoKosata

it's the good command but it is not enough

like said freez

@ksv & experts , plez latest rtmpdump needs a -k command? , what is -k command for latest sites such ucaster,janjua,ezcast,liveflash..etc & all same clones coz none of them playing only keeps connecting only & no incoming streaming start ?!!! plez help:confused:

I think they changed something , and it was predictable

even with the correct code, it does not work

http://stream-recorder.com/forum/showpost.php?p=71321&postcount=296

freez
01-20-2015, 03:36 AM
gaolVanusPobeleVoKosata

it is not playing only keep connected

rtmpdump -r "rtmp://46.21.145.234/live" -a "live" -f "WIN 16,0,0,280" -W "http://www.mipsplayer.com/content/scripts/fplayer.swf" -p "http://www.mipsplayer.com/embedplayer/adasdasdasdsaa/1/600/400" -C S:OK --live -y "adasdasdasdsaa?id=220938" -K "gaolVanusPobeleVoKosata;TRUE" -o- | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -

i am using ur file & latest ksv file any new files is there , plez what is correct parameters?

freez
01-20-2015, 03:39 AM
it's the good command but it is not enough

like said freez



I think they changed something , and it was predictable

even with the correct code, it does not work

http://stream-recorder.com/forum/showpost.php?p=71321&postcount=296

ooops OMG!!! :confused: ,that really shocks :o :eek: :eek:

gorilla.maguila
01-22-2015, 07:05 AM
The KSV patch uses AMF0 format messages, mips and clones have changed to AMF3 format messages. That's why is not reacting to -K command

solarc
01-22-2015, 09:06 AM
Yeah, I'm also trying to rtmpdump this channel http://mips.tv/amcikciedfv and no sucess so far. :(
Do you think that KSV will release a new patch soon?

Thanks guys!!

biezom
01-22-2015, 10:57 AM
The KSV patch uses AMF0 format messages, mips and clones have changed to AMF3 format messages. That's why is not reacting to -K command

ok thanks
is it ok possible to change a few lines in the source code before compiling ?

gorilla.maguila
01-23-2015, 09:44 AM
ok thanks
is it ok possible to change a few lines in the source code before compiling ?

It's necessary to write the necessary routines to support AMF3, such as AMF3_Encode().

But again if this done and released to the public, the owners will change everything again.

solarc
01-23-2015, 11:46 AM
(...)
But again if this done and released to the public, the owners will change everything again.

I don't know if this has to be done in the patch itself. But if so, why not create two patches then. One with AMF0 and other with AMF3? :\
And sorry if I'm saying something wrong... I'm not very knowledgeable on the subject. :o

troller12
01-23-2015, 12:52 PM
Hi,

maybe its necessary to force AMF3
"--objEnc|-O num Object encoding for connection, 0 for AMF0 and 3 for AMF3 (otherwise defaults to none specified)\n")
...so I don't see this paramter in newer versions.I found this one...
https://github.com/foysavas/rtmpdump/blob/svnpenn/rtmpdump.c
greetz

biezom
01-23-2015, 03:24 PM
Hi,

maybe its necessary to force AMF3
"--objEnc|-O num Object encoding for connection, 0 for AMF0 and 3 for AMF3 (otherwise defaults to none specified)\n")
...so I don't see this paramter in newer versions.I found this one...
https://github.com/foysavas/rtmpdump/blob/svnpenn/rtmpdump.c
greetz
This is not enough I change the code rtmpdump.c before compiling
rtmpdump -r "rtmp://178.162.194.34/live" -a "live" -f "WIN 16,0,0,280" -W "http://www.mipsplayer.com/content/scripts/fplayer.swf" -p "http://www.mipsplayer.com/embedplayer/cnniokcfio/1/600/400" --objEnc 3 -C S:OK --live -y "cnniokcfio?id=221073" -K "gaolVanusPobeleVoKosata;TRUE" -o test.flv
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...



I think we should also change /librtmp/amf.c or /librtmp/amf.h or both

shani_08
01-31-2015, 07:22 PM
Its nothing to do with AMF0. The problem is that they are returning the id in the response to gaolVanusPobeleVoKosata. That id then should be sent to them with publish function, after which it would work.
i am not sure if the source code is available so that i could do the pull request but here is the log.


(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMP
DEBUG: Hostname : 178.162.194.34
DEBUG: Port : 1935
DEBUG: Playpath : cnnlfl?id=221594
DEBUG: tcUrl : rtmp://178.162.194.34:1935/live
DEBUG: swfUrl : http://www.mipsplayer.com/content/scripts/fplayer.swf
DEBUG: pageUrl : http://www.mips.tv/embedplayer/qlglive1d/1/480/380
DEBUG: app : live
DEBUG: live : yes
DEBUG: timeout : 30 sec
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Type Answer : 03
DEBUG: HandShake: Server Uptime : 96850052
DEBUG: HandShake: FMS Version : 3.0.1.1
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: HandleServerBW: server BW = 2500000
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG: HandleCtrl, received ctrl, type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 0
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: RTMP_ClientPacket, received: invoke 261 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name, STRING: _result>
DEBUG: Property: <Name: no-name, NUMBER: 1.00>
DEBUG: Property: <Name: no-name, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name: fmsVer, STRING: FMS/3,5,5,2004>
DEBUG: Property: <Name: capabilities, NUMBER: 31.00>
DEBUG: Property: <Name: mode, NUMBER: 1.00>
DEBUG: (object end)
DEBUG: Property: <Name: no-name, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: status>
DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Su
ccess>
DEBUG: Property: <Name: description, STRING: Connection succeeded.>
DEBUG: Property: <Name: data, ECMA_ARRAY>
DEBUG: (object begin)
DEBUG: Property: <Name: version, STRING: 3,5,5,2004>
DEBUG: (object end)
DEBUG: Property: <Name: clientid, NUMBER: 327191288.00>
DEBUG: Property: <Name: objectEncoding, NUMBER: 3.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
DEBUG: sending ctrl, type: 0x0003
DEBUG: Invoking gaolVanusPobeleVoKosata
DEBUG: RTMP_ClientPacket, flex message, size 30 bytes, not fully supported
DEBUG: (object begin)
DEBUG: Property: <Name: no-name, STRING: _result>
DEBUG: Property: <Name: no-name, NUMBER: 2.00>
DEBUG: Property: NULL
DEBUG: Property: <Name: no-name, NUMBER: 327191288.00>
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <gaolVanusPobeleVoKosata>
INFO: mips function returned the id
INFO: mips id 327191288
DEBUG: Invoking createStream
DEBUG: RTMP_ClientPacket, flex message, size 30 bytes, not fully supported
DEBUG: (object begin)
DEBUG: Property: <Name: no-name, STRING: _result>
DEBUG: Property: <Name: no-name, NUMBER: 3.00>
DEBUG: Property: NULL
DEBUG: Property: <Name: no-name, NUMBER: 1.00>
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <createStream>
DEBUG: Invoking publish
DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: cnnlfl?id=221594
DEBUG: Invoking play
DEBUG: sending ctrl, type: 0x0003
DEBUG: RTMP_ClientPacket, received: invoke 114 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name, STRING: onStatus>
DEBUG: Property: <Name: no-name, NUMBER: 0.00>
DEBUG: Property: NULL
DEBUG: Property: <Name: no-name, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: error>
DEBUG: Property: <Name: code, STRING: NetStream.Publish.Start>
<REMOVED lines to make it short>
INFO: audiodatarate 96.00
0.625 kB / 0.00 sec
DEBUG: ignoring too small video packet: size: 2
DEBUG: ignoring too small video packet: size: 2
DEBUG: ignoring too small audio packet: size: 0
526.943 kB / 6.83 sec
DEBUG: HandleCtrl, received ctrl, type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl, type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
626.926 kB / 8.39 sec

biezom
01-31-2015, 07:51 PM
DEBUG: HandleInvoke, received result for method call <gaolVanusPobeleVoKosata>
INFO: mips function returned the id
INFO: mips id 327191288

how you get this log?

shani_08
02-01-2015, 12:18 AM
Thats my debug code. But you can see the _result after that server side function call.

fightnight
02-02-2015, 03:51 AM
Take an look here:

http://stream-recorder.com/forum/customized-rtmpdump-binaries-patch-file-t16103.html

Source code with patch.diff:

https://github.com/K-S-V/Scripts/releases

Send an PM to KSV with your patch :)

shani_08
02-02-2015, 10:05 AM
Thanks, I have already submitted my changes to them and it was confirmed to be working so good days ahead.

solarc
02-02-2015, 12:50 PM
Good news here, huh?
It's very good to hear that the solution is coming out. :)

Darby_Crash
02-02-2015, 04:53 PM
Thanks, I have already submitted my changes to them and it was confirmed to be working so good days ahead.

Can you send me your patch, please?

shani_08
02-02-2015, 07:05 PM
Anyone looking for patch, check my repo https://github.com/Shani-08/rtmpdump.
the binaries are here.
https://www.mediafire.com/folder/spicq7r8l3n5f/Librtmp#fjxqxqwndqx87

you would need to pass 3 param with K, third one would be TRUE, for example,

-K "customCommand;TRUE;TRUE"
or ccommand if running xbmc/kodi
ccommand=customCommand;TRUE;TRUE

obviously customCommand will be different for different site. like for p3g.tv its zenataStoGoPuknalaGavolot

Darby_Crash
02-02-2015, 07:20 PM
Anyone looking for patch, check my repo https://github.com/Shani-08/rtmpdump.
the binaries are here.
https://www.mediafire.com/folder/spicq7r8l3n5f/Librtmp#fjxqxqwndqx87

you would need to pass 3 param with K, third one would be TRUE, for example,

-K "customCommand;TRUE;TRUE"
or ccommand if running xbmc/kodi
ccommand=customCommand;TRUE;TRUE

obviously customCommand will be different for different site. like for p3g.tv its zenataStoGoPuknalaGavolot

Many thanks, mate.
Great work!

solarc
02-04-2015, 11:13 AM
Many thanks, mate.
Great work!

x2, thanks shani_08!

troller12
02-04-2015, 12:14 PM
Hi,

would anybody compile a Windows executable version set for us?

Thanks

biezom
02-04-2015, 04:57 PM
Hi,

would anybody compile a Windows executable version set for us?

Thanks
just librtmp.dll is it not enough?

Anyone looking for patch, check my repo https://github.com/Shani-08/rtmpdump.
the binaries are here.
https://www.mediafire.com/folder/spi...#fjxqxqwndqx87

kaisho
02-08-2015, 10:25 PM
Hi shani

I'm using your windows binary for this:


rtmpdump -r "rtmpe://live.zzcast.com/live" -a "live" -f "WIN 13,0,0,214" -W "http://62.212.82.97/player/player.swf" -p "http://www.zzcast.com/channel.php?u=atnnewsss" -y "ntv000ll0882233434556677l22356.stream" -o test.flv --token "%prqbrt(nKa@#." --live -z


It just works great in Windows.

However, Now I built from your github source on linux(ubuntu).
Now same command gives me the AuthorizationFailed error:


DEBUG: Property: <Name: level, STRING: error>
DEBUG: Property: <Name: code, STRING: NetStream.Play.Failed>
DEBUG: Property: <Name: description, STRING: AuthorizationFailed>
DEBUG: Property: <Name: clientid, NUMBER: 1758934179.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.Failed
ERROR: Closing connection: NetStream.Play.Failed
DEBUG: Closing connection.


I've tried with KSV patch on linux with same result.
Can u help me?

biezom
02-08-2015, 10:29 PM
Hi shani

I'm using your windows binary for this:


rtmpdump -r "rtmpe://live.zzcast.com/live" -a "live" -f "WIN 13,0,0,214" -W "http://62.212.82.97/player/player.swf" -p "http://www.zzcast.com/channel.php?u=atnnewsss" -y "ntv000ll0882233434556677l22356.stream" -o test.flv --token "%prqbrt(nKa@#." --live -z


It just works great in Windows.

However, Now I built from your github source on linux(ubuntu).
Now same command gives me the AuthorizationFailed error:


DEBUG: Property: <Name: level, STRING: error>
DEBUG: Property: <Name: code, STRING: NetStream.Play.Failed>
DEBUG: Property: <Name: description, STRING: AuthorizationFailed>
DEBUG: Property: <Name: clientid, NUMBER: 1758934179.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.Failed
ERROR: Closing connection: NetStream.Play.Failed
DEBUG: Closing connection.


I've tried with KSV patch on linux with same result.
Can u help me?

sometimes on linux you need write --token '%prqbrt(nKa@#.'
so ' ' and not " "
surely special characters

kaisho
02-09-2015, 05:29 PM
sometimes on linux you need write --token '%prqbrt(nKa@#.'
so ' ' and not " "
surely special characters
Hi Biezom

Putting the token into single quote does the same thing. No change.

However, I've noticed if I dont give any token at all or give the right token, I get AuthorizationFailed error. But if I put a wrong token(change some character) its a different error:

DEBUG2: 0000: 02 00 0c 63 72 65 61 74 65 53 74 72 65 61 6d 00 ...createStream.
DEBUG2: 0010: 40 00 00 00 00 00 00 00 05 @........
DEBUG: Invoking createStream
DEBUG2: RTMP_ReadPacket: fd=4
DEBUG: Socket closed by server, nBytes: 0
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
DEBUG: Closing connection.

biezom
02-09-2015, 06:12 PM
Hi Biezom

Putting the token into single quote does the same thing. No change.

However, I've noticed if I dont give any token at all or give the right token, I get AuthorizationFailed error. But if I put a wrong token(change some character) its a different error:

DEBUG2: 0000: 02 00 0c 63 72 65 61 74 65 53 74 72 65 61 6d 00 ...createStream.
DEBUG2: 0010: 40 00 00 00 00 00 00 00 05 @........
DEBUG: Invoking createStream
DEBUG2: RTMP_ReadPacket: fd=4
DEBUG: Socket closed by server, nBytes: 0
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
DEBUG: Closing connection.

have you uninstall rtmpdump packages before compiling?

kaisho
02-16-2015, 10:24 PM
I've compiled in a koding.com vm which did not have rtmpdump package installed, also I'm sure i'm using shani's patch as it can automatically follow redirect and it has customCommand option which works fine for other sites from linux.

However, in windows binary shared by shani the program shows:
RTMPDump v2.4.0-4
whereas the compiled version in linux it shows:
RTMPDump v2.4

Thanks for ur time. Just wanted to know does that command work for u on linux?

biezom
02-16-2015, 10:35 PM
I've compiled in a koding.com vm which did not have rtmpdump package installed, also I'm sure i'm using shani's patch as it can automatically follow redirect and it has customCommand option which works fine for other sites from linux.

However, in windows binary shared by shani the program shows:

whereas the compiled version in linux it shows:


Thanks for ur time. Just wanted to know does that command work for u on linux?

it's just an option when you compile

make VERSION="v2.4.0-4"
you can write
make VERSION="v2.4-KSV-09-02-2015
by default it's v2.4

skizowapa
11-23-2015, 04:38 PM
Hello i have similar issue for my website :/
what i need to solve it ?
CNN LIVE STREAM
http://www.cnnlivestream.com/

biezom
11-23-2015, 04:56 PM
Hello i have similar issue for my website :/
what i need to solve it ?
CNN LIVE STREAM
http://www.cnnlivestream.com/

hi

http://d1hya96e2cm7qi.cloudfront.net/Live/_definst_/sweetbcha1novD177_W_150.sdp/playlist.m3u8


if the link is dynamic you can find it in source page of this url

http://code.livetv24x7.com/2015/09/cnn.html

skizowapa
11-23-2015, 05:14 PM
Thank u
can u help to find another embed code to add it on my website