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
  #71  
Old 02-09-2017, 12:16 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 lajvguy View Post
Beardypig is a very sharp guy. Using HRTV high with the nightly.
Where can we get nightly builds?
Reply With Quote
  #72  
Old 02-09-2017, 02:32 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?


https://streamlink.github.io/#

GitHub: https://github.com/streamlink/streamlink

Installers for Windows/Mac/Linux:

Windows ( link )

https://streamlink.github.io/install...ndows-binaries

You can download the latest nightly Windows installer here. ( this link )

https://streamlink-builds.s3.amazona...ink-latest.exe

Yesterday's was: 0.3.1.807

Today's is: 0.3.1.814

Last edited by j_cool : 02-09-2017 at 03:31 PM.
Reply With Quote
  #73  
Old 02-09-2017, 06:33 PM
Vaganza Vaganza is offline
Junior Member
 
Join Date: Sep 2012
Posts: 7
Vaganza is on a distinguished road
Default

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


Quote:
Originally Posted by ihryjfbd View Post
Where can we get nightly builds?
Should this also concern the use of -ldebug your not dependent on the Nightly Builds,
the only thing for any reinstall is to uninstall first according to beardypig:
“...if you want the latest filmon fixes” (0.3.1), but obviously also for any coming (future) fixes.
Don't remember if that ever was the case with Livestreamer.

As j_cool has linked to Github I'm assuming it's okay:
"...updated plugin to match changes..."

By the way, my question about if this ever was available in Livestreamer
and his suggestion “--loglevel” isn't working for me so this must be totally new.
That's why I think it should be included in some documentation.

However, he/ (they) has made it possible to just download
the Nightly Builds, extract it and then replace or put in any new fixes.
My directory: C:\Program Files (x86)\Streamlink\pkgs\streamlink\plugins.
Reply With Quote
  #74  
Old 02-09-2017, 06:48 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
https://streamlink.github.io/#

GitHub: https://github.com/streamlink/streamlink

Installers for Windows/Mac/Linux:

Windows ( link )

https://streamlink.github.io/install...ndows-binaries

You can download the latest nightly Windows installer here. ( this link )

https://streamlink-builds.s3.amazona...ink-latest.exe

Yesterday's was: 0.3.1.807

Today's is: 0.3.1.814
Thanks

I don't suppose there is anyway to make it support player pausing for tea breaks? like a temporary created cache record file if it detects the player has been paused, i'm using MPC-BE x64 and it loses the stream if paused it'll play for like 3-5mins after the paused time then go off, maybe via ffplay.
Reply With Quote
  #75  
Old 02-09-2017, 07: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?


This one works fine:

set url=http://www.filmon.com/channel/bbc-news
start /min streamlink --http-header "User-Agent=Mozilla/5.0" --player "ffplay.exe -vf scale=854:480" %url% worst


This one not so fine:

set url=http://www.filmon.com/channel/bbc-news
start /min streamlink --http-header "User-Agent=Mozilla/5.0" --player "ffplay.exe" %url% best


You can dump the stream on disk, wait for some stream to get saved on disk, and play the stream from disk with any player.
Mplayer, FFplay ...

This way there are no tea breaks, but one second more or less between chunks.

Python guys know how to sort it out or somebody like rtmpdump team.
Look at Vaughnlive.py, one example of excellence of stramlink/livestreamer team.
Reply With Quote
  #76  
Old 02-11-2017, 09:20 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?


Ihry,

This reading may answer your last post:

streamlink -h

--player-no-close
By default Streamlink will close the player when the stream ends.
This is to avoid "dead" GUI players lingering after a stream ends.

It does however have the side-effect of sometimes closing a player
before it has played back all of its cached data.

This option will instead let the player decide when to exit.


--player-continuous-http
Make the player read the stream through HTTP, but unlike
--player-http it will continuously try to open the stream if the
player requests it.
Reply With Quote
  #77  
Old 02-12-2017, 09:15 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?


hmmm getting file not found in MPC-BE x64.

Code:
streamlink -ldebug http://www.filmon.com/channel/cbs-action best --player-continuous-http
[cli][info] Found matching plugin filmon for URL http://www.filmon.com/channel/cbs-action
[cli][info] Available streams: low (worst), high (best)
[cli][info] Starting player: "C:\Program Files\MPC-BE x64\mpc-be64.exe"
[cli][info] Got HTTP request from MPC-BE
[cli][info] Opening stream: high (hls-filmon)
[stream.hls][debug] Reloading playlist
[stream.hls-filmon][debug] Reloading FilmOn channel playlist: cbs-action
[stream.hls][debug] Adding segment 704317 to queue
[cli][debug] Pre-buffering 8192 bytes
[stream.hls][debug] Adding segment 704318 to queue
[stream.hls][debug] Adding segment 704319 to queue
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 704320 to queue
[stream.hls][debug] Download of segment 704317 complete
[cli][debug] Writing stream to player
[cli][info] HTTP connection closed
[stream.hls][debug] Closing worker thread
[stream.hls][debug] Closing writer thread
[cli][info] Stream ended
[cli][info] Got HTTP request from MPC-BE
[cli][info] Opening stream: high (hls-filmon)
[stream.hls][debug] Reloading playlist
[stream.hls-filmon][debug] Reloading FilmOn channel playlist: cbs-action
[stream.hls][debug] Adding segment 704320 to queue
[cli][debug] Pre-buffering 8192 bytes
[stream.hls][debug] Adding segment 704321 to queue
[stream.hls][debug] Adding segment 704322 to queue

Last edited by ihryjfbd : 02-12-2017 at 10:02 PM.
Reply With Quote
  #78  
Old 02-13-2017, 03:30 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?


I have not tried mpc-be yet.

Here are streamlink players, and what they do and don't do.
Scroll the page to see Known issues and workarounds, MPC-HC reports “File not found”.

https://streamlink.github.io/players.html

Note the absence of ffplay, to people this is no player at all, and can do it all.

This works perfectly fine:

start /min streamlink --player "ffplay.exe" http://www.filmon.com/channel/cbs-action best
Reply With Quote
  #79  
Old 02-13-2017, 04:55 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?


Quote:
Originally Posted by j_cool View Post
I have not tried mpc-be yet.

Here are streamlink players, and what they do and don't do.
Scroll the page to see Known issues and workarounds, MPC-HC reports “File not found”.

https://streamlink.github.io/players.html

Note the absence of ffplay, to people this is no player at all, and can do it all.

This works perfectly fine:

start /min streamlink --player "ffplay.exe" http://www.filmon.com/channel/cbs-action best
Ok thanks I'll try with VLC, ffplay and MPC-HC.
I was running v1.4.6 (build 1478) beta of MPC-BE.
Reply With Quote
  #80  
Old 02-14-2017, 03:00 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?


Ok MPC-HC is playing back fine

Recording though is intermittent though it looses the stream 1-2mins in and sometimes repeats the same section in the recording, I guess it has do with it timing out and reloading the playlist instead of just adding / playing the next segment.

Also without adding the following I kept getting 403 client forbidden errors.

Code:
--http-header "Referer=http://www.filmon.com/tv/modules/FilmOnTV/files/flashapp/filmon/FilmonPlayer.swf" --http-header "Accept-Encoding=gzip, deflate" --http-header "User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0"
Code:
Streamlink is now Recording... channel-4
[cli][info] Found matching plugin filmon for URL https://www.filmon.com/tv/channel-4
[cli][info] Available streams: low (worst), high (best)
[cli][info] Opening stream: high (hls-filmon)
[stream.hls][debug] Reloading playlist
[stream.hls-filmon][debug] Reloading FilmOn channel playlist: channel-4
[stream.hls][debug] Adding segment 980191 to queue
[cli][debug] Pre-buffering 8192 bytes
[stream.hls][debug] Adding segment 980192 to queue
[stream.hls][debug] Adding segment 980193 to queue
[cli][debug] Checking file output
[stream.hls][debug] Download of segment 980191 complete
[cli][debug] Writing stream to output
[download][..7_20-42-03_channel-4.ts] Written 1.9 MB (2s @ 801.9 KB/s)[stream.hls][debug] Download of segment 980192 complete
                                                                               [stream.hls][debug] Download of segment 980193 complete
[download][..7_20-42-03_channel-4.ts] Written 3.4 MB (4s @ 794.2 KB/s)                                                                               [
stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 980194 to queue
[stream.hls][debug] Download of segment 980194 complete
[download][..7_20-42-03_channel-4.ts] Written 4.8 MB (12s @ 397.6 KB/s)                                                                              [
stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 980195 to queue
[stream.hls][debug] Download of segment 980195 complete
[download][..7_20-42-03_channel-4.ts] Written 6.8 MB (21s @ 323.4 KB/s)                                                                              [
stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 980196 to queue
[stream.hls][debug] Download of segment 980196 complete
[download][..7_20-42-03_channel-4.ts] Written 7.5 MB (33s @ 230.0 KB/s)                                                                              [
stream.hls][debug] Reloading playlist
[stream.hls-filmon][debug] Reloading FilmOn channel playlist: channel-4
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls-filmon][debug] Reloading FilmOn channel playlist: channel-4
[cli][error] Error when reading from stream: Read timeout
[stream.hls][debug] Closing worker thread
[stream.hls][debug] Closing writer thread
[stream.hls][debug] Closing writer thread
[cli][info] Stream ended
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:49 PM.


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