bytelang / kplayer-go

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

filter cannot loaded #115

Open 90zm opened 1 year ago

90zm commented 1 year ago

ERRO[2023-06-11 09:07:49] core return error code=-22 error="filter cannot loaded. filter name: buffer. error: Invalid argument [-22]. file: codec/KPFilter.cpp. line: 201" 配置文件为官网的全局配置文件。

{
    "version": "2.0.0",
    "resource": {
        "lists": [
            "/home/user/video/起风了.flv"
        ],
        "extensions": [
            "mp4"
        ]
    },
    "play": {
        "start_point": 1,
        "play_model": "list",
        "encode_model": "rtmp",
        "cache_on": false,
        "cache_uncheck": false,
        "skip_invalid_resource": false,
        "fill_strategy": "tile",
        "rpc": {
            "on": true,
            "http_port": 4156,
            "grpc_port": 4157,
            "address": "127.0.0.1"
        },
        "encode": {
            "video_width": 854,
            "video_height": 480,
            "video_fps": 25,
            "audio_channel_layout": 3,
            "audio_sample_rate": 44100,
            "bit_rate": 0,
            "avg_quality": 0
        }
    },
    "output": {
        "reconnect_internal": -1,
        "lists": [{
            "path": "rtmp://127.0.0.1:1935/push",
            "unique": "test"
        }]
    },
    "plugin": {
        "lists": [{
            "path": "show-text",
            "unique": "my_plugin",
            "params": {
                "text": "hello kplayer",
                "font_size": "20"
            }
        }]
    }
}
90zm commented 1 year ago

已解决,文件夹内文件名无法识别。