Giter Club home page Giter Club logo

obs-streamlink's Introduction

中文

About the OBS 28 port and cross-platform support

The support for OBS 28 has been done. You're extremely welcomed to post your feedbacks!

For the macOS support, since I don't own a mac, currently I can't provide support for it (notably, some nasty delayed dynamic loading is required, so it's more thing to do than just compile a binary using CMake).

OBS source plugin to receive stream using Streamlink.

👏 Screenshots

Screenshot1

Screenshot2

🌟 Features

  • Broadcast using ONLY OBS. No Chrome. No Webpage. No stream transformer. No extra environment. No extra applications.

  • HANDY as you only need to provide channel link. No other configurations.

  • ISOLATED AUDIO with no need to close all other applications playing sound. The audio from livestream will go directly into OBS, enabling you to even rebroadcast multiple livestreams simultaneously! You can use a

  • Using powerful Streamlink to resolve stream. Born with powerful plugins and community support.

  • Support almost all streaming platforms from worldwide because streamlink has a lot of plugins and has a strong community.

  • Support all Streamlink options so it's able to meet all your needs.

  • Lowest performance consumption as it uses only OBS core modules. It will use NO MORE THAN 10% of CPU when playing. (Plugin + OBS, on a Ryzen 5900HS)

  • Custom Streamlink arguments to match your requirements!

🔔 Requirements

OBS Only (>=28.0).

💨 Install

Just download the installer from the latest release and run it. The installer will check and verify the OBS install path automatically so just click next and finish.

👉 Usage

  • Add a StreamlinkSource in your scene.

  • Paste your channel link and click Refresh Source List. Set up proxy server address if you need.

  • Choose a source from the list (or automatically the best) and click OK. Your stream is now ready.

  • If custom Streamlink arguments is needed, put it in an JSON object, for example: {"http-proxy":"http://localhost:1080", "https-proxy":"http://localhost:1080", "ffmpeg-verbose": true, "ffmpeg-verbose-path": "test.txt"}

  • If you want to add custom plugins, place the .py files in (obs installation path)data/obs-plugins/obs-streamlink/Python38/Lib/site-packages/streamlink/plugins. plugin-dirs Streamlink option is not supported.

⚡ Performance

It won't consume more than 10% of CPU if there's only an instance in the active scene. Tested on several processors.

💬 BUGs & Issues

Feel free to open issues.

💻 Contributions

PRs are welcome! Feel free to contribute on this project.

⚠ LICENSE

GPL-v3.0

obs-streamlink's People

Contributors

cqjjjzr avatar ilharp avatar kinorin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

obs-streamlink's Issues

点击“刷新分辨率列表”后没有任何变化

操作复现

2023-01-23_04-41-56

1.用 youtube-dl 获得YouTube直播流地址

2023-01-23_04-42-04

2.粘贴地址后,点击“刷新分辨率列表”。 然后没有任何变化,选项没有更新

关于环境

操作系统:Win10 专业版
OBS版本:28.0.3
网络:已用Clash代理。开启了虚拟网卡,接管所有流量。
可以用播放器播放链接,但obs-streamlink无反应。

version 0.5 plans

  • 增加关于Streamlink版本管理的功能 (懒得实现了)
  • 更新 mediaplay 代码
  • 加一些可能用到的 Streamlink 选项
  • macOS 与 Linux 支持 ( #31 #2
  • 重构 FFmpeg 引用,使其支持任意 FFmpeg 版本而不用自带一份 (不可行,FFmpeg ABI 不可跨大版本)
  • 自带 FFmpeg 且支持延迟加载

添加直播间链接后刷新分辨率无效

大佬 我在国内 想通过streamlink录制chaturbate的直播
由于无法直连 我是打开了clash for Windows来连接
最开始命令行操作时 它总是显示SSL error 我查询得知是python的库未设置代理的问题
我不太会弄代理设置,后来是通过添加--http-no-ssl-verify这个参数来解决的这个问题
我把这个参数添加到了streamlink的config文件中 以后就可以链接视频成功了
image

但是当我安装obs-streamlink插件后 我在obs中添加一个源后 点击刷新分辨率列表之后没有反应 请问这是怎么回事?如何才能解决呢?
image
另外我注意到您的截图中是填写了高级设置中的http代理https代理的,可以说明一下怎么填这个代理的地址吗
image

MacOs version?

Hi, I've been using this in Windows. I LOVE it. It's perfect.
Now, is it possible to have a MacOs version?

Or can you give me instructions on how to install it in Mac?

Thank you for the great plugin.

Audio stopped working

After about 30 minutes of streaming twitch. The video continued, but the audio was dead. No activity in the audio mixed for this source.

the logs just had this

15:57:31.430: adding 21 milliseconds of audio buffering, total audio buffering is now 64 milliseconds (source: StreamlinkSource)
15:57:31.430: 
15:57:31.578: adding 512 milliseconds of audio buffering, total audio buffering is now 576 milliseconds (source: StreamlinkSource)
15:57:31.578: 
15:57:32.670: adding 21 milliseconds of audio buffering, total audio buffering is now 597 milliseconds (source: StreamlinkSource)
15:57:32.670:

Installed obs and obs-streamlink several times, there is no StreamlinkSource

Hello,
I download the installer from the latest release and run it.
Doubled checked everything, all is same as described in your read me page:
https://github.com/dd-center/obs-streamlink#readme

Unfortunately there is no StreamlinkSource to add as a scene.
I tested the same with vlc and several other programs and plugins they all work.
I really appreciate your help.
Ideally I want to use our main Youtube Video live stream (in English) to playback in my OBS to translate to Turkish live to stream back to Youtube again.
have been using the browser source but I dont want to use the browser source anymore and your plugin looks awesome but can not make it work.
I'm w'll'nmg to pay/donate some to help your cause as well.
Log file is below:
https://obsproject.com/logs/mmKNa_rdUEFxVvLL

Thank you very much

It is a brand new laptop, HP 669A1UA#ABA

Processor 12th Gen Intel(R) Core(TM) i7-12700H 2.30 GHz
Installed RAM 16.0 GB (15.7 GB usable)

General specifications
Operating system
Windows 11 Home 64-bit Version: 22000.856

Microprocessor
12th Gen Intel(R) Core(TM) i7-12700H

System memory
16 GB

Memory slot 1
8GB SK Hynix 3200MHz
Memory slot 2
8GB SK Hynix 3200MHz

System board
891C 63.33

System BIOS
F.05

Video
Graphic device 1
Intel(R) Iris(R) Xe Graphics

Current resolution
3072 x 1920

Refresh rate
60 Hz

Version
30.0.101.1934 (4/20/2022)

[Feature Request] Keep stream running when not visible.

Hello, I'd like to propose the idea of the plugin being able to keep the stream alive and running when the source is not visible, as media and VLC sources already allow. This way, when previewing the source, the stream can be seen playing.

Not working with Facebook Live

Not loading Facebook live videos. I tried replacing the streamlink.exe in the plugin folder with the newest version of stream link because it seems to work directly with latest version.

Streams don't appear in Studio Mode Preview

When using Studio Mode, streams only appear in the Preview pane if they're already loaded in the Program pane. This makes it very difficult to stage a scene before broadcasting it especially because when restarting OBS it often loses the definitions and defaults to displaying the stream at full size.

Is there anyways to force the plugin to load the streams in the Preview pane when using Studio Mode? This would allow users to verify the layout looks good before switching scenes and also pre-load the streams so they're not blank when the scene is first loaded.

Info: More recent versions have been released on their Chinese mirror

I happened to read the Chinese translation of the Readme here and noticed a subtle difference. There's a link to a repo with more recent versions on their Chinese website.

Several new versions in the 2 years since any updates here. Unfortunately no source code, no changelog, and no new options as I had been hoping, but presumably there are improvements.

Latest version here is 0.2.0, over there 0.2.5. They state that users of 0.2.0 should uninstall before install later versions.

https://soft.danmuji.org/obs-streamlink/

This does not work

Paste a Twitch link and click on refresh definitions does not work and nothing displayed

在下载最新0.2.6版本遇到chrome报病毒

chrome报毒无法下载,换用idm下载后,windows defender 提示执行操作,删除或者隔离。
目前我的解决方法是使用0.2.3版,但还是提示有风险,请问大大这种情况要怎么解决

Feature Request: manually set location of python folder.

Hi, today I tested this and it works like a charm :) However, it install python38, which I've already installed (with streamlink.exe and all its files) on another location inside OBS folder, so I wonder if there's a way to point there (For example: "D:\Program Files\Python") instead to have another copy of the python folder. I can make a softlink to there, but if there's exist a workaround, I'll use it,
Cheers.

crash open live youtube

Hello, when I create a source with streamlink, after entering a youtube live OBS it hangs. This is the log:

Unhandled exception: c06d007e
Date/Time: 2023-06-06, 23:43:18
Fault address: 7FFF3420536C (c:\windows\system32\kernelbase.dll)
libobs version: 29.1.2 (64-bit)
Windows version: 10.0 build 22621 (release: 22H2; revision: 1702; 64-bit)
CPU: AMD Ryzen 5 3450U with Radeon Vega Mobile Gfx

Thread 4E14: libobs: graphics thread (Crashed)
Stack EIP Arg0 Arg1 Arg2 Arg3 Address
000000332DFFF730 00007FFF3420536C 0000000000000000 00007FFED89B1ED3 0000000000000000 0000000000000000 kernelbase.dll!0x7fff3420536c
000000332DFFF810 00007FFF20869614 000000332DFFF830 FFFFFFFFFFFFFFFF 0000019C819DA718 0000019C819DA3C0 obs-streamlink.dll!0x7fff20869614
000000332DFFF8B0 00007FFF2086877C 000000007FFE0380 0000000001005000 0000019CF5250110 0000000000000000 obs-streamlink.dll!0x7fff2086877c
000000332DFFF920 00007FFF20862D32 0000019C819DA3C0 0000019CF7F69000 0000019C8250E400 662D6765706D0000 obs-streamlink.dll!0x7fff20862d32
000000332DFFF950 00007FFF2085F60B 000000000000002B 00027311359A77ED 0000019C82541E60 0000000000000000 obs-streamlink.dll!0x7fff2085f60b
000000332DFFF9E0 00007FFF2085F677 0000000000000001 0000019CF7F69000 0000019C8250E400 000000332DFFFB30 obs-streamlink.dll!0x7fff2085f677
000000332DFFFA10 00007FFF213ABC59 0000019C8250E400 0000019CF7F69000 00027311359A77ED 0000019CF7F69000 obs.dll!obs_source_video_tick+0x99
000000332DFFFA50 00007FFF213B1EF3 000000332DFFFB30 00027311359A8420 0000019CF820E520 0000000000000000 obs.dll!obs_graphics_thread_loop+0x2a3
000000332DFFFB10 00007FFF213B1BFB FFFFFFFFFFFFFFFF 0000000000000000 0000019CFE87DEA0 0000000000000000 obs.dll!obs_graphics_thread+0xfb
000000332DFFFBD0 00007FFF249C78B6 0000019CFE674BF0 0000000000000000 0000000000000000 0000000000000000 w32-pthreads.dll!ptw32_threadStart+0x126
000000332DFFFC80 00007FFF33EB9363 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ucrtbase.dll!0x7fff33eb9363
000000332DFFFCB0 00007FFF352026AD 0000000000000000 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x7fff352026ad
000000332DFFFCE0 00007FFF36A0A9F8 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7fff36a0a9f8

OBS Freezing

OBS freezing when loading up a streamnlink source

在使用中遇到了视频、音频卡顿的问题

Can I use Chinese to describe the question?

环境:
win10 专业版
OBS 27.1.3
streamlink 3.0.3
obs-streamlink 0.2.6

问题:
在添加URL(https://abema.tv/now-on-air/mahjong)之后出现连续的视频卡顿,音频也会时断时续,但是在命令行通过streamlink获取流并通过VLC播放就没什么问题。
去年我第一次使用obs-streamlink时就遇到过同样的问题,当前版本问题依然存在,与视频质量的选择无关,我尝试解析其他网站的直播流也是没有问题的。

Building on ubuntu fails

Hello!

I am trying to build obs-streamlink on Ubuntu and getting the following error:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Python3Gen
    linked by target "obs-streamlink" in directory /tmp/obs-streamlink-0.3.1

-- Configuring incomplete, errors occurred!
See also "/tmp/obs-streamlink-0.3.1/CMakeFiles/CMakeOutput.log".

Can you help resolve this? Thank you.

My commands are:

sudo apt install libavfilter-dev libavdevice-dev python3.8-dev
cd /tmp
wget -O obs-streamlink.tar.gz https://github.com/dd-center/obs-streamlink/archive/refs/tags/0.3.1.tar.gz
tar zvfx obs-streamlink.tar.gz
cd obs-streamlink-*
cmake -DGLOBAL_INSTALLATION=true .

没有可用的属性

image
添加streamlinksource源之后,打开属性时一片空白
日志:13:19:36.506: [Streamlink Source 'StreamlinkSource']: Error initializing streamlink session: Unknown exception
13:19:36.507: Failed to create source 'StreamlinkSource'!

支持mac

大大您好,请问可以做一个mac os适配吗?

添加插件后无法选择清晰度也没有画面

日志报告
03:16:34.756: [Streamlink Source]: Failed to open streamlink stream for URL https://www.youtube.com/watch?v=ECQG2u0OID8! PluginError('Unable to open URL: https://www.youtube.com/watch?v=ECQG2u0OID8 (429 Client Error: Too Many Requests for url: https://www.google.com/sorry/index?continue=https://www.youtube.com/watch%3Fv%3DECQG2u0OID8&q=EhAkAIkCAAAAAPA8k__-ovQvGJTQ8Z0GIjCCLyoQCiZlDDrwp61K2lSc4WEhr7wk_6hxyZ7O2cytrL3C2BW_Tlhb70l3btcoZLcyAXI)')
请问这该如何解决

Any plans to update this for v28

as the title says Any plans to update this for v28, would love to use this for various reasons, just a question, not pushing or complains

不知道为什么油管不能转播,获取不到分辨率。

不知道为什么油管不能转播,获取不到分辨率。
OBS27.0和24.0版本都试过。obs-streamlink版本是最新的0.2.4
换了好几个梯子,几个节点,挂全局还是直接在高级设置输入HTTP代理都没用,刷新的时候卡一下,然后并没有分辨率选项出现。而且twitch也可以转播,应该不是梯子问题。
试过填B站的直播地址,还有twitch的直播地址可以正常转播,刷新就会出现分辨率。可是油管不行。按刷新没有反应。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.