go-olive / olive

Live Stream Recorder 直播录制/录播
https://go-olive.github.io
Apache License 2.0
858 stars 84 forks source link

Questions about some new stuff in the config #113

Open spinningsand opened 1 year ago

spinningsand commented 1 year ago

I only just recently installed the newest version and when I checked the config, I didn't know what some lines in it meant or if I should keep it the same or change them:

PortalUsername = 'olive'

PortalPassword = 'olive'

LogDir = '/Users/lucas/github/olive'

SaveDir = '/Users/lucas/github/olive/videos'

SplitRestSeconds = 60

CommanderPoolSize = 1

ParserMonitorRestSeconds = 10

CookieFilepath = '/Users/lucas/github/olive/cookies.json'

Threads = 6

MaxBytesPerSecond = 2097152

PostCmds = '[{"Path":"oliveshell","Args":["/bin/zsh","-c","echo $FILE_PATH"]},{"Path":"olivebiliup"},{"Path":"olivetrash"}]'

SplitRule = '{"FileSize":2000000000,"Duration":"1h"}'

I also noticed the parser was set to flv. Does that work better than ffmpeg (for TikTok specifically) or should I keep using ffmpeg?

EDIT: Sorry if this might be a lot of stuff to explain, but a brief idea is all I'd need.

spinningsand commented 1 year ago

And when I try to run config, it only runs the last streamer that I have listed there. All the other blocks get skipped over.

EDIT: This is for TikTok.

gonnab commented 1 year ago

今天第一次使用新版olive v0.5.6 遇到同样的问题 只运行最后一个[[Shows]]配置项 afreecatv twitch douyin 都是 请问哪边配置不对吗? 之前一直使用0.3.3没遇过这个 昨天douyin用不了 来更新新版才遇上

题外话 想问一个设定的意思 "# 直播间录播结束后执行命令的并发执行的个数" CommanderPoolSize = 1 并发执行是?执行哪些命令? 有无设置这个有什么区别吗 数字大小代表什么呢

以上 谢谢您~