bytelang / kplayer-go

A live streaming tool more suitable for non-graphical servers
https://kplayer.net
Apache License 2.0
756 stars 72 forks source link

0.5.8版本 播放mkv格式的视频容器崩溃以及字母无法加载 #71

Open CodeMzc opened 1 year ago

CodeMzc commented 1 year ago

使用过程中遇到了两个问题,看看是不是BUG,麻烦开发者解答一下,非常感谢! Kplayer版本:0.5.8 设备系统:群黑 DS920+ DSM 7.1.1-42962 Update 4
设备CPU:J1900(核显驱动已经打上)

问题1:播放mkv格式的视频,编码为H264,刚开始能正常播放,大约一分钟后容器意外停止崩溃,日志如下图: kplayer问题1

问题2:无法使用插件加载ass字幕,容器启动后立刻停止,同样也是mkv格式视频,日志如下图: kplayer问题2 kplayer问题2-1

我的配置文件如下:

{
    "version": "2.0.0",
    "resource": {
        "lists": [

            "/video/Yes.Prime.Minister.S01.DVDRip.X264-BTN"

        ],
        "extensions": [
            "mp4",
            "mkv",
            "rmvb",
            "ts"
        ]
    },
    "play": {
        "start_point": 1,
        "play_model": "loop",
        "encode_model": "rtmp",
        "cache_on": false,
        "cache_uncheck": false,
        "skip_invalid_resource": true,
        "fill_strategy": "tile",
        "encode": {
            "video_width": 960,
            "video_height": 536,
            "video_fps": 25,
            "audio_channel_layout": 3,
            "audio_sample_rate": 44100,
            "bit_rate": 0,
            "avg_quality": 0
        }
    },

    "output": {
        "reconnect_internal": 5,
        "lists": [{
            "path": "rtmp://live-push.bilivideo.com/live-bvc/******",
            "unique": "test"
        }]
    },

    "plugin": {
        "lists": [

        {
            "path": "show-subtitles",
            "unique": "my_plugin",
            "params": {
                "fonts": "fonts",
                "alpha": "0.8"
            }
        },

        {
            "path": "show-progress",
            "unique": "my_plugin4",
            "params": {
                "fontsize": "8",
                "fontcolor": "Orange",
                "x": "520",
                "y": "10"
            }
        }

        ]
    }

}
silianpan commented 1 year ago

遇到同样的问题

Windy147 commented 1 year ago

same

xiaohuihuitop commented 1 year ago

遇到类似的问题 . 视频格式为 mkv. 容器运行大约1分钟就自动停止了 . 日志中并没有出现error.

Salutation-zl commented 1 year ago

俺也一样

maxchiron commented 11 months ago

加载字幕时遇到同样的错误

Jason0816 commented 9 months ago

一样的问题