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 11-03-2016, 05:54 PM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: Can somebody help get filmon rtmp code to play with livestreamer?


I just read one older post in this thread and you say that livestreamer low stream does not work for your url.

Then it is something like CNN that doesn't work until you pay for it.

I think CNN is not worth a penny so I did not go further to look at that, and I think that CNN solution might work for your url.

Somebody worked out vaughnlive.py, everything is possible but who knows more than me appears to be more shy than me as well.

Cheers,

Johnny.
Reply With Quote
  #12  
Old 11-03-2016, 06:23 PM
lajvguy lajvguy is offline
Senior Member
 
Join Date: Nov 2014
Posts: 203
lajvguy is on a distinguished road
Default

Re: Can somebody help get filmon rtmp code to play with livestreamer?


Quote:
Originally Posted by j_cool View Post
I just read one older post in this thread and you say that livestreamer low stream does not work for your url.

Then it is something like CNN that doesn't work until you pay for it.

I think CNN is not worth a penny so I did not go further to look at that, and I think that CNN solution might work for your url.

Somebody worked out vaughnlive.py, everything is possible but who knows more than me appears to be more shy than me as well.

Cheers,

Johnny.
What CNN solution? Can you explain?
Reply With Quote
  #13  
Old 11-03-2016, 06:44 PM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: Can somebody help get filmon rtmp code to play with livestreamer?


I visited filmon right now and it appears that CNN ceased to exist on filmon. There are some traces of them left on filmon search.

It was something hard to get hold of, so I tried to find comparison to your url.

If I am right, your url has to do something with horse racing, and had you not posted it here I would had never known it existed.
Looking for something popular like CNN migh attract more attention from other forum members, but CNN are not any more on filmon.
Reply With Quote
  #14  
Old 11-04-2016, 12:55 PM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: Can somebody help get filmon rtmp code to play with livestreamer?


Lajvguy,

from your post here I put together low stream for BBC 4, they have good documentaries from 7pm -7am GMT ( Greenwich mean time, London )

ID is good for 24 hours, without livestreamer I have to get it, otherwise livestreamer sorts it out.


vlc "rtmp://live-1183.gv2.edge.filmon.com/live/?id=035bca1a71b11fce016d28acd3dbea51cbc96ddfe5b9ed 3f8fe3286df6
a738d35b096712269a4b58937a2748d9cac553841a7f4a0269 ee0c9381d661a439138a4da376366c0670726ee989947ccece 9cb22bb6ede792da9df4
bff4efc50a48ef17f2bb7157aecd03ba0ba2d9f38690c83846 610011549d250a5f39530c9cfbdb93ab9bcdd77d264f9553ba 5ac3444ecf61d113c74e
dcc2a3/3191.low.stream"


Not what you asked for, but somebody else on the forum may fancy reading this post.

(there are some spaces in ID string comming from imperfection of "paste" here, spaces should be removed. )
Reply With Quote
  #15  
Old 11-04-2016, 03:22 PM
lajvguy lajvguy is offline
Senior Member
 
Join Date: Nov 2014
Posts: 203
lajvguy is on a distinguished road
Default

Re: Can somebody help get filmon rtmp code to play with livestreamer?


@ j cool,

Thanks for the post. Do you know how to run this script:

http://darbycrash.eu/PHP/f-tok.php.txt

I think D3n1s uses this script to get the filmon channel codes.
Reply With Quote
  #16  
Old 11-04-2016, 04:14 PM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: Can somebody help get filmon rtmp code to play with livestreamer?


No.

He runs Linux ( curl ), I should had looked at that long time ago but there was no streaming back then.

Now young folks leave me behind.

By the way, where did you get "code" for my BBC 4 "rtmp" and "hls" ?

Can you post the same for your horse racing url, I am curious to look at that.


Cheers,

Johnny.
Reply With Quote
  #17  
Old 11-04-2016, 04:39 PM
lajvguy lajvguy is offline
Senior Member
 
Join Date: Nov 2014
Posts: 203
lajvguy is on a distinguished road
Default

Re: Can somebody help get filmon rtmp code to play with livestreamer?


@ j cool,

I got the rtmp and hls codes for HRTV (horse racing) from these pages:

http://www.filmon.com/api-v2/channel/694?protocol=hls
http://www.filmon.com/api-v2/channel/694?protocol=rtmp


Your BBC4 channel number is 3191 so I got the rtmp & hls from:

http://www.filmon.com/api-v2/channel/3191?protocol=hls
http://www.filmon.com/api-v2/channel/3191?protocol=rtmp
Reply With Quote
  #18  
Old 11-04-2016, 05:37 PM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: Can somebody help get filmon rtmp code to play with livestreamer?


About D3n1s script, it is served to you like a meal on a silver platter.
To run it is a matter of knowing how to run bash script on bash command line.


BBC 4 can be recorded like this, as you see, successfully:

rtmpdump -r rtmp://live-1183.gv2.edge.filmon.com/live/?id=035bca1a71b11fce016d28acd3dbea51cbc96ddfe5b9ed 3f8fe3286df6a738d35b096712269a4b58937a2748d9cac553 841a7f4a0269ee0c9381d661a439138a4da376366c0670726e e989947ccece9cb22bb6ede792da9df4bff4efc50a48ef17f2 bb7157aecd03ba0ba2d9f38690c83846610011549d250a5f39 530c9cfbdb93ab9bcdd77d264f9553ba5ac3444ecf61d113c7 4edcc2a3 ^
-a "live/?id=035bca1a71b11fce016d28acd3dbea51cbc96ddfe5b9ed 3f8fe3286df6a738d35b096712269a4b58937a2748d9cac553 841a7f4a0269ee0c9381d661a439138a4da376366c0670726e e989947ccece9cb22bb6ede792da9df4bff4efc50a48ef17f2 bb7157aecd03ba0ba2d9f38690c83846610011549d250a5f39 530c9cfbdb93ab9bcdd77d264f9553ba5ac3444ecf61d113c7 4edcc2a3" ^
-y 3191.low.stream ^
-o test.flv


C:\>rtmpdump -r rtmp://live-1183.gv2.edge.filmon.com/live/?id=035bca1a71b11fce016d28acd3dbea51cbc96ddfe5b9ed 3f8fe3286df6
a738d35b096712269a4b58937a2748d9cac553841a7f4a0269 ee0c9381d661a439138a4da376366c0670726ee989947ccece 9cb22bb6ede792da9df4
bff4efc50a48ef17f2bb7157aecd03ba0ba2d9f38690c83846 610011549d250a5f39530c9cfbdb93ab9bcdd77d264f9553ba 5ac3444ecf61d113c74e
dcc2a3 -a "live/?id=035bca1a71b11fce016d28acd3dbea51cbc96ddfe5b9ed 3f8fe3286df6a738d35b096712269a4b58937a2748d9cac553 841a
7f4a0269ee0c9381d661a439138a4da376366c0670726ee989 947ccece9cb22bb6ede792da9df4bff4efc50a48ef17f2bb71 57aecd03ba0ba2d9f386
90c83846610011549d250a5f39530c9cfbdb93ab9bcdd77d26 4f9553ba5ac3444ecf61d113c74edcc2a3" -y 3191.low.stream -o test.flv
RTMPDump v2.4 GIT-2015-12-14 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
180.987 kB / 11485.92 sec


HRTV fails, like this:


rtmpdump -r rtmp://live-1130.la2.edge.filmon.com/live/?id=035bca1a71b11fce016d28acd3dbea51cbc96ddfe5b9ed 3f8fe3286df6a738d3915dbe4bc89fc2429bd6ffef93b3e5dc fad3f565efa53ffe021808d2313e9c504098a053a8d3b74ee3 26439ecc3a61289cd472a2ae44ddca0c1049032644a4df9bf5 e0313dbc1e216dfd46b94fa67e06a25c32dc1b34b8374d5c30 c016acc045d709bf5aa0b87d12b043a63a17305a53908f7cc7 65431387 ^
-a "live/?id=035bca1a71b11fce016d28acd3dbea51cbc96ddfe5b9ed 3f8fe3286df6a738d3915dbe4bc89fc2429bd6ffef93b3e5dc fad3f565efa53ffe021808d2313e9c504098a053a8d3b74ee3 26439ecc3a61289cd472a2ae44ddca0c1049032644a4df9bf5 e0313dbc1e216dfd46b94fa67e06a25c32dc1b34b8374d5c30 c016acc045d709bf5aa0b87d12b043a63a17305a53908f7cc7 65431387" ^
-y 694.low.stream ^
-o test.flv


C:\>rtmpdump -r rtmp://live-1130.la2.edge.filmon.com/live/?id=035bca1a71b11fce016d28acd3dbea51cbc96ddfe5b9ed 3f8fe3286df6
a738d3915dbe4bc89fc2429bd6ffef93b3e5dcfad3f565efa5 3ffe021808d2313e9c504098a053a8d3b74ee326439ecc3a61 289cd472a2ae44ddca0c
1049032644a4df9bf5e0313dbc1e216dfd46b94fa67e06a25c 32dc1b34b8374d5c30c016acc045d709bf5aa0b87d12b043a6 3a17305a53908f7cc765
431387 -a "live/?id=035bca1a71b11fce016d28acd3dbea51cbc96ddfe5b9ed 3f8fe3286df6a738d3915dbe4bc89fc2429bd6ffef93b3e5dc fad3
f565efa53ffe021808d2313e9c504098a053a8d3b74ee32643 9ecc3a61289cd472a2ae44ddca0c1049032644a4df9bf5e031 3dbc1e216dfd46b94fa6
7e06a25c32dc1b34b8374d5c30c016acc045d709bf5aa0b87d 12b043a63a17305a53908f7cc765431387" -y 694.low.stream -o test.flv
RTMPDump v2.4 GIT-2015-12-14 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: WriteN, RTMP send error 10054 (42 bytes)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header



Looking at RTMP error messages may be missleading unless you are streaming expert.

____________________
EDITED:

ERROR: WriteN, RTMP send error 10054 (42 bytes) goes away if you use -v switch... rtmpdump -v -r .....

ERROR: RTMP_ReadPacket, failed to read RTMP packet header is most of time about -T, but not sure about that
_______________________


Comparing BBC 4 and HRTV from http://www.filmon.com/api-v2/channel...protocol=rtmp:


BBC 4:

"watch-timeout":86500



HRTV:

"watch-timeout":0 ( pay and watch, maybe something to do with secure token )




C:\>rtmpdump -V -r rtmp://live-1130.la2.edge.filmon.com/live/?id=035bca1a71b11fce016d28acd3dbea51cbc96ddfe5b9ed 3f8fe3286
df6a738d3915dbe4bc89fc2429bd6ffef93b3e5dcfad3f565e fa53ffe021808d2313e9c504098a053a8d3b74ee326439ecc3 a61289cd472a2ae44ddc
a0c1049032644a4df9bf5e0313dbc1e216dfd46b94fa67e06a 25c32dc1b34b8374d5c30c016acc045d709bf5aa0b87d12b04 3a63a17305a53908f7cc
765431387 -a "live/?id=035bca1a71b11fce016d28acd3dbea51cbc96ddfe5b9ed 3f8fe3286df6a738d3915dbe4bc89fc2429bd6ffef93b3e5dc f
ad3f565efa53ffe021808d2313e9c504098a053a8d3b74ee32 6439ecc3a61289cd472a2ae44ddca0c1049032644a4df9bf5e 0313dbc1e216dfd46b94
fa67e06a25c32dc1b34b8374d5c30c016acc045d709bf5aa0b 87d12b043a63a17305a53908f7cc765431387" -y 694.low.stream -o test.flv
RTMPDump v2.4 GIT-2015-12-14 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Parsing...
DEBUG: Parsed protocol: 0
DEBUG: Parsed host : live-1130.la2.edge.filmon.com
DEBUG: Parsed app : live
DEBUG: Protocol : RTMP
DEBUG: Hostname : live-1130.la2.edge.filmon.com
DEBUG: Port : 1935
DEBUG: Playpath : 694.low.stream
DEBUG: tcUrl : rtmp://live-1130.la2.edge.filmon.com:1935/live/?id=035bca1a71b11fce016d28acd3dbea51cbc96ddfe5b9ed 3f8fe
3286df6a738d3915dbe4bc89fc2429bd6ffef93b3e5dcfad3f 565efa53ffe021808d2313e9c504098a053a8d3b74ee326439 ecc3a61289cd472a2ae4
4ddca0c1049032644a4df9bf5e0313dbc1e216dfd46b94fa67 e06a25c32dc1b34b8374d5c30c016acc045d709bf5aa0b87d1 2b043a63a17305a53908
f7cc765431387
DEBUG: app : live/?id=035bca1a71b11fce016d28acd3dbea51cbc96ddfe5b9ed 3f8fe3286df6a738d3915dbe4bc89fc2429bd6ffef93b3e
5dcfad3f565efa53ffe021808d2313e9c504098a053a8d3b74 ee326439ecc3a61289cd472a2ae44ddca0c1049032644a4df9 bf5e0313dbc1e216dfd4
6b94fa67e06a25c32dc1b34b8374d5c30c016acc045d709bf5 aa0b87d12b043a63a17305a53908f7cc765431387
DEBUG: live : no
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 : 59222260
DEBUG: HandShake: FMS Version : 0.0.0.0
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: HandleServerBW: server BW = 5000000
DEBUG: HandleClientBW: client BW = 5000000 2
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: RTMP_ClientPacket, received: invoke 190 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,0,1,123>
DEBUG: Property: <Name: capabilities, NUMBER: 31.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.Success>
DEBUG: Property: <Name: description, STRING: Connection succeeded.>
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 createStream
DEBUG: RTMP_ClientPacket, received: invoke 29 bytes
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: 1.00>
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <createStream>
DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: 694.low.stream
DEBUG: Invoking play
DEBUG: sending ctrl, type: 0x0003
DEBUG: Socket closed by server, nBytes: 0
DEBUG: Invoking deleteStream
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
DEBUG: Closing connection.


C:\>pause
Press any key to continue . . .
Reply With Quote
  #19  
Old 11-05-2016, 04:45 AM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: Can somebody help get filmon rtmp code to play with livestreamer?


lajvguy,


you may ask people to crack FilmonPlayer.swf, if filmon is using token may be inside there.
Or simply ask, is filmon using token ?


This is how to get rtmp parameters with livestreamer:


set var=http://www.filmon.com/channel/cbeebiesbbc-four

livestreamer --stream-url %var% worst


C:\>set var=http://www.filmon.com/channel/cbeebiesbbc-four

C:\>livestreamer --stream-url http://www.filmon.com/channel/cbeebiesbbc-four worst
rtmp://live-889.ld5.edge.filmon.com/live/?id=0ad5aac39bb13fbe74bd318650bebe57c87a46cd8ee7a9 658668f3b21cfb1bce6975795dc96
28a51c13027d3aeecb6b518b3861c9e18e7be10acacdeeeb29 4bc414b9cd8c4dde9bedc15dc577f41b595823efb83860b5c7 cac185a26e38b43a7ebf
918aa3af1d3c5ea5c420eb294b189f9321dcd27e1bca2e7dba 6a46dcbb5641d4e50e6aad128f2dac4367157b2e295d1720ff ff9e946b8 pageUrl=ht
tp://www.filmon.com/channel/cbeebiesbbc-four swfUrl=http://www.filmon.com/tv/modules/FilmOnTV/files/flashapp/filmon/Film
onPlayer.swf app=live/?id=0ad5aac39bb13fbe74bd318650bebe57c87a46cd8ee7a9 658668f3b21cfb1bce6975795dc9628a51c13027d3aeecb6
b518b3861c9e18e7be10acacdeeeb294bc414b9cd8c4dde9be dc15dc577f41b595823efb83860b5c7cac185a26e38b43a7eb f918aa3af1d3c5ea5c42
0eb294b189f9321dcd27e1bca2e7dba6a46dcbb5641d4e50e6 aad128f2dac4367157b2e295d1720ffff9e946b8 playpath=103.low.stream live=
1

C:\>pause
Press any key to continue . . .


What I have not figured out yet is how to get stream recorded with livestreamer with resized window.

Can be done with FFMPEG with these parameters, but at a price of getting new ID every 24 hours.
( won't be hard to me to script it given livestreamer's generous output )

When resizing windows, FFMPEG / FFPLAY return best looks.


tcUrl=
pageUrl=
swfUrl=
app=
playpath=
live=
-vf scale=864:480

Last edited by j_cool : 11-05-2016 at 03:04 PM.
Reply With Quote
  #20  
Old 11-07-2016, 10:39 AM
lajvguy lajvguy is offline
Senior Member
 
Join Date: Nov 2014
Posts: 203
lajvguy is on a distinguished road
Default

Re: Can somebody help get filmon rtmp code to play with livestreamer?


@ j cool,

I found a way to get the token that works:

Code:
livestreamer "rtmp://live-1130.la2.edge.filmon.com/live/?id=0ad5aac39bb13fbeebcf86db1cd226fcacc18b82883cf1f546dca95fe264fa92154e3a7883cca6b654c781cda01d3b5779f967d6fec65ad8ce9f687344f8b352720c8b856b4ce2affaf4acdcbb3b7e3cc7e3ead58f267e7c011af15d02d645d230521b0c79e55e351311c5016058e642c1416786cb94537c99ecf72785eab7ec8a1cf1a79e10ab20cb786292c8af7620b927d1bf129a4e12/694.high.stream live=1 swfUrl=http://www.filmon.com/tv/modules/FilmOnTV/files/flashapp/filmon/FilmonPlayer.swf pageUrl=http://www.filmon.com/" best
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 11:16 AM.


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