User User name Password  
   
Saturday 18.1.2025 / 21:36
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > digital video > video - software discussion > extracting .avi (h264) from matroska .mkv
Show topics
 
Forums
Forums
Extracting .avi (h264) from matroska .mkv
  Jump to:
 
Posted Message
xenoni
Newbie
_
22. April 2006 @ 02:22 _ Link to this message    Send private message to this user   
I have a matroska video file that contains a video track that is encoded with x264 and an audio track in AAC. So, I'd like to extract the h264-encoded video track only.

Now I've tried to use VirtualDubMod (latest version, latest build), but it keeps giving me errors after the mkv parsing is done resulting in having only the audio track available in the stream list. So I figured that this doesn't work and tried mkvextract to extract the video from the matroska file. The resulting video file is corrupted(?) somehow, since it can't be played in any player (meaning BSplayer and VideoLAN).

I also used AviSynth to get the .mkv file to open in VirtualDub. It worked fine, but I can't really extract the video that way, I'd have to encode it to make it work (since Direct Stream Copy seems to give me uncompressed video for which I don't have enough disc space (the video length is around 50min, so...)

I know I should've asked this first on the matroska forums but for some reason it takes 5 days until I can post there and I'm kinda in a hurry. If there would be somekind of program I haven't used or little something to tweak on the AviSynth file, please let me know. I know you're smart so this shouldn't be a big problem for YOU :D
Advertisement
_
__
celtic_d
AfterDawn Addict
_
23. April 2006 @ 05:29 _ Link to this message    Send private message to this user   
AVISynth serves raw video. So if you direct stream it, that is what you get. Chances are that your mkv contains native AVC. This can't be demuxed to an AVI, what you get is a raw .264 AVC stream. Still I would have thought that VLC would be able to play it. I'm pretty sure that mplayer can.

Why do you want it as an AVI anyway?
xenoni
Newbie
_
23. April 2006 @ 05:35 _ Link to this message    Send private message to this user   
Yea, I want to get the h264-stream demuxed into an AVI file without recompressing it (if it's even possible).
celtic_d
AfterDawn Addict
_
24. April 2006 @ 00:10 _ Link to this message    Send private message to this user   
It is possible, but why would you want to? The only advantage of AVI is that windows comes with an AVI splitter. Sounds like you already have a mkv splitter installed though, so that basically kills avi's only advantage.
xenoni
Newbie
_
24. April 2006 @ 00:52 _ Link to this message    Send private message to this user   
I just want to know how to do this, I don't really have any use for it YET. But you never know... It just bugs me knowing that I don't know how to do this, so if you know how to do the demuxing properly please tell me, I'd be grateful :)
Advertisement
_
__
 
_
Thotto
Newbie
_
13. May 2006 @ 11:01 _ Link to this message    Send private message to this user   
It is useful to Demux a matroska file in DivX/XVid-AVI so that salon players can reproduce it.

=====
Thotto
afterdawn.com > forums > digital video > video - software discussion > extracting .avi (h264) from matroska .mkv
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork