[SOLVED]Trouble playing .mkv files on 2.0.0

*nix specific usage questions
TheVampireNeko
New Cone
New Cone
Posts: 3
Joined: 19 Feb 2012 11:06

[SOLVED]Trouble playing .mkv files on 2.0.0

Postby TheVampireNeko » 19 Feb 2012 11:20

I'm running Ubuntu 10.10 and compiled VLC 2.0.0 from the source. It was my first time compiling something, so I can't be 100% certain that I made no mistakes. I was able to run ./configure with no errors if that helps.

When I try to open a .mkv file, VLC does nothing. I tried doing it with "messages" on and got this: "mkv error: cannot find KaxSegment or missing mandatory KaxInfo."

Does anyone here have any idea of what I can do to solve my problem?

Thank you in advance.
Last edited by TheVampireNeko on 20 Feb 2012 15:59, edited 1 time in total.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Trouble playing .mkv files on 2.0.0

Postby Jean-Baptiste Kempf » 19 Feb 2012 14:14

Does it happen with all MKV?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

TheVampireNeko
New Cone
New Cone
Posts: 3
Joined: 19 Feb 2012 11:06

Re: Trouble playing .mkv files on 2.0.0

Postby TheVampireNeko » 19 Feb 2012 14:42

Yes. I tried a few high resolution and low resolution files. All of the files worked on a previous version of VLC. They also work in another player. .avi files work just fine, so it seems to just be a problem with the .mkv format.

I turned the verbosity up to 1, and kept seeing this warning, along with the previous error:
"ps warning: this does not look like an MPEG PS stream, continuing anyway
ps warning: garbage at input, trying to resync...
ps warning: found sync code"

TypX
Developer
Developer
Posts: 290
Joined: 21 Oct 2011 15:59

Re: Trouble playing .mkv files on 2.0.0

Postby TypX » 19 Feb 2012 18:46

Your g++ is too old. You have to upgrade it or modify mkv.hpp to revert a security commit.

Replace the #define MKV_IS_ID line by :
#define MKV_IS_ID( el, C ) ( EbmlId( (*el) ) == C::ClassInfos.GlobalId )
Then recompile.

TheVampireNeko
New Cone
New Cone
Posts: 3
Joined: 19 Feb 2012 11:06

Re: Trouble playing .mkv files on 2.0.0

Postby TheVampireNeko » 20 Feb 2012 15:58

I updated g++ to the newest version with no success, however, changing mkv.hpp worked. Thank you so much. I'll mark this as solved.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 12 guests