Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 16th March 2004, 21:21   #1  |  Link
Amnon82
Paldo-GNU/LinuxMaintainer
 
Amnon82's Avatar
 
Join Date: Oct 2003
Location: Germany
Posts: 1,580
Avalon's little Guide: MKV2AVI/MPEG

I wrote for the german doom9 a guide called OGM2AVI/MPEG.
Now it is MKV2AVI/MPEG.
I think that the people here can do it with this little guide.
If somebody wants it with pics, I can write it, cos I've holidays now.
It is also possible that I write this guide for this doom9.page if the man/girl behind doom9.org want this.

And here we go:


THE AVI METHODE:

Start VirtualDubMod (VDM).
Load Your MKV-file.
Go to 'Streams\Streamlist'
Mark the Audiofile and click on 'Demux'.
Go to 'Video\Direct Stream Copy'
Go to 'File\Save As...'
Choose the AVI Container and hit Save.
So You have a AVI without a Audio and the audiofile.
If you want the Audio into the container reopen VDM (if You closed it...)
Open the AVI.
Go to 'Streams\Streamlist'
Click on 'Add'.
Choose the Audiofile.
If the Audiostream was OGG, You must reencode it in MP3 or some other format which is supported by the AVI-Container.
Click 'Ok'.
Save again the AVI using 'File\Save As...' or press 'F4'.

THE MPEG METHODE:

Start VirtualDubMod (VDM).
Load Your MKV-file.
Go to 'Streams\Streamlist'
Mark the Audiofile and click on 'Demux'.
Go to 'Video\Direct Stream Copy'
Go to 'File\Save As...'
Choose the AVI Container and hit Save.
So You have a AVI without a Audio and the audiofile.
Start DRPEnc.
Setup DRPEnc.
Go to 'Source'.
Open at 'Supported Files' Your AVI-file.
Go to 'Advanced'.
Select at 'Templates' a template You want.
Change some settings if You want.
(Prediction works only with D2V-files till now...)
Go to 'Encode'.
Set the Outputfile.
Hit 'Create Batchfile'.
Hit 'Save and Encode'.
Wait for the MPEG-File.

If You need it read the DRPEnc Manual.

Last edited by Amnon82; 17th March 2004 at 21:28.
Amnon82 is offline   Reply With Quote
Old 16th March 2004, 23:35   #2  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
thanks a lot for the guide, but of course it also has to be said that these guides are not usable if there are newer codecs stored in .mkv as it is often the case, like rv9 or vorbis, as for example they cant be stored in (old outdated) avi

so to say its often not that easy to get rid of matroska like these guides maybe make people think
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 17th March 2004, 21:28   #3  |  Link
Amnon82
Paldo-GNU/LinuxMaintainer
 
Amnon82's Avatar
 
Join Date: Oct 2003
Location: Germany
Posts: 1,580
Yes I know. The new codecs are to faaassttt also in changing...
Amnon82 is offline   Reply With Quote
Old 18th March 2004, 00:33   #4  |  Link
gizmotech
Captain CommonSense!
 
gizmotech's Avatar
 
Join Date: Jan 2003
Posts: 183
It's also completely useless if the person has used the vfr technologies.

A few disclaimers should be added to it.

Gizmo.
gizmotech is offline   Reply With Quote
Old 26th March 2004, 05:19   #5  |  Link
unmei
frying subs
 
unmei's Avatar
 
Join Date: Jan 2003
Location: ch-2500
Posts: 891
it will become even more funny once native mpeg-4 becomes standard in matroska ..i don't mean 'default', but rather i bet once it can be done easily, i will most likely not be the only one to drop the avi-compatibility-mode quickly and with joy.
__________________
-nyo
unmei is offline   Reply With Quote
Old 11th January 2005, 02:55   #6  |  Link
msgallin
Registered User
 
Join Date: Jan 2005
Posts: 5
OGG to MP3

Great Guide that you posted... But I'm unsure how to re-encode the OGG Audio Track into an MP3 file that I can use to re-encode my AVI file. Can you give me any advice? Thanks
msgallin is offline   Reply With Quote
Old 11th January 2005, 03:24   #7  |  Link
celtic_druid
Registered User
 
celtic_druid's Avatar
 
Join Date: Oct 2001
Location: Melbourne, Australia
Posts: 2,171
mencoder.exe -ovc copy -oac mp3lame input.mkv -o output.avi
Re-encode the audio and remux in one go. You could also use something like BeSweet to re-encode the audio seperatly.
celtic_druid is offline   Reply With Quote
Old 11th January 2005, 03:49   #8  |  Link
msgallin
Registered User
 
Join Date: Jan 2005
Posts: 5
Thanks for your help

I'll give that a try.
msgallin is offline   Reply With Quote
Old 17th July 2005, 17:46   #9  |  Link
bugmenotwillyou
Guest
 
Posts: n/a
Nn Va Cazzo

Quote:
Originally Posted by Amnon82
I wrote for the german doom9 a guide called OGM2AVI/MPEG.
Now it is MKV2AVI/MPEG.
I think that the people here can do it with this little guide.
If somebody wants it with pics, I can write it, cos I've holidays now.
It is also possible that I write this guide for this doom9.page if the man/girl behind doom9.org want this.

And here we go:


THE AVI METHODE:

Start VirtualDubMod (VDM).
Load Your MKV-file.
Go to 'Streams\Streamlist'
Mark the Audiofile and click on 'Demux'.
Go to 'Video\Direct Stream Copy'
Go to 'File\Save As...'
Choose the AVI Container and hit Save.
So You have a AVI without a Audio and the audiofile.
If you want the Audio into the container reopen VDM (if You closed it...)
Open the AVI.
Go to 'Streams\Streamlist'
Click on 'Add'.
Choose the Audiofile.
If the Audiostream was OGG, You must reencode it in MP3 or some other format which is supported by the AVI-Container.
Click 'Ok'.
Save again the AVI using 'File\Save As...' or press 'F4'.

THE MPEG METHODE:

Start VirtualDubMod (VDM).
Load Your MKV-file.
Go to 'Streams\Streamlist'
Mark the Audiofile and click on 'Demux'.
Go to 'Video\Direct Stream Copy'
Go to 'File\Save As...'
Choose the AVI Container and hit Save.
So You have a AVI without a Audio and the audiofile.
Start DRPEnc.
Setup DRPEnc.
Go to 'Source'.
Open at 'Supported Files' Your AVI-file.
Go to 'Advanced'.
Select at 'Templates' a template You want.
Change some settings if You want.
(Prediction works only with D2V-files till now...)
Go to 'Encode'.
Set the Outputfile.
Hit 'Create Batchfile'.
Hit 'Save and Encode'.
Wait for the MPEG-File.

If You need it read the DRPEnc Manual.

MA CHE CAZZO DICI???? WHAT A FUCK YOU SPELL???
  Reply With Quote
Old 17th July 2005, 19:50   #10  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
Please respect forum rules
Quote:

4) Be nice to each other and respect the moderator. Profanity and insults will not be tolerated. If you have a problem with another member turn to the respective moderator and if the moderator can't help you send a private message to Doom9.
I am italian (e quindi capisco quello che hai scritto), and what you write is enough to get striked.

Please, again, report your problem and DO NOT INSULT.

Thanks

BHH
buzzqw is offline   Reply With Quote
Old 18th July 2005, 10:01   #11  |  Link
vlada
Registered User
 
Join Date: Apr 2003
Location: Czech Republic
Posts: 752
I believe there is a mistake in the guide. If you demux audio, it doesn't mean, that it won't be processed. You have to disable it. But why should I demux the sound? If the file is an MPEG-4 ASP CFR, with MP3/AC3/AAC sound, I just open my MKV and save it as AVI (with Direct Stream Copy). I don't have to demux sound unless it is Vorbis (OGG is a container, Vorbis is the copmression).
But if my MKV has an MPEG-4 AVC or RV9 inside, I'm affraid it won't work anyway.
vlada is offline   Reply With Quote
Old 18th June 2007, 07:07   #12  |  Link
gaspah
Registered User
 
gaspah's Avatar
 
Join Date: Mar 2006
Posts: 47
I've had a lot aboutof problems converting mkv to dvd... I've just got it... all I need for perfect, dual audio, dual subtitle, true widescreen (not 16:9 inside a 4:3) is a program that converts .ass subtitles to .srt subtitles and I'm laughing...

But this guide is a bit useless at the moment, as I've only come across a few older mkv files that actually open in virtualdubmod...

i havent searched for other mkv conversion guides..

if i can't find one i'll write one.. but i can't figure out a way to do it with 'free' software yet..
gaspah is offline   Reply With Quote
Old 18th June 2007, 10:59   #13  |  Link
vlada
Registered User
 
Join Date: Apr 2003
Location: Czech Republic
Posts: 752
gaspah
Converting MKV to DVD-Video with free SW is very easy. Just follow these steps:
1) Demux audio (MKVToolnix + MKVExtract GUI)
2) Compress audio to AC3 if it is another format (with BeLight f.e.)
3) Make an AviSynth script to convert video. Something like
Code:
DirectShowSource("video.mkv")
LanczosResize(720,436)
AddBorders(0,70,0,70)
(this script is for video with AR 2.35:1, PAL)
4) Open your AviSynth script with HC and compress video.
5) Covert subtitles to SRT (SubtitleWorkshop) and then to SUP (SubtitleCreator)
6) Mux video, subtitles and audio streams with Muxman.
7) Burn your DVD

Or use an automated tool such as DVDFlick or FAVC.
vlada is offline   Reply With Quote
Old 6th September 2007, 02:06   #14  |  Link
beto
Temet Nosce
 
beto's Avatar
 
Join Date: May 2005
Location: São Paulo
Posts: 44
The OP method (specifically the AVI one) works only if you have one MKV file.
I tried appending 2 MKV segments of the same movie and convert them to a single AVI file. This does not work properly with VirtualDubMod. After the junction frame the file does not play correctly.
For it to work properly you have to use mkvtoolnix first to append the MKV segments and then use VirtualDubMod to convert to AVI.
__________________
http://volutabro.blogspot.com
beto is offline   Reply With Quote
Old 8th September 2007, 17:25   #15  |  Link
vlada
Registered User
 
Join Date: Apr 2003
Location: Czech Republic
Posts: 752
Most MKV files can't be opened in VirtualDubMod. This program is unfortunately very outdated and doesn't work with MKV/h.264 files.

If you want to convert MKV to a different format, I'd suggest you to use Avisynth.
vlada is offline   Reply With Quote
Old 12th September 2007, 17:10   #16  |  Link
beto
Temet Nosce
 
beto's Avatar
 
Join Date: May 2005
Location: São Paulo
Posts: 44
I'm curious as how to convert MKV to AVI using Avisynth. How do you do it? Is it a one step procedure?
__________________
http://volutabro.blogspot.com
beto is offline   Reply With Quote
Old 12th September 2007, 19:20   #17  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
feeding virtualdub with directshowsource ... and reencoding...

BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8
buzzqw is offline   Reply With Quote
Old 12th September 2007, 19:40   #18  |  Link
vlada
Registered User
 
Join Date: Apr 2003
Location: Czech Republic
Posts: 752
Or use ffmpeg source in AviSynth. But if you don't have to change video compression, you can convert MKV to AVI losslessly (at least the video part).

The advantage of using Avisynth is that you can then open the script in VD to create AVI/MPEG-4 ASP, in MeGUI to create MP4/MPEG-4 AVC, in HC or QuEnc to produce MPEG-1/2 or create WMV through WMNicEnc. All these applications take AviSynth script as input.
vlada is offline   Reply With Quote
Old 12th September 2007, 19:55   #19  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
just fyi even AutoMKV take avs as input ...


BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8
buzzqw is offline   Reply With Quote
Old 13th September 2007, 02:01   #20  |  Link
beto
Temet Nosce
 
beto's Avatar
 
Join Date: May 2005
Location: São Paulo
Posts: 44
Quote:
Originally Posted by vlada View Post
Or use ffmpeg source in AviSynth. But if you don't have to change video compression, you can convert MKV to AVI losslessly (at least the video part).

The advantage of using Avisynth is that you can then open the script in VD to create AVI/MPEG-4 ASP, in MeGUI to create MP4/MPEG-4 AVC, in HC or QuEnc to produce MPEG-1/2 or create WMV through WMNicEnc. All these applications take AviSynth script as input.
Sorry, but I did not understand much of your post. I feel really stupid and pardon my ignorance....
I don't need to reencode, but to make a direct stream copy (audio in ac3 and video in xvid) from a MKV container to an AVI container. It seems simple but it is much harder than I thought it would be...
__________________
http://volutabro.blogspot.com
beto is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:40.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.