Log in

View Full Version : MKV with AVC video to AVI


minnino
28th February 2007, 07:17
I have a MKV file that has (from what mkvtoolnix tells me) "V_MPEG4/ISO/AVC" as its video. What I want to do with this file is make it an AVI with no audio or subtitles. I know how to do that with VirtualDubMOD, but when I use that to open this MKV file I get this error:
"Couldn't locate decompressor for format ÿÿÿÿ (unknown), VirtualDub requires a Video for Windows (VFW) compatible codec to decompress video. DirectShow codecs, such as those used by Windows Media Player, are not suitable. Only 'Direct stream copy' is available for this video."
After I say OK to that window it gets into VirtualDub fine, but there is no video. If I try to play the file, or seek the time the program crashes with these details:
"An out-of-bounds memory access (access violation) occurred in module 'VirtualDubMod'...
...while running thread "Processing" (thread.cpp:120)."
What steps can I do to fix this? I am sure there is some simple way to resolve this since I dont want subs or audio, just an AVI file. I would much rather like to be able to cut pieces out of it with VirtualDub then turn it to AVI, so I dont have to do the whole file (350MB) I only need a few clips out of that whole file. If anyone out there has some advice for me i would love it. Ive been looking all over reading up on things, trying so many different programs to fix this problem. Thanx

JRaSH
28th February 2007, 08:17
You need some MPEG4 AVC decoder installed.

In addition, AVI doesn't nativly support MPEG4 AVC. So this issue is non-trivial.

foxyshadis
28th February 2007, 10:38
MKVExtract GUI (http://www.videohelp.com/tools?tool=691)
AVC2AVI (http://mirror05.x264.nl/Sharktooth/x264/utils/avc2avi_r594.7z)

Combine and you'll get the video into avi format. It won't be particularly editable but it should work. Note the second tool is command-line only.

A better option is to extract the video, use YAMB/mp4box to put it into mp4, and then use avidemux to do the editing. You don't have to worry about problems with keyframes and b-frame lag in that case.

harph
1st March 2007, 21:44
i have exactly the same issue here, but already went a step further but still have some problems. I already demuxed it through MKVExtract and converted the raw 264 to avi through AVC2AVI. but what happens in VDubMod is, that the video opens and can be played from frame 0 and also can be converted etc from frame 0, but when I jump to another frame, set a subclip from it, it gives me an error

Error decompressing video frame XX: A codec-specific error occured. (error code 1)

(XX being the number of the frame)

I also tried doing some things from here http://forum.doom9.org/showthread.php?t=114361 like Re-deriving keyframe flags but didn't help :\

Also tried to mux it into mp4 int YAMB like you suggested, and editing it in avidemux, but the avidemux tool is not very good... it can't decompress the subclip which is what i need, only re-encode it to some other codec (or again with h264). The 'copy' option that should probably just copy the stream produces a non-playable video file :\