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
  #61  
Old 04-08-2017, 02:19 PM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: streamlink: an up to date fork of livestreamer


If you specify player on command line ( batch file ) it supersedes player from config file, streamlinkrc.

start /min streamlink -p "ffplay.exe -vf scale=854:480" %url% best

The rule "You must use a quoted path if there are spaces in the path" applies everywhere.
Reply With Quote
  #62  
Old 04-08-2017, 05:24 PM
Damianonymous Damianonymous is offline
Senior Member
 
Join Date: Jan 2017
Posts: 187
Damianonymous is on a distinguished road
Default

Re: streamlink: an up to date fork of livestreamer


Quote:
Originally Posted by j_cool View Post
On command prompt type cd \

Now you start searching from beginning of your hard drive, c:\

Switch /s means subdirectories, makes dir look everywhere on your c: drive
C:\>
If after installing "pip install streamlink" it is not in the "%APPDATA%\streamlink\" folder of the streamlinkrc file, it should be created manually in this folder.

Code:
# Format is option=value. Lines starting with a # is considered comments
# and are ignored.

# By default streamlink will attempt to locate VLC on your system
# and use that, but you can also specify the location of a player
# yourself.

# Important: You must use a quoted path if there are spaces in the path. This
# is because the player command is parsed like a shell command to allow
# parameters to be passed to the player.

# Here is a few examples of players:

# VLC
#player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"
#player="C:\Program Files\VideoLAN\VLC\vlc.exe"
# Using --file-caching is recommended, but is only supported in VLC 2.0+
#player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --file-caching=5000
#player="C:\Program Files\VideoLAN\VLC\vlc.exe" --file-caching=5000

# MPC-HC, must be at least version 1.7 to be used
#player="C:\Program Files (x86)\MPC-HC\mpc-hc.exe"

# MPlayer2
#player=C:\mplayer2\mplayer2.exe -cache 4096


# Use this if you want to transport the stream to the player via a named pipe.
#player-fifo

# Use this if you want to transport the stream to the player via HTTP.
#player-http

# Use this if you want streamlink to only pass a URL to your player and
# let it handle the transport of the stream itself.
#player-passthrough=http,hls,rtmp

# By default streamlink will close the player when stream is over.
# Use this option to let the player stay or close itself instead.
#player-no-close

# Use this option if you want streamlink to keep trying to access
# the stream even if it goes offline or disconnects. Your player must
# support HTTP and its playlist should be set to repeat mode.
#player-continuous-http

# Show console output from the video player
#verbose-player

# RTMP streams are downloaded using rtmpdump. Full path or relative path
# to the rtmpdump exe should be specified here.
#rtmpdump=C:\Program Files (x86)\Streamlink\rtmpdump\rtmpdump.exe
rtmpdump=rtmpdump.exe

# FFMPEG is used to mux separate video and audio streams in to a single
# stream so that they can be played. The full or relative path to ffmpeg
# or avconv should be specified here.
#ffmpeg-ffmpeg=C:\Program Files (x86)\Streamlink\ffmpeg\ffmpeg.exe
ffmpeg-ffmpeg=ffmpeg.exe

# Log level, default is info
#loglevel=debug

# Number of threads to use when streaming HLS streams
#hls-segment-threads=1

# Number of threads to use when streaming HDS streams
#hds-segment-threads=1
Reply With Quote
  #63  
Old 04-08-2017, 05:40 PM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: streamlink: an up to date fork of livestreamer


amigo runs XP.

After reading windows installation guide, I am a little confused.

Follow this link, read it, and maybe then you can elaborate in a way
we can understand something without getting confused.

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


Windows binaries

Important

Windows XP is not supported. Windows Vista requires at least SP2 to be installed.

You can download the latest stable Windows installer from the GitHub Releases Page.

Alternatively, you can download the latest nightly Windows installer.

This is a installer which contains:

A compiled version of Streamlink that does not require an existing Python installation
RTMPDump for viewing RTMP streams
ffmpeg for muxing streams

and performs the following tasks:

Adds Streamlink to your $PATH (making it possible to use streamlink directly from the command prompt without specifying its directory)

To build the installer, you need to have NSIS and pynsist installed on your system.
Reply With Quote
  #64  
Old 04-08-2017, 05:53 PM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: streamlink: an up to date fork of livestreamer


@amigo,

are you running this one ?


Windows portable version

Instructions:

Download https://github.com/streamlink/stream...ive/master.zip
Extract the “Streamlink for Windows (Compiled)” folder from the ZIP file
Check README.txt file for requirements and run “Streamlink for Windows.exe”
Reply With Quote
  #65  
Old 04-09-2017, 01:59 AM
Damianonymous Damianonymous is offline
Senior Member
 
Join Date: Jan 2017
Posts: 187
Damianonymous is on a distinguished road
Default

Re: streamlink: an up to date fork of livestreamer


@Johnny but what are you looking for? Amigo wrote that his Streamlink works. He just searched for streamlinkrc, which the standard Windows installer creates here %APPDATA%\streamlink\ In the portable version, you do not need to search for streamlinkrc, it is located in the program folder.
Reply With Quote
  #66  
Old 04-09-2017, 04: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: streamlink: an up to date fork of livestreamer


I wonder how his streamlink works at all.

Windows XP is not supported
Reply With Quote
  #67  
Old 04-09-2017, 12:33 PM
Damianonymous Damianonymous is offline
Senior Member
 
Join Date: Jan 2017
Posts: 187
Damianonymous is on a distinguished road
Default

Re: streamlink: an up to date fork of livestreamer


Maybe just the standard version, apparently used the installation by pip install streamlink.
Reply With Quote
  #68  
Old 04-09-2017, 06:41 PM
ami_go ami_go is offline
Junior Member
 
Join Date: May 2014
Posts: 19
ami_go is on a distinguished road
Default

Re: streamlink: an up to date fork of livestreamer


Hi all , ( thanks for your helps ) ,

Sorry for my late answer !
===
NB : Downloaded "https://www.videohelp.com/download/streamlink-portable-master.zip" ( 2017-02-03 ) . NOT necessary !!!

Installed under Python v2.712 , with this command :
"x:\python_2712\Scripts\pip.exe" install -U streamlink"
---
During Installation :
x:\python_2712\lib\site-packages\streamlink-0.5.0-py2.7.egg
===
Done a batch file ( working ) ; Ex: "...\streamlink.exe" "httpstream://..." best

@j_cool : following what you said ,
====
created a folder ...\AppData\Roaming\streamlink
---
created "streamlinkrc" from a file found on the web , modified with my settings .
====

I don't know how "streamlinkrc" is used by "streamlink.exe" (?) .

Cheers .

Last edited by ami_go : 04-09-2017 at 07:13 PM.
Reply With Quote
  #69  
Old 04-10-2017, 02:03 AM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: streamlink: an up to date fork of livestreamer


There is no need for you to create \AppData\Roaming\streamlink. This is specific to windows 7.

If you type on your command line: set, look what commes as APPDATA, this is XP's equivalent to
windows 7's \AppData\Roaming\streamlink,

C:\Documents and Settings\{username}\Application Data.

https://en.wikipedia.org/wiki/Environment_variable

Streamlink will create for you location where it will place its configuration file.

Find where is your configuration file as in post #54.

If you look at default streamlinkrc file you will see that all lines are commented.

Streamlink can do without using configuration file if it can find VLC on your system.

If you want streamlink to use other player than VLC you can specify in stramlinkrc what other player you want
instead of specifying for every single usage on command line or batch file what other player than VLC you prefer.

Read streamlinkrc from beggining to the end and it will say something about what it is about.

FFmpeg and rtmpdump are optional, if streamlink doesn't install or installs them, I don't know
how it handles various situations it encounters.

You know if you want FFmpeg and rtmpdump or not, so specify in streamlinkrc where they are on your system,
if they are not on the %PATH%.

Type on command line: path, if you don't see your vlc, rtmpdump and ffmpeg there you MUST
specify in stramlinkrc where they are or streamlink won't find them.


C:\>path
PATH=C:\Windows\system32;C:\Windows;C:\Windows\Sys tem32\Wbem;C:\Windows\System32\WindowsPowerShell\v 1.0\;
C:\P\STREAMLINK\bin;C:\AP;C:\AP\CURL;C:\AP\7Z;C:\A P\FF;C:\AP\RDUMP;C:\P\M;C:\P\VLC
Reply With Quote
  #70  
Old 04-10-2017, 05:53 AM
ami_go ami_go is offline
Junior Member
 
Join Date: May 2014
Posts: 19
ami_go is on a distinguished road
Default

Re: streamlink: an up to date fork of livestreamer


Hi ,

@j_cool : Thanks for yours instructions .
I'll try .

Cheers .
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:07 AM.


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