Giter VIP home page Giter VIP logo

olive's People

Contributors

luxcgo avatar sxx1314 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  avatar

olive's Issues

增加录制完毕后,运行shell的调用

看到roadmap里有网盘上传,其实可以利用shell来调用各种网盘工具。
可以不内置那些网盘依赖,让各种网盘工具读自己的config。例如rclone、bypy等。

无奖问答

请问这个项目对你有帮助吗?你有什么推荐的直播给大伙吗?

如果觉得这个项目还不错的话,能不能动一动小手,点一个免费的小星星呢 ・ᴗ・

录制不了Youtube

streamlink已安装 cmd已设置代理 curl google 有返回信息
用的快速启动 olive -u https://www.youtube.com/channel/频道id
返回�[36mINFO�[0m[2022-07-17 20:01:02] dispatch add monitor �[36mid�[0m=频道id�[36mpf�[0m=youtube
�[36mINFO�[0m[2022-07-17 20:01:02] dispatch remove recorder �[36mid�[0m=频道id�[36mpf�[0m=youtube
�[36mINFO�[0m[2022-07-17 20:01:02] monitor start �[36mid�[0m=频道id�[36mpf�[0m=youtube
然后就没反应了 twitch也是一样

试过录哔哩哔哩 虎牙可以正常运行

请问作者 关于一些参数的问题

作者大大 如果我想按 2022-04-24 02-02-32 的格式输出文件那我的date 后的参数应该怎么写啊
我按Linux的格式写了{{ date "+%Y-%m-%d %H-%M-%S" }}结果无法识别
您的doc里也没有写明格式 只写了个具体时间例子 能否补全一下标准格式呢?

Room ID for YouTube and StreamLink Question

Does the room ID need to be set for YouTube monitoring?

My current config (config.toml):

[[Shows]]
# platform name
Platform = "youtube"
# room id
RoomID = ""
# streamer name
StreamerName = "thejimmydoreshow"
SaveDir = "C:/Temp/olive-streams"
Parser = "streamlink"

When using streamlink do I simply need it to be available to CMD (Windows Environment Variable: PATH)?

关于文件名设定

用反斜杠 “\” 表示一层文件夹

设定
OutTmpl = "{{ now | date \"20060102\"}}\{{ now | date \"20060102-150405\"}}_{{ .RoomName }}【{{ .StreamerName }}】.flv"

输出
20220720\20220720-220200_直播间标题【ID】.flv

每天都会新建一个名字是当前年月日的文件夹

Output File Format

Please consider changing the output format from FLV to MP4 or MKV.

This will improve tracking and also show a thumbnail in File Explorer.

TikTok's been working great, but there's a new issue

TikTok's been working great for the past 8 weeks or so! But today, I noticed it wasn't taking a snap of someone who was live -- it just kept skipping over them and going to the next streamer. So then I shut olive down and started it over and when it gets to the streamer it skipped, it says Started polling and stops there until they go offline. It doesn't take my any snaps of anyone while they're still on.

EDIT: So it turns out that it does continue with snaps, but only after they stopped polling. If someone is running it poll, it pauses until they're done.

olivearchive 功能无法使用

屏幕截图 2022-07-30 181849
如图 在添加了

[[Shows.PostCmds]]
Path = "olivearchive"

功能后执行时不论SaveDir的文件夹下有无’archive‘这个文件夹都无法正常执行,看提示是使用了rename?怎么是重命名呀,不应该是mvmove

no command olive found

大佬好,我没学过编程自己瞎弄的。用的termux想用备用手机录下直播,安装olive应该是安装了,显示了go:downloading github.com/巴拉巴拉/olive v0.2.8 但是运行olive就no command。是啥原因呢

关于保存位置上日期参数的逻辑问题

1

SaveDir = "E:/Video/录播/{{ now | date \"20060102\"}}/{{ .StreamerName }}/twitch/{{ now | date \"20060102-150405\"}}_标题【{{ .StreamerName }}】/"

开播后,时间变更就会新建文件夹。

视频录制漏录

大佬,我用这个工具录虎牙直播,星期五开启的,星期六的能录制,星期天的就没有,遇到过好几次,平时每天下班时开启录屏,第二天上班来手动关了,下班时再开就没问题,如果连续开几天不关中间就会漏录,win10 64位系统

time="2022-05-30 09:03:30" level=info msg="record stop: exit status 0xc000013a" id=77927 pf=huya
time="2022-05-30 09:03:30" level=info msg="recorder stop" id=77927 pf=huya
time="2022-05-30 09:03:30" level=info msg="monitor stop" id=77927 pf=huya

分段成多个录制文件时,只有第一个正常,剩下的文件只有声音没有画面

a.log
昨天录了几个B站的直播,发现都是这样,尝试用ffmpeg对有问题的文件进行转码,报错如下
[NULL @ 0x7fb448e06300] missing picture in access unit with size 187525 [extract_extradata @ 0x7fb448e06a80] No start code is found. .//xxxxxx.flv: could not find codec parameters Input #0, flv, from './/xxxxx.flv': Metadata: Rawdata : displayWidth : 1280 displayHeight : 720 fps : 30 profile : level : encoder : BVC-SRT LiveHime/4.20.0 (Windows) server : BSRS/1.3.7(Sco) server_version : 1.3.7 Duration: 00:34:03.66, start: 0.000000, bitrate: N/A Stream #0:0: Audio: aac, 44100 Hz, stereo, 262 kb/s Stream #0:1: Video: h264, none, 2764 kb/s, 30 fps, 1k tbn

为单独show配置上传开关/脚本执行

  1. 目前的upload是global选项,是否可以为每个show单独配置?

    建议简易实现:global选项(开)+show配置黑名单(上传开关)。

    工程量大的实现:为每个show单独配置一个上传profile,适应于多个专有录播账号。

  2. 之前执行shell的issue漏提了,由于备份目录的不同,为了减少复杂度,建议为每个[show]指定单独的shell运行配置。
    否则可能要多吐一个主播名字作为判断依据,shell再根据这个名字选择执行不同命令,可能会复杂一点。

download multiple times on one live streamer's configuration

  • dispatch add monitor
  • monitor dispatch add recorder
  • recorder dispatch stop monitor
    when record stops -> snap 3 times, if fail to get stream url -> recorder stops
  • recorder dispatch add monitor

therefore, monitor doesn’t need to dispatch stop recorder
and we trust parser will stop correctly when streaming finished.

solve problem:

  1. snap failure, dispatch stop recorder incorrectly
  2. run multiple record goroutines for one streamer configuration

oliveshell运行命令式如何调用变量$FILE_PATH ?

我需要在录制结束后使用oliveshell运行rclone copy $FILE_PATH anime:LiveRecords的命令,希望能在这条命令中能够解析出$FILE_PATH变量的值并替换到命令中,我尝试了这样写

[[Shows.PostCmds]]
Path = "oliveshell"
Args = ["rclone", "copy", "$FILE_PATH", "anime:LiveRecords"]

但是最后运行的命令中$FILE_PATH没有解析出来路径,而是直接带着变量名运行了,那么如何写配置文件才能解析出变量值呢?

境外服务器无法录制YouTube直播

不好意思,又来打扰大佬了x,但确实出了问题

RT,服务器在vultr的东京机房,系统为Ubuntu 20.04
发布issue时以下三个频道都在直播
https://www.youtube.com/channel/UCwaS8_S7kMiKA3izlTWHbQg
https://www.youtube.com/channel/UC3uoOH4N2F4T9FyAGDwM6Ow
https://www.youtube.com/channel/UCIG9rDtgR45VCZmYnd-4DUw

但SSH输出中并没有录制的状态
image
只有一个用来测试b站直播间在正常录制

请问是否是olive的问题,或者有没有可能是服务器的ip被Google ban掉了?

另外想提点建议,我看到文档中给出的配置文件有以下部分
image
image
给否给出相关的说明,如果可以就非常感谢了

如何录制twitch的直播视频?

[[Shows]]
Platform = "twitch"
RoomID = "????"
StreamerName = "Dakillzor"
录制时需要填写这种房间id,可是我发现tiwich和huya这些不一样,找不到房间号码如何进行填写呢?

录制问题求解

1.请问这几个参数具体代表什么
LogLevel = 5
SnapRestSeconds = 15
SplitRestSeconds = 60
CommanderPoolSize = 1
ParserMonitorRestSeconds = 300

2.streamlink 为什么不开启录制 下了win的构建 该嵌入的都嵌入了

image
image

没有开启录制

图中config没有加SaveDir 我也测试了加SaveDir 同样没有开启录制 请问streamlink具体现在要怎么写设置

如何获取 youtube 频道的 RoomID ?

在测试录制的时候发现的,目前录制不上,这个应该不是原本的频道id
https://www.youtube.com/user/ChineseInternatioify

原生与streamlink一样无法录制

INFO[2022-07-25 01:50:14] dispatch add monitor                          id=ChineseInternatioify pf=youtube
INFO[2022-07-25 01:50:14] dispatch remove recorder                      id=ChineseInternatioify pf=youtube
INFO[2022-07-25 01:50:14] monitor start                                 id=ChineseInternatioify pf=youtube

抖音直播间无法打开

各位师傅,昨天试用了一天,今天的所有直播间已经无法打开,日志显示time="2022-07-10 07:18:34" level=info msg="handle request" signal=terminated,这种情况是如何产生的

使用yt-dlp录制YouTube直播结束距生成mp4文件有长时间延迟

使用配置文件进行录制,下载器为yt-dlp

开始录制时间为00:10:02 UTC

结束录制时间为01:12:07 UTC

而直播时长只有25分38秒

直播结束后有一个后缀名为.part的文件,时长和录制结束生成的mp4文件时长一致

也就是产生了30多分钟的延迟

我负责几个管人字幕组的录播,30多分钟的延迟对于激光烤肉的影响还是比较大的()

希望佬可以解决一下
屏幕截图 2022-07-25 154859
屏幕截图 2022-07-25 154922

能解决音画不同步的问题吗?

现在使用 bililive-go 来录制斗鱼视频,使用ffmpeg或者内置的flv,使用PotPlayer播放正常,但是如果用来剪辑视频(例如剪映),音频会延迟几秒。

对视频格式不太了解,没法判断什么原因造成的。

做了的尝试:

  1. 尝试转码,效果不佳,还是有一些延时
  2. 使用bililive-go native-flv,然后用 https://rec.danmuji.org/user/repair/ 的工具修复,发现同样没效果。

你的录制工具能修复这种异常吗?

配置文件增加全局变量,让配置更方便简洁

供参考

  • 新功能

    • 弹幕录制*
      • 保存 SuperChat
      • 保存 舰长购买(会员)
      • 保存 送礼信息
      • 保存 弹幕原始数据
    • 画质选择
    • 开播抓取直播间封面
    • 录制修复系统
    • 更多的文件名变量
      • 直播平台
      • 生成随机数
    • 原始数据录制
  • 设置优化

    • 新修改启动配置文件,保存后重新读取新配置文件
  • 有生之年

    • webui
    • hls流录制

咕咕咕

请问是如何实现 监测youtube直播状态 的

如题 我目前想到的是反复请求 youtube data api 或 访问频道的直播页面
或者 通过pubsubhubbub 接收到新的推送 再 请求api或直播页面

我不懂go 也不太会使用 github 若滥用了 issues 我也很抱歉
实在是不知道该问谁了

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.