用apt-get update
apt-get install mplayer后
运行命令后情况如下:
machinekit@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000$ export DISPLAY=:0
machinekit@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000$ python MplayerTest.pyset 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
Cannot open file '/home/machinekit/.mplayer/input.conf': No such file or directory
Failed to open /home/machinekit/.mplayer/input.conf.
Cannot open file '/etc/mplayer/input.conf': No such file or directory
Failed to open /etc/mplayer/input.conf.
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 .
vo: couldn't open the X11 display (:0)!
vo: couldn't open the X11 display (:0)!
vo: couldn't open the X11 display (:0)!
commandline read: mplayer
commandline read: -fs
commandline read: nhd_test.mp4
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.10 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2008 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
—————————————————————-
(*) DirectFB/Core: Single Application Core. (2014-10-21 10:21)(!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
–> No such file or directory
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
(!) DirectFB/Core: Could not initialize 'system_core' core!
–> Initialization error!
vo: couldn't open the X11 display (:0)!
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.10 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2008 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
—————————————————————-
(*) DirectFB/Core: Single Application Core. (2014-10-21 10:21)(!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
–> No such file or directory
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
(!) DirectFB/Core: Could not initialize 'system_core' core!
–> Initialization error!
vo: couldn't open the X11 display (:0)!
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.10 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2008 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
—————————————————————-
(*) DirectFB/Core: Single Application Core. (2014-10-21 10:21)(!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
–> No such file or directory
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
(!) DirectFB/Core: Could not initialize 'system_core' core!
–> Initialization error!
[VO_SDL] SDL initialization failed: DirectFBCreate: Initialization error!.
vo_caca: failed to initialize
VO: [v4l2] No such file or directory
[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: [null] 640×360 => 640×360 Planar YV12 [fs]
V: 0.0 0/ 0 ??% ??% ??,?% 0 0Dead key input on file descriptor 0
V: 22.9 0/ 0 190% 21% 0.0% 0 0
Exiting… (End of file)
None
Does the video play on the screen? (Pass/Fail/Stop) (Pass/Fail/Stop) and comment: Test passed
此过程中投影画面一直为默认画面,无法播放,应该怎么解决呢?
Shine:
DLP的问题有专门的DLP论坛可以咨询。
e2echina.ti.com/…/
yongqing wang:
你下载的代码包是啥版本
user5687849:
回复 yongqing wang:
什么代码包?在操作过程中除了解压并安装了一个系统自带的dlp_lightcrafter-1.0.19.tar包,然后就直接用apt-get 安装mplayer了,没下额外的代码包?需要下载什么样的代码包吗?
yongqing wang:
回复 user5687849:
mplayer 这个官方可能不支持
user5687849:
回复 yongqing wang:
不清楚耶,最开始用python MplayerTest.py 它提示没得mplayer就安装了一个,你知道官方支持哪个版本的在那下载不?