No video from 1080p x264 mkv file
#1
Hi,
I am having problem with x264 mkv HD files on my Rasbian XBMC. I have tried a couple but the only thing I can see is a black screen with audio.
I have installed MPEG-2 and VC-1 codec but they don't help. Any suggestion?
Thank you.
Reply
#2
Post mediainfo of file:
http://mediainfo.sourceforge.net/en
Reply
#3
Thank you for the reply.
Here is one:

General
Complete name : the.hobbit.an.unexpected.journey.2012 .1080p.bluray.x264-sparks.mkv
Format : Matroska
Format version : Version 2
File size : 13.1 GiB
Duration : 2h 49mn
Overall bit rate : 11.1 Mbps
Writing application : mkvmerge v4.1.1 ('Bouncin' Back') bui lt on Jul 3 2010 22:54:08
Writing library : libebml v1.0.0 + libmatroska v1.0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 2h 49mn
Bit rate : 9 559 Kbps
Width : 1 920 pixels
Height : 800 pixels
Display aspect ratio : 2.40:1
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.260
Stream size : 11.1 GiB (84%)
Writing library : x264 core 129 r2245 bc13772
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / ana lyse=0x3:0x133 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_ range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_ps kip=0 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads= 0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / b frames=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop= 0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_ lookahead=40 / rc=2pass / mbtree=1 / bitrate=9559 / ratetol=1.0 / qcomp=0.60 / q pmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1: 1.00
Language : English
Default : Yes
Forced : No

Audio
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 2h 49mn
Bit rate mode : Constant
Bit rate : 1 510 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Compression mode : Lossy
Stream size : 1.79 GiB (14%)
Title : English
Language : English
Default : Yes
Forced : No

Text
ID : 3
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : English
Default : No
Forced : No
Reply
#4
Here is another one...

General
Unique ID : 240413646877697374706312566259544990695 (0xB4DDFBF1A7A100F283EACEC3E57BA3E7)
Complete name : Life.of.Pi.1080p.WEB-DL.DD5.1.H.264-CrazyHD.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 4.73 GiB
Duration : 2h 7mn
Overall bit rate : 5 311 Kbps
Movie name : ripped by CrazyHDSource.com
Encoded date : UTC 2013-02-19 12:36:19
Writing application : mkvmerge v6.0.0 ('Coming Up For Air') built on Jan 20 2013 09:52:00
Writing library : libebml v1.3.0 + libmatroska v1.4.0

Video
ID : 3
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 2h 7mn
Bit rate : 4 822 Kbps
Width : 1 916 pixels
Height : 1 032 pixels
Display aspect ratio : 1.85:1
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.102
Stream size : 4.29 GiB (91%)
Title : ripped by CrazyHDSource.com
Language : English
Default : Yes
Forced : No
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

Audio
ID : 4
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 2h 7mn
Bit rate mode : Constant
Bit rate : 384 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 : 350 MiB (7%)
Language : English
Default : Yes
Forced : No
Reply
#5
The files look fine. I'm guessing it may be a problem with the amount of gpu_mem configured. Is it a 256M or 512M board?
What gpu_mem do you have set in config.txt?
Have you enabled 1080p GUI?
Reply
#6
I have a 512M board but I didn't play with config.txt at all. When I added the keys for the codecs, the file was empty.
I have no clue what 1080p GUI is. Could you please give me some detail on what to do?
Thanks a lot.
Reply
#7
Ok, I set gpu_mem=256 and now everything seems to be fine.
Thanks for the help.
Reply
#8
gpu_mem=128 should be sufficient.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply

Logout Mark Read Team Forum Stats Members Help
No video from 1080p x264 mkv file0