我无法使用 gstreamer 创建管道,并且不知道如何进一步调试它。
gst-launch-1.0 --gst-debug=GST_CAPS:4 -v -e customsrc num-buffers=1000 ! video/x-h264,width=600,height=600,framerate=1/12,stream-format=byte-stream ! mpegtsmux ! udpsink host=10.92.7.2 port=5000
WARNING: erroneous pipeline: could not link customsrc0 to mpegtsmux0
Run Code Online (Sandbox Code Playgroud)
Customsrc 和 mpegtsmux 的功能是匹配的。但显然缺少一些东西。
海关资源库
Pad Templates:
SRC template: 'src'
Availability: Always
Capabilities:
video/x-h264
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 1/2147483647, 2147483647/1 ]
stream-format: avc
alignment: au
Run Code Online (Sandbox Code Playgroud)
mpegtsmux
Pad Templates:
SINK template: 'sink_%d'
Availability: On request
Has request_new_pad() function: 0x76beca8c
Capabilities:
video/x-h264
stream-format: byte-stream
alignment: { au, nal …Run Code Online (Sandbox Code Playgroud) 我想创建一个基于的新目标core-image-minimal,我想用systemdover更改初始化系统SysV init。我希望我的更改是永久性的(不基于 local.conf)。我怎样才能做到这一点?
我正在测试一个使用 go 编写的非常简单的 webauthn 示例,来自https://github.com/hbolimovsky/webauthn-example,当我为主机构建它时,它运行得很好。我正在使用 MacOS Big Sur 和 Chrome 91。但是,如果我为 arm7/linux 机器构建示例,则会收到“浏览器不支持”错误消息。
显然,浏览器是受支持的,因为它可以在主机上运行。检查浏览器支持的代码是这样的
// check whether current browser supports WebAuthn
if (!window.PublicKeyCredential) {
alert("Error: this browser does not support WebAuthn");
return;
}
Run Code Online (Sandbox Code Playgroud)
交叉编译的机器无法访问互联网,尽管我非常怀疑这就是原因。这可能是什么原因?
我通过交叉编译机器的 IP 地址访问它。这可能是原因吗?为了测试这一点,我通过它的 bonjour 名称访问它,但这没有什么区别。