嗨,我正在尝试在我的树莓派模型 4 上构建一个 nodejs 应用程序,在收到输入(nfc 标签)后打开一个包含视频的 url。
Es ' http://www.example.com/webapi/content?rfid=05:66:77:66:93:67 '。
问题是,当我尝试使用 vlc 或 omxplayer 打开我的链接时,它会抛出一个错误并且不显示任何视频。我尝试将链接放在 Windows 中 vlc 上的“打开网络流”中,但我遇到了同样的问题,但如果我将链接放在浏览器中,我可以正确看到视频。如果我尝试打开其他视频,我没有遇到任何问题。
不幸的是,出于隐私原因,我无法发布该网站的链接。关于问题可能是什么的任何建议?
树莓派的错误日志:
[01cf9b80] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
[01d089f0] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[01d089f0] main interface error: no suitable interface module
[01c72b58] main libvlc error: interface "dbus,none" initialization failed
[01d152c0] main interface error: no suitable interface module
[01c72b58] main libvlc error: interface "globalhotkeys,none" initialization failed
[01c72b58] main libvlc: Esecuzione di vlc con l'interfaccia predefinita. Usa 'cvlc' per utilizzare vlc senza interfaccia.
error: XDG_RUNTIME_DIR not set in the environment.
[01d152c0] skins2 interface error: cannot initialize OSFactory
[01d152c0] [cli] lua interface: Listening on host "*console".
VLC media player 3.0.8 Vetinari
Command Line Interface initialized. Type `help' for help.
> [b1002098] mp4 stream error: no moov before mdat and the stream is not seekable
[b1001e58] prefetch stream error: cannot seek (to offset 48)
[b1054990] mmal_codec decoder: VCSM init succeeded: CMA
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xb104e340] stream 0, offset 0x4d3: partial file