1

我正在使用 Liquidsoap 将音频从我的 murmur 服务器以及静态图像流式传输到 icecast。但是,我似乎无法让 Liquidsoap 使用我的 JPEG 文件

Failed to register plugin /usr/lib/frei0r-1/facebl0r.so: Frei0r.Not_a_plugin
Failed to register plugin /usr/lib/frei0r-1/facedetect.so: Frei0r.Not_a_plugin
Invalid value at line 6, char 14-43:
  Could not get a valid media file of kind {audio=0;video=1;midi=0} from "/home/iandun/stream/test.jpg".

该文件确实存在,我使用 GIMP 创建它。我的代码(很短)如下:

#!/usr/bin/liquidsoap

set("frame.video.width", 800)
set("frame.video.height", 600)

video_file = "/home/iandun/stream/test.jpg"

video = single(video_file)

source = mux_video(video=video,input.pulseaudio(device = "stream.monitor"))

output.icecast(%ogg(%vorbis,%theora),     host = "duncan.usr.sh", port = 8000,      
password = "my_password", mount = "test.ogv",     
source,fallible=true)

我究竟做错了什么?

4

0 回答 0