LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-07-2008, 07:19 PM   #1
JasonC10203
Member
 
Registered: Sep 2007
Distribution: GRML 1.1
Posts: 59

Rep: Reputation: 15
Can't watch .mkv files.


I am trying to watch some videos which have a .mkv file extension.

I have done a lot of searching about this already today and can't seem to find out what I'm doing wrong.

I am currently trying to open it in VLC. Here is the result I get:

Unrecognized format for '/home/jason/download/rtorrent/movie.mkv'

I don't really know what to do from here.

Thanks,

Jason
 
Old 09-07-2008, 07:43 PM   #2
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
mplayer and kaffeine can play *.mkv (well, if there is a decoder available for video stream inside mkv).
Don't know about VLC, maybe mkv support should have been enabled during compilation or something.

Or maybe your file is broken/corrupt, or its extension is incorrect.

Last edited by ErV; 09-07-2008 at 07:44 PM.
 
Old 09-07-2008, 08:47 PM   #3
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
I may be wrong but I would rule out the possibility of incorrect extensions. Linux appears to be capable of determining video file types dynamically. I have actually found that it will play things even without an extension.

mkv should be supported by gstreamer. Make sure that you have all the gstreamer plug-ins installed.
 
Old 09-08-2008, 12:16 AM   #4
keithieopia
Member
 
Registered: Feb 2005
Posts: 69

Rep: Reputation: 18
I'm pretty sure I remember using VLC to play MKV files before. And you're right, Linux (erm... linux programs) usually doesn't care about file extensions, instead it looks at the file headers within the file itself. Usually file extensions are only used to identify the correct program(s) to use for a file by the window manager. It's pretty safe to say VLC can play almost anything, followed by gstreamer (after installing tremendous amounts of plugins depending on your distro).

I see that you downloaded the file via a torrent, is it possible that the file itself is corrupt? I know there is a free mkv file converter for micro$uck if you need to convert it to see, not sure if there's one for linux... google should tell all.

Last edited by keithieopia; 09-08-2008 at 12:19 AM. Reason: Didn't see part of the post!
 
Old 09-08-2008, 07:37 PM   #5
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by jay73 View Post
I may be wrong but I would rule out the possibility of incorrect extensions. Linux appears to be capable of determining video file types dynamically. I have actually found that it will play things even without an extension.
I think that file was downloaded by bittorrent (see movie path) and is corrupt, or download wasn't complete. I think it is most realistic scenario.
 
Old 09-09-2008, 05:41 PM   #6
otho
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Rep: Reputation: 0
I have played mkv files in VLC on both linux (gentoo) and OSX. It has more to do with the codecs you have for it. What distribution are are you using? Some defaults might not include codecs that are covered by intellectual property rights.
 
Old 09-10-2008, 03:29 PM   #7
JasonC10203
Member
 
Registered: Sep 2007
Distribution: GRML 1.1
Posts: 59

Original Poster
Rep: Reputation: 15
I am using 2.6.23-grml.

A friend of mine said he has watched .mkv on mplayer and suggested I just install some new codecs. So far this hasn't worked, but I may have done it wrong.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Choppy VLC Playback on mkv files swampdog2002 SUSE / openSUSE 7 10-11-2011 11:23 PM
How to convert .ts files to mkv or avi Pearlseattle Linux - Software 3 03-26-2008 12:26 PM
no sound with mkv files :( lemoncube Linux - Software 0 03-14-2007 08:58 AM
joining .ts and .mkv files Chris594 Linux - Newbie 2 01-17-2007 11:44 PM
playing mkv files on mplayer joq Linux - Software 3 12-07-2004 07:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration