查看: 5067|回复: 12
收起左侧

【视频】openelec xbmc 高清播放测试,有以下问题。

2012-8-1 21:46:13 | 显示全部楼层 |阅读模式
         NAME.................: The Incredibles
         GENRE................: Animation | Comedy | Family | Fantasy  
         RATiNG...............: 8.1/10 (178,487 votes)
         RELEASE DATE.........: 2011.04.13
         ENCODE BY............: dong1010  
         RUNTiME..............: 1h:55m:26s
         FiLE SiZE............: 9.50GB
         ViDEO CODEC..........: x264_L4.1 @ 9497 Kbps
         AUDiO CODEC..........: English DTS 5.1 1510 Kbps   
         FRAMERATE............: 23.976fps                           
         RESOLUTiON...........: 1920x800                           
         SOURCE...............: BluRay 1080p AVC DTS-HD MA5.1-CHDBits

Cars.2.2011.HK.1080p.BluRay.x264.DTS-WiKi.Sample.mkv
                    NAME.................: Cars.2                    
                   GENRE................: Animation | Adventure | Family | Romance                    
                   RATiNG...............: 6.5/10 (13,097 votes)
                   RELEASE DATE.........: 2011-11-14                              
                   ENCODE BY............: crunming                                
                   RUNTiME..............: 1h:47m:01s                             
                   FiLE SiZE............: 9.68 GiB                           
                   ViDEO CODEC..........: x264 9511 Kbps                     
                   AUDiO CODEC..........: English     DTS @ 1510 Kbps   
                   AUDiO CODEC..........: Mandarin(S) DD @ 640 Kbps
                   AUDiO CODEC..........: Mandarin(T) DD @ 640 Kbps        
                   AUDiO CODEC..........: Cantonese   DD @ 640 Kbps        
                   FRAMERATE............: 23.976                                   
                   RESOLUTiON...........: 1920x800                              
                   LANGUAGE.............: English                        
                   SUBTiTLES............: None                                    
                   SOURCE...............: Car 2 2011 2D HK Blu-Ray 1080p AVC DTS-HD MA-HDChina      
将以上两个视频的片段copy到u盘上,再次使用openelec进行播放。

播放情况如下:

Car 2

这个视频使用dts音频的时候,还是每隔几秒就卡一下。
切换到ac-3音频时开头和片尾有明显的停顿,其他的还算是正常播放。

The Incredibles

这个视频只有DTS音频,播放时同上,每隔几秒就卡一下。


    openelec 只能简单的驱动 我的 雷柏1800 无线键鼠套装中的鼠标。(键盘和鼠标滚轮无效)
    树莓派的debian系统能够完全驱动,看来还是要加入驱动(怎么添加驱动,还需要找资料和望高人指点。)


键盘不能使用,无法截图。。。先用文字描述吧。

    openelec xbmc 中系统属性里,显示分配的内存为120M(如何提高内存,待查资料和高人指点)

    视频播放时,CPU占用基本都在85%-90%左右,内存在120M的状态上基本有40M剩余。FPS在20帧-24帧左右晃动。(用电脑播放应该是始终24帧)

    不播放视频,进行菜单操作时,CPU占用基本都在75%左右,内存在120M的状态上基本有80M左右剩余, FPS则在8帧-35帧左右晃动 。(用电脑播放应该是始终60帧)

   

总结完毕。。。
回复

使用道具 举报

 楼主| 2012-8-1 21:46:43 | 显示全部楼层
占完楼就去查资料去。。。。
回复 支持 反对

使用道具 举报

2012-8-1 21:53:55 | 显示全部楼层
哈哈,问题不少啊。
回复 支持 反对

使用道具 举报

 楼主| 2012-8-1 21:59:17 | 显示全部楼层
关于内存分配
在这里找到
wiki.openelec.tv/index.php?title=Building_and_Installing_OpenELEC_for_Raspberry_Pi

说明:高人翻译下。。。
Next we install the bootloader from the “bcm2835-bootloader” package. This is located in the project build folder. If you have downloaded pre-built files from elsewere the bootloader files can also be downloaded from here: https://github.com/raspberrypi/firmware/tree/master/boot. The *start.elf file controls how Raspberry Pi’s allocates RAM between OS and Video. The arm128_start.elf file allocates 128MB to each. The commands below assume the “System” partition has mounted as /media/System but some distros mount removable devices to other locations, e.g. /mnt/System.
回复 支持 反对

使用道具 举报

2012-8-1 22:41:28 | 显示全部楼层
第一段是关于bootloader安装的
Next we install the bootloader from the “bcm2835-bootloader” package. This is located in the project build folder. If you have downloaded pre-built files from elsewere the bootloader files can also be downloaded from here: https://github.com/raspberrypi/firmware/tree/master/boot.

第二段关于内存分配
The *start.elf file controls how Raspberry Pi’s allocates RAM between OS and Video. The arm128_start.elf file allocates 128MB to each.
*start.elf 文件控制pi的内存如何分配给OS和video,arm128_start.elf平均分配,每个128MB
(译注:另外应该还有arm224_start.elf(224 OS,32 video)和arm192_start.elf(192 OS, 64 video),如果需要改变配置,把/boot/arm???_start.elf copy 到 /boot/start.elf)

第三段关于System mount的位置,他假设是在/media/System,但是有些系统在/mnt/System
回复 支持 反对

使用道具 举报

2012-8-1 22:44:23 | 显示全部楼层
上帝也阻挡不了我对LZ的膜拜
回复 支持 反对

使用道具 举报

 楼主| 2012-8-1 22:53:10 | 显示全部楼层
嗯。下载了 arm240_start 和 arm224_start 替换了后, openelec 不启动了。


估计是 把系统损坏了吧。。。

明天再从新做,然后再复制过去,试试。。。
回复 支持 反对

使用道具 举报

 楼主| 2012-8-1 23:27:06 | 显示全部楼层
官网论坛找到的。。。google自动翻译的。。。慢慢琢磨吧
问:
Anyone have issues playing 5.1 AC3 audio?
My setup is Pi to Samsung TV via HDMI and streaming media from NAS. Pass-through AC3/DTS are turned off and output 2.0 to all speakers is on.

When I play a file with 5.1 it freezes every 3-10 seconds for a second and then resumes.
It's not a network issue as I can stream other 720p and 1080p video without issues.
I assume it is struggling to decode the audio quick enough?

Is there anything else I can try besides remuxing all my files?

Also, what dirty region settings do people find best to use with Raspbmc?

任何人有5.1 AC3音频播放的问题?
我的设置是PI三星电视通过HDMI和NAS的流媒体。直通AC3/DTS关闭,所有扬声器输出2.0是对的。

当我玩5.1的文件,它冻结了第二次,然后恢复每3-10秒。
这不是网络的问题,我可以没有问题,其他的720p和1080p视频流。
我以为它正在努力解码音频的速度不够快?

还有什么我可以尝试除了remuxing我的所有文件?

此外,什么脏的区域设置人们找到最好与Raspbmc使用吗?



答:
The ARM is not really powerful enough to decode multichannel audio.
Using audio passthrough would fix your problem.

I generally find lower bitrate files (e.g. 720p web-dl) are normally okay with ARM decoding 5.1 channel audio, but 1080p is too much.
Overclocking will help (but not enough to play high bitrate 1080p with ARM decoding audio).

Hopefully there will be a codec pack available soon which allows the GPU to decode the audio, and that will be another solution.

ARM是不是真的足够强大的多声道音频解码。
使用音频直通,将解决您的问题。

总的来说,我发现较低的比特率的文件(例如720p的网页DL)通常与ARM解码5.1声道音频没关系,但1080实在是太多了。
超频将有助于(但没有足够的ARM解码音频播放高码率的1080p)。

但愿会有一个编解码器包即将上市,让GPU解码的音频,这将是另一种解决方案。
回复 支持 反对

使用道具 举报

 楼主| 2012-8-1 23:30:47 | 显示全部楼层
怎么跟我说的 那么像???

Thanks Dom. Kinda what I was expecting.
I enabled AC3 passthrough as I realised my TV can play these same files natively via it's own media player. This reduced CPU from about 90% to around 60% and playback was fine. But then tried on another video and CPU was still really high and video stuttered.

There's something odd going on though...
Boot raspbmc and leave to idle on homescreen and CPU is about 30-40%
Play a video or browse library then go back to homescreen and leave to idle - CPU stays at about 90% and doesn't drop.

I need to do some more experimenting I think.

Also, I'm sure I read on some topic somewhere one of the guys from XBMC said dirty regions doesn't do anything for the Pi yet.

感谢大教堂。有点我期待。
我启用了AC3输出,因为我意识到我的电视可以通过它自己的媒体播放器播放这些相同的文件本身。这减少了CPU约90%到60%左右和回放。但随后试图在另一个视频,CPU仍然非常高的视频结巴。

还有一些奇怪,就尽管...
引导raspbmc离开主屏幕上闲置的CPU是30-40%左右
播放视频或浏览图书馆,然后回到主屏幕,并离开闲置 - CPU保持在90%左右,并不会下降。

我需要做一些更多的尝试,我认为。

此外,我敢肯定,我读到的一些主题某处XBMC的球员之一,说脏区没有做任何PI。
回复 支持 反对

使用道具 举报

2012-8-2 07:47:53 | 显示全部楼层
LZ,我用的也是Rapoo的1800键鼠套装,不过健盘与鼠标滚轮使用完全正常呃。可能没电了吧……
回复 支持 反对

使用道具 举报

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

本版积分规则

关注我们,了解更多

官方微信

服务时间:10:00-16:00

13714503811

公司地址:深圳市龙岗区南湾街道东门头路8号

Copyright © 2012-2020 Powered by 树莓派论坛 2019.4  粤ICP备15075382号-1
快速回复 返回列表 返回顶部