CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
楼主: inngi2013

Cubian下安装XBMC 超简单实现视频硬解码

[复制链接]
发表于 2014-9-9 20:50:01 | 显示全部楼层
cubian-update 成,但是 sunxi_disp_test 还是没有成功,console 的输出和网站上的一样,就是没有图像。 :(

有用cubieboard2 做硬解压成功的吗?
回复 支持 反对

使用道具 举报

发表于 2014-9-10 10:15:09 | 显示全部楼层
从LOG 里面发现了这个出错信息:

[    34.203] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/lima_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/lima_dri.so: cannot open shared object file: No such file or directory)

lima_dri.so 是在哪里的?
回复 支持 反对

使用道具 举报

发表于 2014-9-11 15:34:06 | 显示全部楼层
播放一个测试文件, 没有图像。 如果选择声音通道,声音还是正常的。看LOG, 没有看见那里出问题。
###
cubie@Cubian:~$ mplayer -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau *.mp4
MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing sintel_trailer-1080p.mp4.
Detected file format: QuickTime/MPEG-4/Motion JPEG 2000 format (libavformat)
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO:  [H264]  1920x1080  24bpp  24.000 fps  2108.4 kbps (257.4 kbyte/s)
Clip info:
major_brand: isom
minor_version: 512
compatible_brands: isomiso2avc1mp41
creation_time: 1970-01-01 00:00:00
title: Sintel Trailer
artist: Durian Open Movie Team
encoder: Lavf52.62.0
copyright: (c) copyright Blender Foundation | durian.blender.org
description: Trailer for the Sintel open movie project
Load subtitles in .
[VDPAU SUNXI] VE version 0x1623 opened.
==========================================================================
Forced video codec: ffmpeg12vdpau
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 126.7 kbit/8.25% (ratio: 15836->192000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] Init failed: Connection refused
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 1920x1080 => 1920x1080 H.264 VDPAU acceleration
[vdpau] Got display refresh rate 60.233 Hz.
[vdpau] If that value looks wrong give the -vo vdpau:fps=X suboption manually.
[VDPAU SUNXI] Presentation time not supported
A:  51.9 V:  52.2 A-V: -0.178 ct:  0.000   0/  0 39% 20%  1.9% 0 0
###
回复 支持 反对

使用道具 举报

发表于 2014-9-21 23:06:02 | 显示全部楼层
cubietruck  cubian系统,启动xbmc时报错


22:50:15 T:3049123840  NOTICE: Getting hardware information now...
22:50:15 T:3049123840    INFO: Using analog output
22:50:15 T:3049123840    INFO: AC3 pass through is enabled
22:50:15 T:3049123840    INFO: DTS pass through is enabled
22:50:15 T:3049123840    INFO: AAC pass through is disabled
14:50:15 T:3049123840  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
14:50:15 T:3049123840   DEBUG: CPlayerCoreConfig::<ctor>: created player DVDPlayer for core 1
14:50:15 T:3049123840   DEBUG: CPlayerCoreConfig::<ctor>: created player oldmplayercore for core 1
14:50:15 T:3049123840   DEBUG: CPlayerCoreConfig::<ctor>: created player PAPlayer for core 3
14:50:15 T:3049123840   DEBUG: CPlayerSelectionRule::Initialize: creating rule: system rules
14:50:15 T:3049123840   DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtv
14:50:15 T:3049123840   DEBUG: CPlayerSelectionRule::Initialize: creating rule: hdhomerun/myth/mms/udp
14:50:15 T:3049123840   DEBUG: CPlayerSelectionRule::Initialize: creating rule: lastfm/shout
14:50:15 T:3049123840   DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtmp
14:50:15 T:3049123840   DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtsp
14:50:15 T:3049123840   DEBUG: CPlayerSelectionRule::Initialize: creating rule: streams
14:50:15 T:3049123840   DEBUG: CPlayerSelectionRule::Initialize: creating rule: aacp/sdp
14:50:15 T:3049123840   DEBUG: CPlayerSelectionRule::Initialize: creating rule: mp2
14:50:15 T:3049123840   DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvd
14:50:15 T:3049123840   DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvdimage
14:50:15 T:3049123840   DEBUG: CPlayerSelectionRule::Initialize: creating rule: sdp/asf
14:50:15 T:3049123840   DEBUG: CPlayerSelectionRule::Initialize: creating rule: nsv
14:50:15 T:3049123840   DEBUG: CPlayerSelectionRule::Initialize: creating rule: radio
14:50:15 T:3049123840  NOTICE: Loaded playercorefactory configuration
14:50:15 T:3049123840  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
14:50:15 T:3049123840  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
14:50:15 T:3049123840  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
14:50:15 T:3049123840  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
14:50:15 T:3049123840  NOTICE: Default DVD Player: dvdplayer
14:50:15 T:3049123840  NOTICE: Default Video Player: dvdplayer
14:50:15 T:3049123840  NOTICE: Default Audio Player: paplayer
14:50:15 T:3049123840  NOTICE: Disabled debug logging due to GUI setting. Level 0.
14:50:15 T:3049123840  NOTICE: Log level changed to 0
14:50:15 T:3049123840  NOTICE: Loading media sources from special://masterprofile/sources.xml
14:50:15 T:3049123840    INFO: creating subdirectories
14:50:15 T:3049123840    INFO: userdata folder: special://masterprofile/
14:50:15 T:3049123840    INFO: recording folder:
14:50:15 T:3049123840    INFO: screenshots folder:
14:50:15 T:3049123840    INFO: thumbnails folder: special://masterprofile/Thumbnails
14:50:15 T:3049123840    INFO: load language info file: special://xbmc/language/English/langinfo.xml
14:50:15 T:3049123840   DEBUG: trying to set locale to en_US.UTF-8
14:50:15 T:3049123840    INFO: global locale set to en_US.UTF-8
14:50:15 T:3049123840    INFO: load English language file, from path: special://xbmc/language/
14:50:15 T:3049123840   DEBUG: POParser: loaded 2686 strings from file /allwinner/xbmc-pvr-binhf/share/xbmc/language/English/strings.po
14:50:15 T:3049123840    INFO: CSoftAE::InternalOpenSink - sink incompatible, re-starting
14:50:15 T:3049123840    INFO: CAESinkALSA::Initialize - Attempting to open device "@"
14:50:15 T:3049123840    INFO: CAESinkALSA - ALSA: pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
14:50:15 T:3049123840    INFO: CAESinkALSA - Unable to open device "front" for playback
14:50:15 T:3049123840    INFO: CAESinkALSA::Initialize - Opened device "sysdefault"
14:50:15 T:3049123840    INFO: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
14:50:15 T:3049123840    INFO: CAESinkALSA::InitializeHW - Using data format AE_FMT_S16NE
14:50:15 T:3049123840   DEBUG: CAESinkALSA::InitializeHW - Request: periodSize 2048, bufferSize 8192
14:50:15 T:3049123840   DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 2048, bufferSize 8192
14:50:15 T:3049123840   DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 186 ms
14:50:15 T:3049123840   DEBUG: CSoftAE::InternalOpenSink - ALSA Initialized:
14:50:15 T:3049123840   DEBUG:   Output Device : Default (sunxi-CODEC sunxi PCM)
14:50:15 T:3049123840   DEBUG:   Sample Rate   : 44100
14:50:15 T:3049123840   DEBUG:   Sample Format : AE_FMT_S16NE
14:50:15 T:3049123840   DEBUG:   Channel Count : 2
14:50:15 T:3049123840   DEBUG:   Channel Layout: FL,FR
14:50:15 T:3049123840   DEBUG:   Frames        : 2048
14:50:15 T:3049123840   DEBUG:   Frame Samples : 4096
14:50:15 T:3049123840   DEBUG:   Frame Size    : 4
14:50:15 T:3049123840   DEBUG: CSoftAE::InternalOpenSink - Using speaker layout: 2.0
14:50:15 T:3049123840   DEBUG: CSoftAE::InternalOpenSink - Internal Buffer Size: 16384
14:50:15 T:3047502912  NOTICE: Thread CSoftAE start, auto delete: false
14:50:15 T:3047502912    INFO: CSoftAE::Run - Thread Started
14:50:15 T:3049123840  NOTICE: Running database version Addons15
14:50:15 T:3049123840   DEBUG: SECTIONoadDLL(special://xbmcbin/system/libcpluff-arm.so)
14:50:15 T:3049123840   DEBUG: Loading: /allwinner/xbmc-pvr-binhf/lib/xbmc/system/libcpluff-arm.so
14:50:15 T:3049123840    INFO: ADDON: cpluff: 'Could not read plug-in directory /allwinner/xbmc-pvr-binhf/lib/xbmc/addons: No such file or dir
ectory'
14:50:15 T:3049123840   DEBUG: LoadMappings - loaded node "Motorola Nyxboard Hybrid"
14:50:15 T:3049123840   DEBUG: LoadMappings - loaded node "CEC Adapter"
14:50:15 T:3049123840   DEBUG: LoadMappings - loaded node "ulse-Eight CEC Adapter"
14:50:15 T:3049123840   DEBUG: LoadMappings - loaded node "iMON HID device"
14:50:15 T:3049123840   DEBUG: CPeripheralBusUSB - initialised udev monitor
14:50:15 T:3038831680  NOTICE: Thread XBMC Peripherals start, auto delete: false
14:50:15 T:3049123840    INFO: LIRC Initialize: using: /dev/lircd
14:50:15 T:3049123840    INFO: LIRC Initialize: connect failed: No such file or directory
14:50:15 T:3049123840   DEBUG: Failed to connect to LIRC. Retry in 10s.
14:50:15 T:3049123840   DEBUG: Selected UDisks as storage provider
14:50:15 T:3049123840   DEBUG: UDisks: DaemonVersion 1
14:50:15 T:3049123840   DEBUG: UDisks: Querying available devices
14:50:15 T:3049123840  NOTICE: InitWindowSystem: Using EGL Implementation: A10
14:50:16 T:3049123840   ERROR: EGL error in CreateSurface: 3003
14:50:16 T:3049123840  NOTICE: CreateWindow: Could not create a surface. Trying with a fresh Native Window.
14:50:16 T:3049123840   ERROR: EGL error in CreateSurface: 3003
14:50:16 T:3049123840   ERROR: CreateWindow: Could not create surface
14:50:16 T:3049123840  NOTICE: Current resolution: 1280x720 @ 50.00 - Full Screen
14:50:16 T:3049123840  NOTICE: Previous line repeats 1 times.
14:50:16 T:3049123840  NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 50.000000 Hz
14:50:16 T:3049123840  NOTICE: Found (1280x720@50.000000) at 16, setting to RES_DESKTOP at 16
14:50:16 T:3049123840  NOTICE: Checking resolution 16
14:50:16 T:3049123840   ERROR: EGL error in CreateSurface: 3003
14:50:16 T:3049123840  NOTICE: CreateWindow: Could not create a surface. Trying with a fresh Native Window.
14:50:16 T:3049123840   ERROR: EGL error in CreateSurface: 3003
14:50:16 T:3049123840   ERROR: CreateWindow: Could not create surface
14:50:16 T:3049123840   ERROR: CreateNewWindow: Could not create new window
14:50:16 T:3049123840   FATAL: CApplication::Create: Unable to create window
回复 支持 反对

使用道具 举报

发表于 2014-9-22 11:22:29 | 显示全部楼层
看看。。。
回复 支持 反对

使用道具 举报

发表于 2014-10-20 09:26:14 | 显示全部楼层
有什么进展没?楼主?
回复 支持 反对

使用道具 举报

发表于 2014-11-4 21:13:46 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

发表于 2014-11-4 21:32:44 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

发表于 2014-11-4 21:33:35 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

发表于 2014-12-8 14:13:05 | 显示全部楼层
cubian x1 系统,安装一楼的 XBMC 之后,可以启动 XBMC,但是启动后所有 tty 包括正在运行桌面的 tty7 全部都显示 XBMC 界面,鼠标、键盘都无法操控 XBMC 。是我的 Framebuffer 设置有问题吗?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-11-22 19:07 , Processed in 0.023192 second(s), 13 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部