Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

Token needed for rtmpdump please

(http://stream-recorder.com/forum/showthread.php?t=20509)

Littledogs2 12-06-2015 04:37 PM

Token needed for rtmpdump please


 
Please can someone find the token for the stream to download with rtmpdump

Thanks in advance

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
Processing connect
app : channel/1148
flashVer : WIN 19,0,0,245
swfUrl : http://static.weeb.tv/player.swf
tcUrl : rtmp://37.48.65.4/channel/1148
pageUrl : http://weeb.tv/channel/tvp1hd179

Playpath : live
Saving as : 2015-12-06_11-17-04_live.flv
INFO: Metadata:
INFO: duration 0.00
INFO: width 852.00
INFO: height 480.00
INFO: videodatarate 0.00
INFO: framerate 29.42
INFO: videocodecid 7.00
INFO: audiodatarate 0.00
INFO: audiosamplerate 48000.00
INFO: audiosamplesize 16.00
INFO: stereo TRUE
INFO: audiocodecid 10.00
INFO: Server EvoStream Media Server (www.evostream.com)
INFO: aacaot 2
INFO: audiochannels 2
INFO: avclevel 31
INFO: avcprofile 100
INFO: bandwidth 0
INFO: videoframerate 29
INFO: encoder Lavf56.40.101
INFO: filesize 0.00
WARNING: ignoring too small audio packet: size: 0
ERROR: AMF3 Object encapsulated in AMF stream does not start with AMF3_OBJECT!

biezom 12-06-2015 04:56 PM

Re: Token needed for rtmpdump please


 
Quote:

Originally Posted by Littledogs2 (Post 81458)
Please can someone find the token for the stream to download with rtmpdump

Thanks in advance

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
Processing connect
app : channel/1148
flashVer : WIN 19,0,0,245
swfUrl : http://static.weeb.tv/player.swf
tcUrl : rtmp://37.48.65.4/channel/1148
pageUrl : http://weeb.tv/channel/tvp1hd179

Playpath : live
Saving as : 2015-12-06_11-17-04_live.flv
INFO: Metadata:
INFO: duration 0.00
INFO: width 852.00
INFO: height 480.00
INFO: videodatarate 0.00
INFO: framerate 29.42
INFO: videocodecid 7.00
INFO: audiodatarate 0.00
INFO: audiosamplerate 48000.00
INFO: audiosamplesize 16.00
INFO: stereo TRUE
INFO: audiocodecid 10.00
INFO: Server EvoStream Media Server (www.evostream.com)
INFO: aacaot 2
INFO: audiochannels 2
INFO: avclevel 31
INFO: avcprofile 100
INFO: bandwidth 0
INFO: videoframerate 29
INFO: encoder Lavf56.40.101
INFO: filesize 0.00
WARNING: ignoring too small audio packet: size: 0
ERROR: AMF3 Object encapsulated in AMF stream does not start with AMF3_OBJECT!


hi
Authentication token for weeb.tv servers is dynamic


Code:

livestreamer --json "http://weeb.tv/channel/tvp1hd179"
Code:

{
  "streams": {
    "worst": {
      "params": {
        "weeb": "7708247",
        "live": true,
        "pageUrl": "http://weeb.tv/channel/tvp1hd179",
        "rtmp": "rtmp://95.211.215.132/channel/1148/live",
        "swfVfy": "http://static2.weeb.tv/static2/player.swf"
      },
      "type": "rtmp"
    },


Code:

rtmpdump -r "rtmp://95.211.215.132/channel/1148/live" -J 7708247 --live  -W "http://static.weeb.tv/player.swf" -o tvp1.flv

Littledogs2 12-06-2015 05:06 PM

Re: Token needed for rtmpdump please


 
Quote:

Originally Posted by biezom (Post 81459)
hi
Authentication token for weeb.tv servers is dynamic


Code:

livestreamer --json "http://weeb.tv/channel/tvp1hd179"
Code:

{
  "streams": {
    "worst": {
      "params": {
        "weeb": "7708247",
        "live": true,
        "pageUrl": "http://weeb.tv/channel/tvp1hd179",
        "rtmp": "rtmp://95.211.215.132/channel/1148/live",
        "swfVfy": "http://static2.weeb.tv/static2/player.swf"
      },
      "type": "rtmp"
    },


Code:

rtmpdump -r "rtmp://95.211.215.132/channel/1148/live" -J 7708247 --live  -W "http://static.weeb.tv/player.swf" -o tvp1.flv

Token rejected

Can you try this link instead please

http://live-sport.me/2015/05/10/tvp1-hd-live/

troller12 12-10-2015 10:50 AM

Re: Token needed for rtmpdump please


 
Hi,

you have to refresh the json token & rtmp address too.You can use Livestreamer to get the datas or you do it manually and send a post request.You can use your browser webtools to follow what it does request.Below just a short build...
Code:

POST /api/setPlayer HTTP/1.1
Host: weeb.tv
User-Agent: dontaskme
Connection: close
Referer: http://static2.weeb.tv/player.swf
Content-type: application/x-www-form-urlencoded
Content-length: 50

ip=NaN&cid=tvp1hd179&watchTime=0&firstConnect=1

Now as response you get this...
Code:

50=1&51=12&52=111111&0=1&5=0&73=16904733&10=rtmp%3A%2F%2F95.211.215.134%2Fchannel%2F1148&11=live&12=1&6=TVP1+HD&7=tvp1hd179&20=0&8=http%3A%2F%2Fstatic.weeb.tv%2Flogos%2F9fe2e1a2c9659a9c3b4f35354b0e35e0.jpg&13=0

URLDecode
-------------------
50=1&51=12&52=111111&0=1&5=0&73=16904733&10=rtmp://95.211.215.134/channel/1148&11=live&12=1&6=TVP1+HD&7=tvp1hd179&20=0&8=http://static.weeb.tv/logos/9fe2e1a2c9659a9c3b4f35354b0e35e0.jpg&13=0

-J 16904733
-r rtmp://95.211.215.134/channel/1148//live

rtmpdump -v -r "rtmp://95.211.215.134/channel/1148//live" -W "http://static2.weeb.tv/player.swf" -J 16904733 | "player" -

...now use the rtmp ip address & json token and the stream does play.If stream dosen't play anymore then refresh the steps again.

PS: The new site you did post is the only different so it does also stream from same source.

greetz

Littledogs2 12-14-2015 03:40 PM

Re: Token needed for rtmpdump please


 
Thanks. I managed to do it, but no free slots, then token rejected, then again. Isn't there another way ?

troller12 12-15-2015 11:04 AM

Re: Token needed for rtmpdump please


 
Hi,

so its working as I told before.
Code:

RTMPDump v2.4 GIT-2015-01-15 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
INFO: Token.authorization
INFO: User.hasAccess
INFO: Weeb.tv authentication successful
Starting Live Stream
INFO: Metadata:
INFO:  duration                0.00
INFO:  width                  852.00
INFO:  height                  480.00
INFO:  videodatarate          878.91
INFO:  framerate              29.42
INFO:  videocodecid            7.00
INFO:  audiodatarate          125.00
INFO:  audiosamplerate        48000.00
INFO:  audiosamplesize        16.00
INFO:  stereo                  TRUE
INFO:  audiocodecid            10.00
INFO:  Server                  EvoStream Media Server (www.evostream.com)
INFO:  encoder                Lavf56.40.101
INFO:  filesize                0.00
4755.595 kB / 48.00 sec

So what you could do is to write any php script or else to post the datas I post before then build the actually rtmp datas + token and let execute rtmpdump with them in play or record modus like you want etc.

MFG

Littledogs2 12-15-2015 02:18 PM

Re: Token needed for rtmpdump please


 
Quote:

Originally Posted by troller12 (Post 81709)
Hi,

so its working as I told before.
Code:

RTMPDump v2.4 GIT-2015-01-15 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
INFO: Token.authorization
INFO: User.hasAccess
INFO: Weeb.tv authentication successful
Starting Live Stream
INFO: Metadata:
INFO:  duration                0.00
INFO:  width                  852.00
INFO:  height                  480.00
INFO:  videodatarate          878.91
INFO:  framerate              29.42
INFO:  videocodecid            7.00
INFO:  audiodatarate          125.00
INFO:  audiosamplerate        48000.00
INFO:  audiosamplesize        16.00
INFO:  stereo                  TRUE
INFO:  audiocodecid            10.00
INFO:  Server                  EvoStream Media Server (www.evostream.com)
INFO:  encoder                Lavf56.40.101
INFO:  filesize                0.00
4755.595 kB / 48.00 sec

So what you could do is to write any php script or else to post the datas I post before then build the actually rtmp datas + token and let execute rtmpdump with them in play or record modus like you want etc.

MFG

Thanks very much, it worked


All times are GMT -6. The time now is 12:23 AM.