我正在尝试从源代码安装VLC,以便根据these instructions使用覆盆子pi的硬件(问题仅限软件,因此我在这里询问)。我已设法安装它,但是,我看不到任何视频,只听到音频。我可以通过两种方式启动视频,如果我在没有硬件使用的情况下启动它,通过vlc filename
,我得到以下错误,我看不到启动窗口,但我听到了音频。如果我通过vlc --vout omxil_vout filename
使用硬件启动它,我仍然会得到相同的错误,但我确实看到一个窗口启动,它显示电影名称,我听到音频,但是,窗口是完全黑色的。
错误(以详细信息运行时。另请注意,X11错误与我现在正在运行putty的事实有关,但我得到相同的错误):
VLC media player 2.2.0-git Weatherwax (revision 2.1.0-git-1098-g5e5a9ad)
[0xab89e8] main libvlc warning: cannot read /home/raspi/downloads/vlc/src/.libs/vlc/plugins/plugins.dat (No such file or directory)
[0xb3cb18] main interface error: no suitable interface module
[0xab89e8] main libvlc error: interface "globalhotkeys,none" initialization failed
[0xb3caf0] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[0xb3caf0] main interface error: no suitable interface module
[0xab89e8] main libvlc error: interface "dbus,none" initialization failed
[0xab89e8] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0xb3ded0] [cli] lua interface: Listening on host "*console".
VLC media player 2.2.0-git Weatherwax
Command Line Interface initialized. Type `help' for help.
> [matroska,webm @ 0xb5f2a500] Estimating duration from bitrate, this may be inaccurate
[matroska,webm @ 0xb5f17860] Estimating duration from bitrate, this may be inaccurate
[0xb3c180] main video output error: video output creation failed
[0xb5f347b0] main decoder error: failed to create video output
[0xb5f347b0] main decoder warning: can't get output picture
[0xb5f347b0] avcodec decoder warning: disabling direct rendering
[0xb36b48] main audio output warning: playback too late (60415): up-sampling
[0xb36b48] main audio output warning: playback too late (60226): up-sampling
[0xb36b48] main audio output warning: timing screwed (drift: 121945 us): stopping resampling
[0xb36b48] main audio output warning: playback too late (122085): up-sampling
^C[0xb3ded0] [cli] lua interface error: Error loading script /home/raspi/downloads/vlc/share/lua/intf/cli.luac: lua/intf/modules/host.lua:279: Interrupted.
我知道问题与这两行有关:
[0xb3c180] main video output error: video output creation failed
[0xb5f347b0] main decoder error: failed to create video output
但他们没有给我足够的信息来开始排除故障。请有人帮我诊断一下这个问题。