Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Cant play mkv files
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Cant play mkv files
5th Mar, 2015, 05:19 AM
Post: #1
znoopy Offline
Registered
Posts: 4
Joined: Mar 2015
Reputation: 0
Cant play mkv files
Hi there, got almost everything working but MKV (h264) is a no go
i have even bought the mpeg2 license, when i start the file
nothing happens. I have Raspberry Pi 2, using lastest Xbian
from webpage,

Config file looks like this, i did see a thread about changing gpu_mem but that
was an old thread for older version of raspberry.

initramfs initramfs.gz 0x1000000
gpu_mem_1024=256
gpu_mem_512=144
gpu_mem_256=100
initial_turbo=3
hdmi_ignore_cec_init=1
disable_overscan=1
disable_splash=1
decode_MPG2=xxxxxxxxxxxxxxxx

Anyone got a clue ? Ohh i using NFS share to run the files, xvid files works fine so i know all
that is working.
Find all posts by this user
Quote this message in a reply
5th Mar, 2015, 05:36 AM (This post was last modified: 5th Mar, 2015 05:41 AM by rikardo1979.)
Post: #2
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
RE: Cant play mkv files
log file? media info of the file? etc
should have no probs with mkv containers wit H.264 at all

~~~~>>>Please always follow rules and read before you post<<<~~~~
Find all posts by this user
Quote this message in a reply
5th Mar, 2015, 06:16 AM
Post: #3
znoopy Offline
Registered
Posts: 4
Joined: Mar 2015
Reputation: 0
RE: Cant play mkv files
here is some info

from logfile
19:59:16 T:1960591360 NOTICE: DVDPlayer: Opening: nfs://192.168.1.1/Better.Call.Saul/Better.Call.Saul.S01E05.720p.mkv
19:59:16 T:1960591360 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:59:16 T:1825567760 NOTICE: Thread DVDPlayer start, auto delete: false
19:59:16 T:1825567760 NOTICE: Creating InputStream
19:59:16 T:1825567760 ERROR: CDVDPlayer::OpenInputStream - error opening [nfs://192.168.1.1/Television/Better.Call.Saul/Better.Call.Saul.S01E05.720p.mkv]

mediainfo:
Format : Matroska
Format version : Version 4 / Version 2
File size : 700 MiB
Duration : 44mn 12s
Overall bit rate : 2 214 Kbps
Encoded date : UTC 2015-03-03 03:46:22
Writing application : mkvmerge v6.7.0 ('Back to the Ground') 64bit built on Jan 8 2014 14:31:51
Writing library : libebml v1.3.0 + libmatroska v1.4.1

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 8 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 44mn 12s
Bit rate : 1 786 Kbps
Width : 1 280 pixels
Height : 720 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 : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.081
Stream size : 565 MiB (81%)
Writing library : x264 core 144 r2525 40bb568



(5th Mar, 2015 05:36 AM)rikardo1979 Wrote:  log file? media info of the file? etc
should have no probs with mkv containers wit H.264 at all
Find all posts by this user
Quote this message in a reply
5th Mar, 2015, 06:30 AM
Post: #4
f1vefour Offline
Administrator
******
Posts: 1,336
Joined: Mar 2013
Reputation: 58
RE: Cant play mkv files
It looks to be a nfs issue not kodi, to test copy the file locally and try it.

Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us.
Visit this user's website Find all posts by this user
Quote this message in a reply
5th Mar, 2015, 06:34 AM
Post: #5
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
RE: Cant play mkv files
i think the same, I am just about to test the file, but I doubt its file or XBian or Kodi issue

~~~~>>>Please always follow rules and read before you post<<<~~~~
Find all posts by this user
Quote this message in a reply
5th Mar, 2015, 06:43 AM
Post: #6
znoopy Offline
Registered
Posts: 4
Joined: Mar 2015
Reputation: 0
RE: Cant play mkv files
That DID work, but why dont NFS work (worked fine on an xvid file)
i tried SMB but that is just nasty to get to work for me so i tried NFS.

Any ideas ? or any other ways to stream media from a server ?


(5th Mar, 2015 06:30 AM)f1vefour Wrote:  It looks to be a nfs issue not kodi, to test copy the file locally and try it.
Find all posts by this user
Quote this message in a reply
5th Mar, 2015, 06:47 AM
Post: #7
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
RE: Cant play mkv files
(5th Mar, 2015 06:43 AM)znoopy Wrote:  That DID work, but why dont NFS work (worked fine on an xvid file)
i tried SMB but that is just nasty to get to work for me so i tried NFS.

Any ideas ? or any other ways to stream media from a server ?


(5th Mar, 2015 06:30 AM)f1vefour Wrote:  It looks to be a nfs issue not kodi, to test copy the file locally and try it.

I using NFS and SMB from my local server, no issues at all

~~~~>>>Please always follow rules and read before you post<<<~~~~
Find all posts by this user
Quote this message in a reply
5th Mar, 2015, 07:21 AM
Post: #8
znoopy Offline
Registered
Posts: 4
Joined: Mar 2015
Reputation: 0
RE: Cant play mkv files
Tested NFS on my old system with ubuntu and kodi and same file
worked fine on that one... very strange why i dont work on raspberry
and NFS.

(5th Mar, 2015 06:47 AM)rikardo1979 Wrote:  
(5th Mar, 2015 06:43 AM)znoopy Wrote:  That DID work, but why dont NFS work (worked fine on an xvid file)
i tried SMB but that is just nasty to get to work for me so i tried NFS.

Any ideas ? or any other ways to stream media from a server ?


(5th Mar, 2015 06:30 AM)f1vefour Wrote:  It looks to be a nfs issue not kodi, to test copy the file locally and try it.

I using NFS and SMB from my local server, no issues at all
Find all posts by this user
Quote this message in a reply
5th Mar, 2015, 07:54 AM
Post: #9
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
RE: Cant play mkv files
just tested your file on my RPi setup and all is fine, so problem in somewhere on your side.
can you try remove/re-add all your sources under Kodi and clean/re-scan your libraries?

~~~~>>>Please always follow rules and read before you post<<<~~~~
Find all posts by this user
Quote this message in a reply
5th Mar, 2015, 06:40 PM
Post: #10
Fabio72 Offline
Registered
Posts: 96
Joined: Feb 2014
Reputation: 5
RE: Cant play mkv files
all my sources are NFS
I'm also using NFS root
no problem at all

All mounts are system mounts through fstab

exports
Code:
/nfs4exports/Videos      192.168.1.0/24(rw,nohide,async,insecure,root_squash,no_subtree_check,anonuid=1000,anongid=10​0)
uid 1000 and gid 100 are local user owning files on my server

fstab
Code:
192.168.1.8:/nfs4exports/Videos   /Videos   nfs    rw,nolock,async,nfsvers=3,actimeo=0,udp,soft,intr,rsize=32768,wsize=32768,n​oatime 0 0
Find all posts by this user
Quote this message in a reply
20th Aug, 2015, 08:04 PM
Post: #11
smarkock Offline
Registered
Posts: 1
Joined: Aug 2015
Reputation: 0
RE: Cant play mkv files
Why not convert MKV to MP4 to have a try? Check out this article.
http://www.videoconverterfactory.com/tips/convert-mkv-to-mp4-video-format.html
Find all posts by this user
Quote this message in a reply
22nd Aug, 2015, 06:21 PM
Post: #12
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
RE: Cant play mkv files
MKV plays just fine on a pi.

Remember that mkv is a container only. The video could already be mp4 inside it!
Find all posts by this user
Quote this message in a reply
9th Apr, 2019, 05:20 PM
Post: #13
johny1 Offline
Registered
Posts: 5
Joined: Apr 2019
Reputation: 0
RE: Cant play mkv files
it seems like any other issue, not kodi
Find all posts by this user
Quote this message in a reply
9th Nov, 2020, 07:04 AM
Post: #14
namarang Offline
Registered
Posts: 10
Joined: Sep 2020
Reputation: 0
RE: Cant play mkv files
Go to VLC Menu – From Tools menubar - Select Preferences option.
Select All Radio Button on the bottom left from the dialog window.
Go to the Input/Codecs section – a list will appear.
Select the File Caching(ms) option under the advanced section.
Set it to 1000.

Choppy videos spoil the fun of viewing experience. There can be several reasons behind a rough, jerky, or broken video. Reasons include faulty SD cards, technical glitches, audio/video codec issues, outdated media players, corrupt or damaged video files, unsupportable video file format, etc.

Go to VLC Menu – From Tools menubar - Select Preferences option.
Select All Radio Button on the bottom left from the dialog window.
Select Input/Codecs option.
Select the Video Codecs option.
Select FFmpeg option - Disable Hardware Decoding option on the list that appears.

Most VLC users get frustrated when the VLC media player produces no audio while playing the videos. Like viewing, aural experience is equally essential for enjoyment. If the problem continues to persist after checking all the sound-related panels and speakers on our devices, just check the steps.

Go to VLC Menu – From Tools menubar - Select Preferences option.
Click on the Audio icon.
Select the Enable Audio option.
Go to Output option and Select options from Output Module and HDMI/SPDIF audio passthrough.
Visit this user's website Find all posts by this user
Quote this message in a reply
10th Dec, 2020, 04:00 AM
Post: #15
namarang Offline
Registered
Posts: 10
Joined: Sep 2020
Reputation: 0
RE: Cant play mkv files
The best choice for playing MKV files is to use VLC media player software. To download this program, you can refer to the official download page from the main site of this company.
After downloading and installing this software, to make MKV files dependent on VLC, right-click on one of the files with this format and select the Properties option. Then on the General tab, click the Change option and select VLC Player from the screen that appears.
After that, whenever you want to play MKV files, double-click on them to open them automatically with VLC.

Method 2: Use codecs to be compatible with other players
Visit this user's website Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Weird no audio on files from NZB, but play fine over network micahfaulkner75 0 3,947 26th Mar, 2015 01:06 AM
Last Post: micahfaulkner75

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 30th Mar, 2023, 06:31 PM Powered By MyBB, © 2002-2023 MyBB Group.