Converting From .MKV to MPEG...........How?

If you have questions about compression/encoding/converting look here.
Locked
User avatar
TwilightChrono
Joined: Wed Nov 21, 2007 3:11 am
Location: In Your Dreams.......Watching You Sleep
Contact:
Org Profile

Converting From .MKV to MPEG...........How?

Post by TwilightChrono » Mon Oct 13, 2008 3:59 am

Well, my Sony Vegas, won't read .MKV files. And I was curious how I would go about converting from .MKV to MPEG.

Before you ask, I have already tried converting with VirtualDubMod and AVISynth, but it keeps telling me that there was something wrong with the OGG -1 Stream in the file, and I can't get around it.

So, any and all help in this matter would be greatly appreciated. Thanks alot in advance guys.

~Twilight~
Image
Premiering At Another Anime Con 2012

User avatar
76
Ninja mother-figure
Joined: Sun Aug 28, 2005 10:48 pm
Status: Learning
Location: in the clouds, crying over a dying world
Contact:
Org Profile

Post by 76 » Mon Oct 13, 2008 11:08 am

I'm pretty sure you can convert MKV with "SUPER" It's free and it can convert almost anything to anything.


Check it out and fiddle with the controls to see what you can do. I'm not too savvy with it so I can't help too much, sorry.


http://www.erightsoft.net/SUPER.html
Everything came from nothing, therefore everything is nothing.

There's nothing to worry about.

User avatar
JaddziaDax
Crazy Cat Lady!
Joined: Tue Mar 16, 2004 6:25 am
Status: I has a TRU Arceus
Location: somewhere i think O.o
Contact:
Org Profile

Post by JaddziaDax » Mon Oct 13, 2008 3:43 pm

mpeg = fail for source footage

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Post by Qyot27 » Tue Oct 14, 2008 12:20 am

What were you doing in AviSynth to load the MKV? The two options available as far as AviSynth goes are:

Code: Select all

DirectShowSource("video.mkv",audio=false)
Audio disabled since it's not really needed for editing in most cases - and if the error is being caused by a Vorbis audio stream, that should nuke the problem. You might need to use the fps=XX.XXX parameter, where XX.XXX is the intended framerate, if the file is VFR (which could be an alternative reason for that warning). In this case the script would look like:

Code: Select all

DirectShowSource("video.mkv",fps=29.97,audio=false)
The disadvantage to doing it this way is that if the file is softsubbed, then unless you disable subtitle rendering in ffdshow or VSFilter, then you'll get hardsubbed video.

The other *cough* better *cough* option is this:

Code: Select all

FFmpegSource("video.mkv")
That's seriously it. It doesn't load audio by default, and it doesn't load subtitles either. Not to mention it's frame accurate and DirectShowSource isn't. You can download it here:
http://forum.doom9.org/showthread.php?t=127037


If neither of those works, then you might need to remux the MKV. For that you'll need MKVToolNix. When you open the MKV in MKVMerge, you can deselect the audio and any subtitles, and also see the format the video stream is. Then just hit Mux and wait for it to finish. Once you've done that, then the AviSynth filters *should* work on the new file.


(I'm assuming that the video stream here is in fact H.264; if it's XviD then just use MKVExtract to get it out to AVI and use AVISource to load it)

User avatar
TwilightChrono
Joined: Wed Nov 21, 2007 3:11 am
Location: In Your Dreams.......Watching You Sleep
Contact:
Org Profile

Post by TwilightChrono » Tue Oct 14, 2008 1:15 pm

I appreciate the help. I'll get back to you all if I have any problems.
Image
Premiering At Another Anime Con 2012

Locked

Return to “Conversion / Encoding Help”