Liquidsoap - 使用PulseAudio和静态图像

时间:2013-08-14 19:49:25

标签: icecast liquidsoap

我正在使用liquidsoap将来自我的杂音服务器的音频流以及静态图像传输到icecast。但是,我似乎无法使用我的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)

我做错了什么?

0 个答案:

没有答案