Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

录制弹幕并导出 #2

Closed
youth1996 opened this issue Mar 29, 2018 · 12 comments
Closed

录制弹幕并导出 #2

youth1996 opened this issue Mar 29, 2018 · 12 comments
Assignees
Labels
enhancement New feature or request

Comments

@youth1996
Copy link

方便录制时顺便下载字幕吗,不转化ass之前的xml也行。

@Genteure Genteure changed the title 请求 录制弹幕并导出 Mar 29, 2018
@Genteure Genteure added the enhancement New feature or request label Mar 29, 2018
@Genteure Genteure added this to the v1.1.0 milestone Mar 29, 2018
@Genteure
Copy link
Member

下个版本再做

@youth1996
Copy link
Author

ok,好的,谢谢

@Genteure Genteure self-assigned this Apr 15, 2018
@Genteure
Copy link
Member

B站主站弹幕xml格式

<?xml version="1.0" encoding="UTF-8"?>
<i>
    <chatserver>chat.bilibili.com</chatserver>
    <chatid>数字id</chatid>
    <mission>0</mission>
    <maxlimit>1000</maxlimit>
    <state>0</state>
    <real_name>0</real_name>
    <source>k-v</source>
    <d p="在视频中的秒浮点数,弹幕类型,弹幕字号,十进制RGB颜色,发送UNIX时间戳,弹幕池保持0普通,hash后的发送者id,数据库id">弹幕内容</d>
</i>

B站直播弹幕消息格式

{
    "info": [
        [0, 1, 25, 16777215, 1540904619, -406758470, 0, "f20e41ac", 0, 0],
        "阿狗真的是非 本来剑魔逆风就不好打",
        [187867640, "ED-患者rczz", 0, 0, 0, 10000, 1, ""],
        [],
        [21, 0, 5805790, ">50000"],
        [], 0, 0, {
            "uname_color": ""
        }
    ],
    "cmd": "DANMU_MSG"
}
{
    "info": [
        [0, 1, 25, 16777215, 1540910472, "1540905601", 0, "bdabbc6e", 0, 0],
        "这么强的c怎么输躺赢啊",
        [11034222, "注入点灵魂", 0, 0, 0, 10000, 1, ""],
        [6, "狗雨", "宫本狗雨", 102, 5805790, ""],
        [17, 0, 6406234, ">50000"],
        ["title-155-1", "title-155-1"], 0, 0, {
            "uname_color": ""
        }
    ],
    "cmd": "DANMU_MSG"
}

@Genteure
Copy link
Member

先咕了,再下个版本再做

@Genteure Genteure modified the milestones: v1.1.0, next Oct 30, 2018
@Genteure Genteure modified the milestones: v1.1.2, next Dec 17, 2018
@ClariSMOMO
Copy link

我也想这个功能...

@xmt328
Copy link

xmt328 commented Aug 7, 2020

这个功能还会有么
感觉还挺有用的

@Genteure
Copy link
Member

Genteure commented Aug 8, 2020

@xmt328 会有,但是应该还会再搁置一段时间

@gandayfreedm468
Copy link

我是前天下载的使用者。很好用。要是弹幕也能下载更棒了!
这样用弹弹play看的时候也能和当天一样。就算因为想看的直播睡过头也不用担心了

@n12z
Copy link

n12z commented Sep 14, 2020

迫切需求录制弹幕功能..隔壁biliroku已经不能用了...

@Jobsecond
Copy link

强烈要求支持保存弹幕,可以先只保存原始文件

@Genteure
Copy link
Member

已实现录制弹幕功能 #126

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

8 participants
@Genteure @xmt328 @Jobsecond @youth1996 @n12z @ClariSMOMO @gandayfreedm468 and others