我正在尝试从源代码安装 VLC,以便按照这些说明使用树莓派的硬件(问题只是软件,因此我在这里问) 。我已经设法安装它,但是,我看不到任何视频,只能听到音频。有两种方法可以启动视频,如果我在不使用硬件的情况下启动它,通过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
但他们没有给我足够的信息来开始故障排除。有人可以帮我诊断这个问题。