Open ciihom opened 1 year ago
多个视频和音频混合,请问怎么配置。 "resource": { "lists": [ { "unique": "main-res", "groups": [ { "path": "/home/ubuntu/kplayer/resource/Video", "media_type": "video", "persistent_loop": true }, { "path": "/home/ubuntu/kplayer/resource/Mp3", "media_type": "audio" } ] } ], "extensions": [ "mp4", "mp3" ] }, 这样配置 运行报错 " ERRO[2023-03-29 21:59:54] core return error code=-21 error="decode failed. file path: /home/ubuntu/kplayer/resource/Mp3. error: Is a directory [-21]. file: codec/KPMix.cpp. line: 210" INFO[2023-03-29 21:59:54] core shut down success
"
混合模式的资源暂不支持文件夹类型,需要明确指定资源的完整路径
是呀,我也这么操作的,发现行不通,大家都知道这种方式很便利,所以都举一反三的尝试,说明这确实是很多人需要的,但是无奈,尝试后也去研究了解发现,确实不支持这样,我估计下一个版本应该会能解决这个问题吧
多个视频和音频混合,请问怎么配置。 "resource": { "lists": [ { "unique": "main-res", "groups": [ { "path": "/home/ubuntu/kplayer/resource/Video", "media_type": "video", "persistent_loop": true }, { "path": "/home/ubuntu/kplayer/resource/Mp3", "media_type": "audio" } ] } ], "extensions": [ "mp4", "mp3" ] }, 这样配置 运行报错 " ERRO[2023-03-29 21:59:54] core return error code=-21 error="decode failed. file path: /home/ubuntu/kplayer/resource/Mp3. error: Is a directory [-21]. file: codec/KPMix.cpp. line: 210" INFO[2023-03-29 21:59:54] core shut down success
"