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
  #41  
Old 04-06-2017, 01:54 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


Quote:
Originally Posted by Damianonymous View Post
I did not use Streamlink with ffmpeg.exe, only a version built into Python
How did you do that? To me sounds like something impossible.
Reply With Quote
  #42  
Old 04-06-2017, 02:19 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


You are laughing at me? I know that without knowing the language I could write something wrong. I mean, I do not install the program, I only use Python pip install -U streamlink
Reply With Quote
  #43  
Old 04-06-2017, 03:08 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


pip install -U streamlink

streamlink

Where did you get this from ( link )?

Not any file extension? ( streamlink-latest.exe, for example )
Reply With Quote
  #44  
Old 04-06-2017, 03:54 AM
ihryjfbd ihryjfbd is offline
Senior Member
 
Join Date: Oct 2015
Posts: 212
ihryjfbd is on a distinguished road
Default

Re: streamlink: an up to date fork of livestreamer


Quote:
Originally Posted by j_cool View Post
pip install -U streamlink

streamlink

Where did you get this from ( link )?

Not any file extension? ( streamlink-latest.exe, for example )
You don't have to add the extensions if you put it in your enviroment variables, same with livestreamer.
Also allows you to issuse the command without stating which folder the program is in too.
Reply With Quote
  #45  
Old 04-06-2017, 05:57 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


This is fine about the usage after installation.

He says he ran streamlink without ffmpeg.

FFmpeg comes together with streamlink-latest.exe, if you open installation file as an archive with 7zip for example,
you will find FFmpeg inside it.

After installation, I don't find any other ffmpeg apart from one I already have in c:\ap\ff\ffmpeg.exe, and on %PATH%.

My c:\ap\ff\ffmpeg.exe is one I extracted from streamlink-latest.exe before installing streamlink
and placed in to c:\ap\ff\ ( deleted zeranoe ffmpeg, replacing it with one found inside streamlink-latest.exe ).

I tried "streamlink" ffmpeg and "zeranoe" ffmpeg on their own ( no streamlink ) and found that in one
situation "streamlink" ffmpeg does the job and "zeranoe" ffmpeg comes half the way and stops.

https://github.com/streamlink/streamlink/issues/750

I try to find out what is he actually running, "streamlink" doesn't tell me anything,
and he is shy or lazy to say a few more words.
Reply With Quote
  #46  
Old 04-06-2017, 06:27 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


In the environment variables, just have these Python paths -
C:\Python27\;C:\Python27\Scripts The installation is done with the command "pip install streamlink", "pip install livestreamer", etc. Updates to the new version with the command "pip install -U streamlink".

P.S. Chaturbate plugin does not work. For this moment he works with this code:

Code:
import re

from streamlink.plugin import Plugin
from streamlink.plugin.api import http, validate
from streamlink.stream import HLSStream

_url_re = re.compile(r"http(s)?://(\w+.)?chaturbate.com/[^/?&]+")
_playlist_url_re = re.compile("html \+= \"src='(?P<url>[^']+)\?")
_schema = validate.Schema(
    validate.transform(_playlist_url_re.search),
    validate.any(
        None,
        validate.all(
            validate.get("url"),
            validate.url(
                scheme="http",
                path=validate.endswith(".m3u8")
            )
        )
    )
)


class Chaturbate(Plugin):
    @classmethod
    def can_handle_url(self, url):
        return _url_re.match(url)

    def _get_streams(self):
        playlist_url = http.get(self.url, schema=_schema)
        if not playlist_url:
            return

        return HLSStream.parse_variant_playlist(self.session, playlist_url)


__plugin__ = Chaturbate
But this can change soon so keep track of the topic: https://github.com/streamlink/streamlink/issues/767
Reply With Quote
  #47  
Old 04-06-2017, 06:32 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


Can you post here link where you got your "streamlink" from ?

I want to follow the same steps and see how it works from me.

To do that, I first have to get your "streamlink".

This is about installing streamlink as first step.
Reply With Quote
  #48  
Old 04-06-2017, 06:38 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


https://streamlink.github.io/install.html
Reply With Quote
  #49  
Old 04-06-2017, 06:43 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 see,

"Source code", install python first and follow.

Optional
RTMPDump Required to play RTMP streams.
python-librtmp Required by the ustreamtv plugin to be able to use non-mobile streams.
ffmpeg Required to play streams that are made up of separate audio and video streams, eg. YouTube 1080p+

Looks like you are running linux.

Looks different with windows.
Reply With Quote
  #50  
Old 04-06-2017, 07:04 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 just had a look in windows installation and there is an option
"bundled tools".

I scripted my installation ages ago and forgot it is optional to install
rtmpdump and ffmpeg.

I choose not to instal ffmpeg and rtmpdump because I have them
pre installed.

I highly recommend to install streamlink's ffmpeg and not to install streamlink's rtmpdump,
and use KSV's rtmpdump instead.

It is possible to use KSV rtmpdump with streamlink, you just have to update the path to rtmpdump in your streamlinkrc file.

Last edited by j_cool : 04-06-2017 at 09:54 AM.
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 10:12 AM.


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