Linux - Problems Playing MKV

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
jsb2127 Offline
Junior Member
Posts: 7
Joined: May 2014
Reputation: 0
Post: #1
Hello All,

I have a newly built AMD HTPC running Ubuntu and XBMC. I'm very new to Ubuntu and this is my first foray into XBMC on a troubleshooting level. Using the new AEON skin, I was able to play some mp4 files that I have saved to an internal ext4 hard drive that I have mounted. Unfortunately, I am unable to play an MKV file on the same drive that I had created via MakeMKV. I have the same problem that I see others are have had in this forum: the movie title shows up in the Movies list, but when you click it to play, nothing happens. Here's a snippet from the log for when I was trying to get an MKV file (Body of Lies) to play:

21:22:11 T:140084368103168 NOTICE: -->Python Interpreter Initialized<--
21:22:11 T:140086032844736 NOTICE: DVDPlayer: Opening: /media/jeremy/2d54ee7d-2539-4a65-b5b9-0f805d49511c/Movies/Body_of_Lies (2008)/Body_of_Lies_t04.mkv
21:22:11 T:140086032844736 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
21:22:11 T:140084921759488 NOTICE: Thread CDVDPlayer start, auto delete: false
21:22:11 T:140084921759488 NOTICE: Creating InputStream
21:22:11 T:140084921759488 ERROR: CDVDPlayer::OpenInputStream - error opening [/media/jeremy/2d54ee7d-2539-4a65-b5b9-0f805d49511c/Movies/Body_of_Lies (2008)/Body_of_Lies_t04.mkv]
21:22:11 T:140084921759488 NOTICE: CDVDPlayer::OnExit()
21:22:11 T:140084921759488 NOTICE: CDVDPlayer::OnExit() deleting input stream
21:22:11 T:140086032844736 NOTICE: CDVDPlayer::CloseFile()
21:22:11 T:140086032844736 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
21:22:11 T:140086032844736 NOTICE: DVDPlayer: waiting for threads to exit
21:22:11 T:140086032844736 NOTICE: DVDPlayer: finished waiting
21:22:35 T:140084368103168 NOTICE: Thread XBPyThread start, auto delete: false


I read in other posts that the MSGQ error is due to permissions. However, the file plays just fine outside of XBMC and I can even get it to play within XBMC when I go to the Files menu under Movies. I checked the permissions for the file by right clicking and I have nothing restricted. Any help someone could offer would be greatly appreciated. Thanks!
find quote
fritsch Offline
Team-XBMC Developer
Posts: 6,488
Joined: Aug 2011
Reputation: 147
Location: Karlsruhe
Post: #2
Debug Log nobody can tell ...
find quote
jsb2127 Offline
Junior Member
Posts: 7
Joined: May 2014
Reputation: 0
Post: #3
My apologies. My problem has gotten worse. I managed to get the original MKV file to play by forcing XBMC to scan my media folder for new content. It scraped new artwork began to play. I can't explain why it then began to work. I then updated XBMC to Gotham to get the new CEC adaptor functionality. Unfortunately now, when I play a movie file, XBMC crashes. Here's a link for the crash log for when I tried to play Inception:

http://xbmclogs.com/show.php?id=203413

You can also see that I'm having some trouble with my Pulse-Eight CEC adaptor. I'll try to get a debugging log up soon.
find quote
fritsch Offline
Team-XBMC Developer
Posts: 6,488
Joined: Aug 2011
Reputation: 147
Location: Karlsruhe
Post: #4
Two things:

a) Disable VDPAU under Video -> Acceleration (you need to be in Advanced Mode, see gotham FAQ on howto do it). You can change the Decoding to Software Decoding here.
b) You don't have permission to access your CEC Adapter. This is a system misconfiguration, provide:

Code:
sudo apt-get install pastebinit
ls -l /dev/ttyACM0 | pastebinit
id | pastebinit

Do those above command with the user, that is normally running xbmc -> should be jeremy
find quote
jsb2127 Offline
Junior Member
Posts: 7
Joined: May 2014
Reputation: 0
Post: #5
Thanks for the help with the VDPAU. Disabling it definitely did the trick. I read about it in some other threads, but I didn't realize that an Advanced settings view existed. I had to switch to Confluence to see it. Here is the pastebin from running the code above:

http://paste.ubuntu.com/7478333/
find quote
fritsch Offline
Team-XBMC Developer
Posts: 6,488
Joined: Aug 2011
Reputation: 147
Location: Karlsruhe
Post: #6
You missed the ls -l /dev/ttyACM0 | pastebinit
find quote
jsb2127 Offline
Junior Member
Posts: 7
Joined: May 2014
Reputation: 0
Post: #7
My apologies, I'm a newb at this: http://paste.ubuntu.com/7481732/ http://paste.ubuntu.com/7481733/
find quote
fritsch Offline
Team-XBMC Developer
Posts: 6,488
Joined: Aug 2011
Reputation: 147
Location: Karlsruhe
Post: #8
Your user is not member of the dialout group. It cannot access the device.

sudo adduser jeremy dialout
sudo reboot
find quote
jsb2127 Offline
Junior Member
Posts: 7
Joined: May 2014
Reputation: 0
Post: #9
Solved! Thanks for the help fritsch! No way I would have figured this out on my own. The CEC adaptor didnt work at first, but then I realized I had to set the HDMI port number to match where the HTPC is plugged into the TV. This device works well with my LG smart tv and LG magic remote.
find quote