镜像文件:bone-debian-8.9-lxqt-4gb-armhf-2017-11-02-4gb.img
系统:Linux beaglebone 4.4.91-ti-r136 #1 SMP Thu Nov 2 02:28:07 UTC 2017 armv7l GNU/Linux
硬件:beaglebone black + DLP LightCrafter Display 2000 EVM
命令如下:
root@beaglebone:~# uname -a
Linux beaglebone 4.4.91-ti-r136 #1 SMP Thu Nov 2 02:28:07 UTC 2017 armv7l GNU/Linux
root@beaglebone:~# cd /opt/scripts/device/bone/capes/DLPDLCR2000/
root@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000# export DISPLAY=:0
root@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000# python MplayerTest.py
set slave address: 27
Make sure the display port is set. For example export DISPLAY=:0
1
SourceSel.EXTERNAL_VIDEO_PARALLEL_I_F_
2
Resolution.NHD_LANDSCAPE
##################################################################
play video
nhd_test.mp4
MPlayer2 2.0-728-g2c378c7-4+b1 (C) 2000-2012 MPlayer Team
Unfinished key binding: vo_drive="xv"
Playing nhd_test.mp4.
Detected file format: QuickTime / MOV (libavformat)
[lavf] stream 0: video (h264), -vid 0
Clip info:
major_brand: mp42
minor_version: 1
compatible_brands: mp42avc1
creation_time: 2017-07-07 14:32:35
Load subtitles in .
No protocol specified
vo: couldn't open the X11 display (:0)!
No protocol specified
vo: couldn't open the X11 display (:0)!
No protocol specified
vo: couldn't open the X11 display (:0)!
No protocol specified
No protocol specified
[gl] OpenGL 3.x context creation not implemented.
No protocol specified
vo: couldn't open the X11 display (:0)!
No protocol specified
No protocol specified
SDL SetVideoMode failed: No video mode large enough for 320×200
No protocol specified
vo: couldn't open the X11 display (:0)!
No protocol specified
No protocol specified
[VO_SDL] Using driver: fbcon.
No protocol specified
vo: couldn't open the X11 display (:0)!
[ass] auto-open
Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [libavcodec]
Audio: no sound
Starting playback…
VIDEO: 640×360 30.000 fps 3600.5 kbps (450.1 kB/s)
VO: [sdl] 640×360 => 640×360 Planar YV12 [fs]
[VO_SDL] Couldn't get any acceptable SDL Mode for output.
FATAL: Cannot initialize video driver.
FATAL: Could not initialize video filters (-vf) or video output (-vo).
Exiting… (End of file)
None
Does the video play on the screen? (Pass/Fail/Stop) (Pass/Fail/Stop) and comment: Test passed
root@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000#
现象:
视频无法播放。
Jian Zhou:
您用的是社区发布的Linux代码包吧?这个TI官方是不支持的。
xiansheng luo:
回复 Jian Zhou:
请问TI官方支持的linux代码包在哪个网站?我换了好多代码包都不支持DLP投影视频。还有,能具体指明哪个linux代码包支持DLP LightCrafter Display 2000 EVM吗?