Forum
Raspberry Pi2 and some video files - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Hardware (/forum-7.html)
+--- Forum: Video and Audio (/forum-28.html)
+--- Thread: Raspberry Pi2 and some video files (/thread-2911.html)



Raspberry Pi2 and some video files - kek0 - 30th Mar, 2015 09:45 PM

Hi!
(sorry for my bad english)

I recently bought a new Raspberry Pi 2 (I don't have any other before this)

I am testing in last days with differents mediacenters, and now I love xbian, it's my favorite, but with all the other (openelec, osmc, etc.) have the same trouble.

What fails:
Some vids are very pixelated and appear stranges horizontal bars that decolore the real video image.

Where I found the issue:
This happens when the hardware acceleration for decode vids are enabled. If I disable the both options, the video looks great, but without the hardware acceleration plays with a very slow frame rate and some times stops some seconds.

What I try:
- Xbian, Openelec, OSMC in last versions
- Try to overclock
- I use a microsd class 10
- I bouth the two raspberry licenses for mpg2 y vc1, installed, and checked that appeare correctly enabled both.
- Not related with the size of the vid, because some vids of 16Gb play perfect and other than only 600Mb plays with the mentioned issues.
- The board is not overheat anytime.

At bottom of this post I attach two examples of the mediainfo for if someone can found the possible reasons, and say me if is hardware limitation, hardware failure, or if simply the actual mediacenter can't support yet this formats for rpi 2.

Thank you so much for your help!!

Code:
Format                                   : Matroska
Format version                           : Version 4 / Version 2
File size                                : 6.86 GiB
Duration                                 : 2h 15mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 7 224 Kbps
Encoded date                             : UTC 2014-08-09 20:31:11
Writing application                      : mkvmerge v7.0.0 ('Where We Going') 64bit built on Jun  9 2014 15:16:27
Writing library                          : libebml v1.3.0 + libmatroska v1.4.1
DURATION                                 : 02:15:44.677000000
NUMBER_OF_FRAMES                         : 2543
NUMBER_OF_BYTES                          : 128061
_STATISTICS_WRITING_APP                  : mkvmerge v7.0.0 ('Where We Going') 64bit built on Jun  9 2014 15:16:27
_STATISTICS_WRITING_DATE_UTC             : 2014-08-09 20:31:11
_STATISTICS_TAGS                         : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High 10@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 3 frames
Format settings, GOP                     : M=4, N=23
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 2h 15mn
Bit rate mode                            : Variable
Bit rate                                 : 3 231 Kbps
Maximum bit rate                         : 14.0 Mbps
Width                                    : 1 280 pixels
Height                                   : 528 pixels
Display aspect ratio                     : 2.40:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.199
Stream size                              : 3.07 GiB (45%)
Writing library                          : x264 core 138 r2358 9e941d1
Encoding settings                        : cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=12 / lookahead_threads=1 / sliced_threads=0 / slices=4 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=0 / keyint=23 / keyint_min=1 / scenecut=40 / intra_refresh=0 / rc_lookahead=24 / rc=crf / mbtree=1 / crf=17.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / vbv_maxrate=14000 / vbv_bufsize=14500 / crf_max=0.0 / nal_hrd=vbr / ip_ratio=1.40 / aq=1:1.00
Language                                 : English
Default                                  : Yes
Forced                                   : Yes

Audio #1
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 2h 15mn
Bit rate mode                            : Constant
Bit rate                                 : 640 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 622 MiB (9%)
Title                                    : LATiNO
Language                                 : Spanish
Default                                  : Yes
Forced                                   : Yes

Audio #2
ID                                       : 3
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Mode                                     : 16
Format settings, Endianness              : Big

Code:
General
Format                                   : Matroska
Format version                           : Version 4 / Version 2
File size                                : 865 MiB
Duration                                 : 23mn 42s
Overall bit rate mode                    : Variable
Overall bit rate                         : 5 101 Kbps
Encoded date                             : UTC 2013-08-31 17:20:24
Writing application                      : mkvmerge v6.2.0 ('Promised Land') built on Apr 28 2013 12:22:01
Writing library                          : libebml v1.3.0 + libmatroska v1.4.0
Attachment                               : Yes / Yes / Yes / Yes / Yes / Yes

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High 10@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 8 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 23mn 42s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10 bits
Scan type                                : Progressive
Writing library                          : x264 core 125 r2208 d9d2288
Encoding settings                        : cabac=1 / ref=8 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.10 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=17.5 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language                                 : Japanese
Default                                  : Yes
Forced                                   : Yes

Audio
ID                                       : 2
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
Codec ID                                 : A_FLAC
Duration                                 : 23mn 42s
Bit rate mode                            : Variable
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Writing library                          : libFLAC 1.2.1 (UTC 2007-09-17)
Language                                 : Japanese
Default                                  : Yes
Forced                                   : Yes

Text
ID                                       : 3
Format                                   : ASS
Codec ID                                 : S_TEXT/ASS
Codec ID/Info                            : Advanced Sub Station Alpha
Compression mode                         : Lossless
Language                                 : Spanish
Default                                  : Yes
Forced                                   : Yes

Menu
00:00:00.000                             : :Chapter 01
00:02:26.020                             : :Chapter 02
00:11:02.995                             : :Chapter 03
00:21:46.013                             : :Chapter 04
00:23:15.977                             : :Chapter 05
00:23:34.996                             : :Chapter 06



RE: Raspberry Pi2 and some video files - rikardo1979 - 30th Mar, 2015 10:05 PM

I will not work, sorry to tell you
It is High10 or 10bit video if you like. this is too much for RPi to software decode and there is no HW acceleration for this type of media


RE: Raspberry Pi2 and some video files - kek0 - 30th Mar, 2015 11:27 PM

Thank you for your reply!

You think that in the future the rpi2 can be support this formats by HW with firmware update?


RE: Raspberry Pi2 and some video files - rikardo1979 - 31st Mar, 2015 12:02 AM

not easy to tell. you can better ask on Raspberry Pi Foundation.
my personal opinion is, it will not


RE: Raspberry Pi2 and some video files - kek0 - 31st Mar, 2015 05:46 AM

thank you! the only method is for convert all my videos from hi10 to hi8... Confused


RE: Raspberry Pi2 and some video files - f1vefour - 1st Apr, 2015 11:04 AM

Maybe, lately HEVC has made advances on the Pi 2 in software decoding. Perhaps Hi10 will be supported in the future, probably no higher than 720p though if anything.

Search the Kodi forums, you will likely find a few threads.