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

抖音录制画质非最高码率 #108

Closed
xueli12 opened this issue May 3, 2024 · 1 comment
Closed

抖音录制画质非最高码率 #108

xueli12 opened this issue May 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@xueli12
Copy link

xueli12 commented May 3, 2024

运行环境

版本号:2.3.3
运行平台:win10
运行架构:x86
Python版本:3.12

配置文件

{
    "proxy": "http://127.0.0.1:7897",
    "output": "output",
    "user": [
        {
            "platform": "Douyin",
            "id": "456066026839",
            "name": "douyin测试1",
            "cookies": "ttwid=XXXX",
            "output": "C:/record/KBJ/Douyin/测试",
            "interval": 60,
            "format": "flv",
        },
        {
            "platform": "Douyin",
            "id": "456066026839",
            "name": "douyin测试2",
            "output": "C:/record/KBJ/Douyin/测试",
            "interval": 60,
            "format": "flv",
        }

    ]
}

复现步骤(可选)

1.分别使用了登录后的cookie和不填cookie
2.
3.
...

错误描述

使用cookie和不使用cookie下载的视频画质是一样的,码率大概都是5000多,经分析,flv_pull_url中并不包含原画画质的视频流
image

下面这两个为使用其他两个不同的程序录制的视频的码率信息,均为原画画质:
image
image

最后附上能获取到douyin原画直播流的项目的代码供作者大大参考:

第一个是https://github.com/biliup/biliup/blob/master/biliup/plugins/douyin.py
其中biliup这段代码的逻辑是在原画获取不到时会优先选最低一档的画质,建议在参考biliup代码的的基础上在origin画质获取不到时选择uhd画质,从高到低选择

第二个是
https://github.com/hr3lxphr6j/bililive-go/blob/master/src/live/douyin/douyin.go
看不太懂代码

错误日志

无报错,只是视频画质非最高码率

错误截图(可选)

No response

@xueli12 xueli12 added the bug Something isn't working label May 3, 2024
@stale stale bot added the wontfix This will not be worked on label Jun 2, 2024
@stale stale bot closed this as completed Jun 9, 2024
Repository owner deleted a comment from stale bot Jul 6, 2024
@auqhjjqdo auqhjjqdo removed the wontfix This will not be worked on label Jul 6, 2024
@auqhjjqdo auqhjjqdo reopened this Jul 6, 2024
@auqhjjqdo
Copy link
Owner

v2.35已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants