Raspberry Pi 3 Hardware Acceleration Problem/Purple artifacts with .mkv-File

Hi guys,

If I try to play specific mkv. files there are purple artifacts that show up and go away randomly. The file plays without a problem in VLC.
After I turn hardware acceleration off the video plays without those artifacts but the raspberry pi doesn’t have enough power to play it without hardware acceleration.

Info on the mkv:
Format : Matroska
Format version : Version 2
File size : 1.59 GiB
Duration : 24 min 43 s
Overall bit rate : 9 196 kb/s
Encoded date : UTC 2013-01-30 12:01:52
Writing application : mkvmerge v5.7.0 (‘The Whirlwind’) built on Jul 8 2012 20:08:51
Writing library : libebml v1.2.3 + libmatroska v1.3.0
Attachments : Arial_Rounded_MT_Bold_Regular.TTF / GaramondPremrPro-Smbd.otf / rough_typewriter.otf / TEMPSITC.TTF

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High 10@L5
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Muxing mode : Header stripping
Codec ID : V_MPEG4/ISO/AVC
Duration : 24 min 43 s
Bit rate : 7 829 kb/s
Width : 1 440 pixels
Height : 1 080 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.210
Stream size : 1.35 GiB (85%)
Writing library : x264 core 129 r2230+702+35 711543a tMod [10-bit@all X86]
Encoding settings : cabac=1 / ref=6 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / fade_compensate=0.00 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / slices=4 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=0 / bframes=8 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=2 / weightb=1 / open_gop=0 / weightp=2 / keyint=230 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=17.0000 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / vbv_maxrate=15000 / vbv_bufsize=10000 / crf_max=0.0 / nal_hrd=none / ip_ratio=1.40 / aq=2:1.00

Default : Yes
Forced : No

The file is 10-bit. This is why you have problems.

Thanks for the tip. After I converted the video with HandBrake the video played without a problem :slight_smile:

The Raspberry can support hardware assisted decoding up to level 4.1 for H264 video. Bitrate of 8Mb[s shouldb’t be an issue.