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
  #81  
Old 02-14-2017, 04:39 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?


Params you posted here are something I am looking for for future reference, filmon or not.

Some sites want a cookie on top of that, and I have yet to look at how to fit a cookie there as well.

As I said before, if this worked for private shows on webcam sites it would be the biggest hit on this forum,
never mind jumps and missing chunks.

Last edited by j_cool : 02-14-2017 at 05:15 PM.
Reply With Quote
  #82  
Old 02-14-2017, 05:42 PM
ihryjfbd ihryjfbd is offline
Senior Member
 
Join Date: Oct 2015
Posts: 212
ihryjfbd 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
Params you posted here are something I am looking for for future reference, filmon or not.

Some sites want a cookie on top of that, and I have yet to look at how to fit a cookie there as well.

As I said before, if this worked for private shows on webcam sites it would be the biggest hit on this forum,
never mind jumps and missing chunks.
Here's a example from TVPlayer.

--http-header "Cookie=CloudFront-Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cDo vL2xpdmUudHZwbGF5ZXIuY29tLyoiLCJDb25kaXRpb24iOnsiR GF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE0Njg3MjM 4MTl9fX1dfQ__;

CloudFront-Signature=Q1DA4M0hclf8tjbemqYmP7sPXD2pZiRQ7g0wP1~O xKBD8H4lgZKD75AS9nTFbMs2CeZcSuKOiGHZ3ATUoESum~k90M tzY8cep4XJvfJye~Ax3NqNP1kh8VNoXkS49UhW51Hrq0-yLZnnh-wT0zsbjTfBCOz7OhyZdBZumODDK0nMPWThS4fihc1PtYk6u6gd 2N3MfmbX4RHS8fDv~KTb-wcLbaIZsq84PSMY1SnBwWLsU-JlS58izsQ~foNOSFSXkZOKaD986SDTnllPwVJyQnvcNgpkaFnI 0jX5C8mrEz1OTa58xIUI-37UHgw9DeLP3AdpXbPSFAb3KkmbxNrboQ__;

CloudFront-Key-Pair-Id=APKAJGWDVCU5SXAPJELQ"
Reply With Quote
  #83  
Old 02-14-2017, 05:52 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?


Thank you for this, we'll need it soon.

Nobody likes guys watching streams without browser.
Reply With Quote
  #84  
Old 02-15-2017, 03:49 AM
ihryjfbd ihryjfbd is offline
Senior Member
 
Join Date: Oct 2015
Posts: 212
ihryjfbd is on a distinguished road
Default

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


hmmm I wonder why this isn't affecting filmon too, remember the bs that happened with tvcatchup.
http://tvplayer.com/blackouts
Reply With Quote
  #85  
Old 02-15-2017, 04:49 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?


So far I have few sites that work for news channels.

There is not one site with all news channels where you have one way to see it all.

Here are few "high" news channels and you need url, wmsauthsign and useragent, for now.

http://www.giniko.com/country.php?id=217



FOR /f %%a in ('wmsAuth.exe') do set url=http://nimlive1.giniko.com/bbcnews/bbcnews.stream/playlist.m3u8?%%a
start wmove %url%
start /min ffplay -user-agent Mozilla/5.0 -i %url%



program wmsAuth;
{$APPTYPE CONSOLE}
uses windows,StrUtils,SysUtils,ShellApi,clipbrd;
var auth,s,s2,str,subs: ansistring;
i,j:integer;

procedure execw(CommandLine: string; CommandShow: Longint);
var pi: TProcessInformation;
si: TStartupInfo;
begin
FillChar(si, sizeof(si), #0);
si.cb := sizeof(si);
si.dwFlags := STARTF_USESHOWWINDOW;
si.wShowWindow := CommandShow;
CreateProcess(nil, PChar(CommandLine), nil, nil, False, NORMAL_PRIORITY_CLASS, nil, nil, si, pi);
WaitForSingleObject(pi.hProcess, INFINITE);
CloseHandle(pi.hProcess);
CloseHandle(pi.hThread);
end;

begin
execw( 'cmd.exe /C xidel -s -e //@src http://www.giniko.com/watch.php?id=27 | CLIP', SW_SHOWNORMAL);
str:= Clipboard.AsText;
subs:='wmsAuthSign=';
i:=ansipos( subs,str );
auth:='';
while str[i] <> chr(13) do
begin
auth:= auth + str[i];
inc( i );
end;
writeln(auth);
end.


http://www.videlibri.de/xidel.html


program CLB;
{$APPTYPE CONSOLE}
uses ClipBrd;
begin
writeln(Clipboard.AsText);
end.



C:\>xidel -s -e //@src http://www.giniko.com/watch.php?id=27 | CLIP

C:\>clb
http://c.statcounter.com/9849145/0/bb1b1fb0/1/
js/jquery.min.js
http://code.jquery.com/jquery-1.11.2.min.js
http://swf.livestreamingcdn.com/fpla...wplayer.min.js
http://swf.livestreamingcdn.com/fpla...r.hlsjs.min.js
http://swf.livestreamingcdn.com/swfo...n.1.0.2.min.js
js/hasflash.js
images/logo.png
images/rokulogo.jpg
logos/190x110/27.jpg
//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2FGin ikoTV&width&layout=button_count&action=like
&show_faces=true&share=true&height=21
http://nimlive1.giniko.com/bbcnews/b...EwOjQ2OjQ0IEFN
Jmhhc2hfdmFsdWU9VUlhdVFDZkoyNTgyTWdwSE9HbEgzQT09Jn ZhbGlkbWludXRlcz0xNDQw
logos/190x110/27.jpg
images/lscdn2.jpg
js/jquery.min.js
jsCarousel.js
/logos/190x110/216.jpg
/logos/190x110/26.png
/logos/190x110/460.png
/logos/190x110/217.jpg
/logos/190x110/93.jpg
/logos/190x110/188.jpg
/logos/190x110/74.jpg
/logos/190x110/102.jpg
/logos/190x110/24.png
/logos/190x110/2.jpg
/logos/190x110/297.png
/logos/190x110/68.jpg
/logos/190x110/675.jpg
/logos/190x110/461.png
/logos/190x110/635.png
/logos/190x110/205.jpg
/logos/190x110/186.jpg
/logos/190x110/394.png
/logos/190x110/228.jpg
/logos/190x110/363.png
http://billing.giniko.com/img/google...vailable-a.png
http://billing.giniko.com/img/and.png
http://billing.giniko.com/img/google...vailable-g.png
http://billing.giniko.com/img/gtv1.png
images/facebook-giniko.png
http://www.statswebtown.com/includes/webstat.js
js/jquery.superfish.js
js/jquery.tipsy.js
js/script.js
http://www.statswebtown.com/includes/webstat.js



C:\>wmsauth
wmsAuthSign=c2VydmVyX3RpbWU9Mi8xNS8yMDE3IDExOjE2Oj E2IEFNJmhhc2hfdmFsdWU9eEVDdEZlVnNoU2o4QVIrckZvNnFP dz09JnZhbGlkbWludXRl
cz0xNDQw
Reply With Quote
  #86  
Old 02-15-2017, 06:57 AM
confused.com confused.com is offline
Senior Member
 
Join Date: Jan 2017
Posts: 165
confused.com is on a distinguished road
Default

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


c2VydmVyX3RpbWU9Mi8xNS8yMDE3IDExOjE2Oj E2IEFNJmhhc2hfdmFsdWU9eEVDdEZlVnNoU2o4QVIrckZvNnFP dz09JnZhbGlkbWludXRl
cz0xNDQw

https://www.base64decode.org/

server_time=2/15/2017 11:16:16 AM&hash_value=xECtFeVshSj8AR+rFo6qOw==&validminute s=1440
Reply With Quote
  #87  
Old 02-17-2017, 04:07 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?


Ihry,

Look at this:

set url=http://live.tvplayer.com/cnn/5/prog_index.m3u8
streamlink --http-header "Cookie=CloudFront-Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cDo vL2xpdmUudHZwbGF5ZXIuY29tLyoiLCJDb25kaXRpb24iOnsiR GF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE0ODczODE 3ODJ9fX1dfQ__; CloudFront-Signature=aWc67QDE2vYFHi95pmQgtBU7h0QhvG~o-p8vb3O5Jh7~O2Ksecgyp-cL4KENfRvYgSVN39fb~SSVdCKXHcDiUJIX-1K~zL9lzWKjvXAg7ZEuMXAjjnIfR2RhzGN6Pf2KbOxLpjYp4zC 0STBskqrOKq-MvcrB49ZzItf6VS4k1Tmqv8ZUPgdOfhx-217REV0GZr8nFI2Ml4oQRDeyOvOXYv1sh-BpBxGyJlZWWvA4-kdCmeWXMnOvFUfNGrhj8CgxJwT4JW2dGTjC-jiaokd9bVDATLWA3CSVqoa6pdrgJ6GXRamEeMPFMDWw2wUqvcq uvdiOwmuovw6ayGkxYISiNQ__; CloudFront-Key-Pair-Id=APKAJGWDVCU5SXAPJELQ; _ga=GA1.2.2088142750.1487358541; __qca=P0-1081178523-1487358541153; _gat=1" --http-header "Referer=http://tvplayer.com/watch/cnninternationaleurope" --http-header "Accept-Encoding=gzip, deflate" --http-header "User-Agent= Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0" hls://%url% best


worked only after I provided "cookie" !

I got params from firefox extension Live HTTP Headers.
Reply With Quote
  #88  
Old 02-17-2017, 04:35 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?


Here is how it works minimal:

It needs "cookie" only:


set url=http://live.tvplayer.com/cnn/5/prog_index.m3u8
streamlink --http-header "Cookie=CloudFront-Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cDo vL2xpdmUudHZwbGF5ZXIuY29tLyoiLCJDb25kaXRpb24iOnsiR GF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE0ODczODE 3ODJ9fX1dfQ__; CloudFront-Signature=aWc67QDE2vYFHi95pmQgtBU7h0QhvG~o-p8vb3O5Jh7~O2Ksecgyp-cL4KENfRvYgSVN39fb~SSVdCKXHcDiUJIX-1K~zL9lzWKjvXAg7ZEuMXAjjnIfR2RhzGN6Pf2KbOxLpjYp4zC 0STBskqrOKq-MvcrB49ZzItf6VS4k1Tmqv8ZUPgdOfhx-217REV0GZr8nFI2Ml4oQRDeyOvOXYv1sh-BpBxGyJlZWWvA4-kdCmeWXMnOvFUfNGrhj8CgxJwT4JW2dGTjC-jiaokd9bVDATLWA3CSVqoa6pdrgJ6GXRamEeMPFMDWw2wUqvcq uvdiOwmuovw6ayGkxYISiNQ__; CloudFront-Key-Pair-Id=APKAJGWDVCU5SXAPJELQ; _ga=GA1.2.2088142750.1487358541; __qca=P0-1081178523-1487358541153; _gat=1" --player "ffplay.exe -vf scale=854:480" hls://%url% best


C:\MISC\STREAMLINK>set url=http://live.tvplayer.com/cnn/5/prog_index.m3u8

C:\MISC\STREAMLINK>streamlink --http-header "Cookie=CloudFront-Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cDo vL2xpdm
UudHZwbGF5ZXIuY29tLyoiLCJDb25kaXRpb24iOnsiRGF0ZUxl c3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE0ODczODE3ODJ9fX 1dfQ__; CloudFront-S
ignature=aWc67QDE2vYFHi95pmQgtBU7h0QhvG~o-p8vb3O5Jh7~O2Ksecgyp-cL4KENfRvYgSVN39fb~SSVdCKXHcDiUJIX-1K~zL9lzWKjvXAg7ZEuMXA
jjnIfR2RhzGN6Pf2KbOxLpjYp4zC0STBskqrOKq-MvcrB49ZzItf6VS4k1Tmqv8ZUPgdOfhx-217REV0GZr8nFI2Ml4oQRDeyOvOXYv1sh-BpBxGyJlZWWvA
4-kdCmeWXMnOvFUfNGrhj8CgxJwT4JW2dGTjC-jiaokd9bVDATLWA3CSVqoa6pdrgJ6GXRamEeMPFMDWw2wUqvcq uvdiOwmuovw6ayGkxYISiNQ__; Cloud
Front-Key-Pair-Id=APKAJGWDVCU5SXAPJELQ; _ga=GA1.2.2088142750.1487358541; __qca=P0-1081178523-1487358541153; _gat=1" --pl
ayer "ffplay.exe -vf scale=854:480" hls://http://live.tvplayer.com/cnn/5/prog_index.m3u8 best
[cli][info] Found matching plugin stream for URL hls://http://live.tvplayer.com/cnn/5/prog_index.m3u8
[cli][info] Available streams: live (worst, best)
[cli][info] Opening stream: live (hls)
[cli][info] Starting player: ffplay.exe -vf scale=854:480
Reply With Quote
  #89  
Old 02-17-2017, 05:24 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?


And finally,

my way of doing the thing:

opens literally instantly, faster than streamlink.



set url=http://live.tvplayer.com/cnn/5/prog_index.m3u8
ffplay -headers "Cookie: CloudFront-Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cDo vL2xpdmUudHZwbGF5ZXIuY29tLyoiLCJDb25kaXRpb24iOnsiR GF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE0ODczODE 3ODJ9fX1dfQ__; CloudFront-Signature=aWc67QDE2vYFHi95pmQgtBU7h0QhvG~o-p8vb3O5Jh7~O2Ksecgyp-cL4KENfRvYgSVN39fb~SSVdCKXHcDiUJIX-1K~zL9lzWKjvXAg7ZEuMXAjjnIfR2RhzGN6Pf2KbOxLpjYp4zC 0STBskqrOKq-MvcrB49ZzItf6VS4k1Tmqv8ZUPgdOfhx-217REV0GZr8nFI2Ml4oQRDeyOvOXYv1sh-BpBxGyJlZWWvA4-kdCmeWXMnOvFUfNGrhj8CgxJwT4JW2dGTjC-jiaokd9bVDATLWA3CSVqoa6pdrgJ6GXRamEeMPFMDWw2wUqvcq uvdiOwmuovw6ayGkxYISiNQ__; CloudFront-Key-Pair-Id=APKAJGWDVCU5SXAPJELQ; _ga=GA1.2.2088142750.1487358541; __qca=P0-1081178523-1487358541153; _gat=1" -vf scale=854:480 %url%



C:\MISC\STREAMLINK>set url=http://live.tvplayer.com/cnn/5/prog_index.m3u8

C:\MISC\STREAMLINK>ffplay -headers "Cookie: CloudFront-Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cDo vL2xpdmUudHZwbG
F5ZXIuY29tLyoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFu Ijp7IkFXUzpFcG9jaFRpbWUiOjE0ODczODE3ODJ9fX1dfQ__; CloudFront-Signature
=aWc67QDE2vYFHi95pmQgtBU7h0QhvG~o-p8vb3O5Jh7~O2Ksecgyp-cL4KENfRvYgSVN39fb~SSVdCKXHcDiUJIX-1K~zL9lzWKjvXAg7ZEuMXAjjnIfR2R
hzGN6Pf2KbOxLpjYp4zC0STBskqrOKq-MvcrB49ZzItf6VS4k1Tmqv8ZUPgdOfhx-217REV0GZr8nFI2Ml4oQRDeyOvOXYv1sh-BpBxGyJlZWWvA4-kdCmeW
XMnOvFUfNGrhj8CgxJwT4JW2dGTjC-jiaokd9bVDATLWA3CSVqoa6pdrgJ6GXRamEeMPFMDWw2wUqvcq uvdiOwmuovw6ayGkxYISiNQ__; CloudFront-Ke
y-Pair-Id=APKAJGWDVCU5SXAPJELQ; _ga=GA1.2.2088142750.1487358541; __qca=P0-1081178523-1487358541153; _gat=1" -vf scale=85
4:480 http://live.tvplayer.com/cnn/5/prog_index.m3u8
ffplay version 3.2.2 Copyright (c) 2003-2016 the FFmpeg developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable
-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-li
bbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enabl
e-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-li
bopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --en
able-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable
-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zl
ib
libavutil 55. 34.100 / 55. 34.100
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.100 / 57. 56.100
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
[http @ 0301fa60] No trailing CRLF found in HTTP header. 0B f=0/0
Input #0, hls,applehttp, from 'http://live.tvplayer.com/cnn/5/prog_index.m3u8':
Duration: N/A, start: 80512.018144, bitrate: N/A
Program 0
Metadata:
variant_bitrate : 0
Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1024x576 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k
tbn, 50 tbc
Metadata:
variant_bitrate : 0
Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp
Metadata:
variant_bitrate : 0
Stream #0:2: Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Metadata:
variant_bitrate : 0
No codec could be found with id 94215
[mpegts @ 049b31c0] PES packet size mismatch 275KB sq= 0B f=0/0
80565.93 A-V: -0.017 fd= 134 aq= 18KB vq= 329KB sq= 0B f=0/0
Reply With Quote
  #90  
Old 02-18-2017, 07:39 AM
ihryjfbd ihryjfbd is offline
Senior Member
 
Join Date: Oct 2015
Posts: 212
ihryjfbd is on a distinguished road
Default

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


I think streamlink is actually slower than livestreamer, it seems to take longer before it connects ands opens your player.

Any word on a kodi plugin for streamlink?
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 09:42 PM.


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