Avisynth not opening MKV files

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
User avatar
Mastamind
Joined: Wed Sep 09, 2009 8:35 pm
Org Profile

Avisynth not opening MKV files

Post by Mastamind » Sun Mar 20, 2011 11:41 am

Just trying to open some h264-encoded MKV's with ffmpegsource/ffmpegsource2, ffvideosource, etc. Whenever I do, it gives me the error "Can't create decompressor: Unsupported compression method".
The files open and play fine with VLC.
So, is there a certain codec/plugin I need to install? Something I'm doing wrong? Any help is appreciated. Thanks.
Image

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: Avisynth not opening MKV files

Post by mirkosp » Sun Mar 20, 2011 12:10 pm

Can you tell us what mediainfo reports about the file? Video codec and its settings, most importantly.
Image

User avatar
Mastamind
Joined: Wed Sep 09, 2009 8:35 pm
Org Profile

Re: Avisynth not opening MKV files

Post by Mastamind » Sun Mar 20, 2011 4:28 pm

Sorry I took a while.
Spoiler :
Image
Image

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: Avisynth not opening MKV files

Post by mirkosp » Sun Mar 20, 2011 4:38 pm

Mmmh... That "Header stripping" sounds like it might be the header compression of mkv. Newer versions of ffms2 should support it just fine, however if it still gives you issues, get mkvtoolnix and remux the mkv making sure that the header compression is disabled. You can do so by going to file > options and checking the "disable header removal...etc" line. Also, since it's enabled in your input file, I'd make sure that under the extra options tab it's not set to do compression.
Image

User avatar
Mastamind
Joined: Wed Sep 09, 2009 8:35 pm
Org Profile

Re: Avisynth not opening MKV files

Post by Mastamind » Sun Mar 20, 2011 5:15 pm

Okay, that did it. Thanks :up:
Image

Mister Hatt
Joined: Tue Dec 25, 2007 8:26 am
Status: better than you
Contact:
Org Profile

Re: Avisynth not opening MKV files

Post by Mister Hatt » Thu Mar 24, 2011 5:10 pm

WHERE DID YOU GET THAT MKV?!?!

Somewhat more related to the issue at hand tho: VLC AND FFMS2 USE THE SAME DECODERS. UPDATE YOUR FFMS2.

[Kariudo: No need to get that bent out of shape hatt. Post edited]

Locked

Return to “AviSynth Help”