| Author |
Message |
Baldrick Administrator
Joined: 09 Aug 2000 Location: Sweden
|
|
Matroska .MKV file and .OGM are new container formats similiar to .AVI. They can contain DivX, Xvid video, OGG audio, several audio tracks, switchable subtitles. But if you want it to play it on a standalone dvd player with divx/xvid support you must convert it to AVI with MP3 audio and text subtitles(if any). No reencoding of the video is required, the audio will be reencoded to mp3.
Tools required:
matroska / MKV Codec
Ogg DirectShow Filter / OggDS / OGM Codec
VirtualdubMod
Lame MP3 ACM
Guide:
Install all codecs and tools.
Start VirtualdubMod
Demultiplex/Separate video,audio and subtitles and convert audio to mp3
1. Open the .mkv or .ogm, File->Open video file (If you receive an error read this)
2. Select Streams->Stream list
3, 4. Right click on the audio track you want to keep, select Full-Processing
5. Right click on same audio track again and select Compression
1. Choose Lame MP3
2. Select bitrate
1. Select the audio track you want to keep again
2. Click Save WAV to convert it to mp3, ignore that it says WAV, save it as track2.mp3
3. Select the subtitle track
4. Click Demux to save it as video.srt/sub
1. Select File->Save as to save the avi video to a file, the video won't be reconverted
2. Select Direct Stream Processing
3. Select avi and save the new video as track1.avi
Multiplex/Join audio and video
1. Open the new created track1.avi, File->Open video file
2. Select Streams->Stream List
3. Add the mp3 audio file
1. Select File->Save as to save the avi video and audio, the video and audio won't be reconverted
2. Select Direct Stream Processing
3. Select avi and save the new video as video.avi
Done. You should now have one video.avi (and a video.srt/sub file if any subs).[/b] You can delete the track1.avi and track2.mp3.
Last edited by Baldrick on May 17, 2005 05:53, edited 3 times in total
|
|
Baldrick Administrator
Joined: 09 Aug 2000 Location: Sweden
|
|
VirtualdubMOD doesn't work with all types of MKV and OGM video. But you can use:
MKVExtractGUI to extract video, audio and subtitle from MKV files.
and
OGMDemuxer tool to extract video, audio and subtitle. It is a command line tool but just drag and drop the .ogm file on the OGDemuxer.exe and it will separate all files automatically.
After that continue from the Multiplex/Join the video,audio in the guide above. But you must first convert the ogg audio to mp3, you can use for example dbpoweramp.
|
|
absinthecarolinas Member
Joined: 18 May 2004 Location: United States
|
|
Another nice guide, baldrick. Thanks!
LAME doesn't show up in my codec list in VDubMod, though I do have the codec. Would you happen to know how to register it with Windows without installing, or any other way to get VDubMod to see it?
-abs
_________________ "The purpose of art is not the release of a momentary ejection of adrenaline but rather the gradual, lifelong construction of a state of wonder and serenity." --Glenn Gould
|
|
Baldrick Administrator
Joined: 09 Aug 2000 Location: Sweden
|
|
You must install the lame mp3 acm codec, right click on the LameACM.inf and select Install.
|
|
absinthecarolinas Member
Joined: 18 May 2004 Location: United States
|
|
| Baldrick wrote: |
| You must install the lame mp3 acm codec, right click on the LameACM.inf and select Install. |
Got it! Thanks,
-abs
_________________ "The purpose of art is not the release of a momentary ejection of adrenaline but rather the gradual, lifelong construction of a state of wonder and serenity." --Glenn Gould
|
|
A.R.K Member
Joined: 28 Nov 2004
|
|
hey baldrick, thats a very nice tutorial!
but, i just wanted to know... the subtitles that i saved from the .ogm file, how can i get them to be on me .avi file?
when i tried to add it to the Stream List with the audio, it only saved the audio and not the subtitles.
any help would be great!
thanks
|
|
Mr. SoAndSo Member
Joined: 03 Feb 2004 Location: The good old north
|
|
Need help here........
When I go to save the mp3 it says
MPEG audio sync error: try disabling MPEG audio time correction
Is there any way to solve this?
|
|
Baldrick Administrator
Joined: 09 Aug 2000 Location: Sweden
|
|
ark: you can't include the switchable subs in the avi file, you can have separate avi and subs files. or you can add permanent subs by using the vobsub filter.
|
|
boedha Member
Joined: 22 Jan 2005
|
|
First of all tnx for making this tutorial. But at this moment it isnt really working for me. I installed all the tools i needed and oggvorbis. The anime is ogm. Videocodex is xvid (xvid mpeg-4,ffdshow mpeg-4 video decoder, xvid mpeg-4 video decoder) and audio: oggvorbis(no codex). When i do it with virtualdub everything is ok until i do save as: no avi.when i try with demux im not able to save to file because its used by something else(no idea what) and i also have no mp3files to select.heeeeelp
|
|
MnBthunDER Member
Joined: 27 Jan 2005
|
|
For my situation, I've succeeded in splitting the ogg files using OGMDemuxer, which contains the avi, 2 dubs and the srt. I use VirtualDubMod to get 1 of the dub and save into .mp3 and when I wanted to combine the .avi, .mp3 and the .srt file (tried on OGMDemuxer version and VirtualDubMod version). the .avi and .mp3 has no problem except the subtitles just does not show. I'm wondering what I had missed out and really need help in this. Thanks a lot and any help would be appreciated
|
|
xXGokuXx Member
Joined: 25 Jan 2005
|
|
I have a proglbem here...
| Quote: |
1. Select the audio track you want to keep again
2. Click Save WAV to convert it to mp3, ignore that it says WAV, save it as track2.mp3
3. Select the subtitle track
4. Click Demux to save it as video.srt/sub
|
I get this error on #4 when I want to save the file as "video.srt/sub"
Pic:
What should I do to fix this problem?
|
|
sushifrenzy Member
Joined: 27 Jan 2005
|
|
i tried to download OGMdemuxer, but it doesnt work... along with the fact that i downloaded vobsub, which worked, but when i try to save the .avi file with the sub and sound, only the sound is saved.. help please.
|
|
boedha Member
Joined: 22 Jan 2005
|
|
it seems we all have the same probs.now all we need is someone who knows how this damn things works
|
|
Le_Blur Member
Joined: 02 Feb 2005
|
|
Hey,
I've printed off your guide and am currently following it to the letter.
I came to install Lame MP3 (in the manner described) and was confronted with the following message:
"The software you are installing for this hardware:
Sound, video and game controllers
has not passed Windows Logo testing to verify its compatibility with Windows XP.
Continuing your installation of this software may impair or destabilise the correct operation of your system either immediately or in the future. Microsoft strongly recommends that you stop this installation now and contact the hardware vendor for software that has passed Windows Logo testing."
Is this to be taken as a serious threat, or is it merely Microsoft attempting to restrict the movements of small companies who do not have the funds to pay for Microsoft's corporate blessing?
I noticed from your screen shot that you also use XP, and I assume you also came across this problem when installing Lame MP3. Do I continue or find another program to compress audio streams to MP3?
|
|
boedha Member
Joined: 22 Jan 2005
|
|
windows says pretty easely if it isnt 1 of there products m8.Just install it
|
|
boedha Member
Joined: 22 Jan 2005
|
|
i noticed that ogmdemuxer doesnt seems to work if the ogmfiles arent properly encoded.maybe thats youre prob shushi. Test it out with other ogmfiles from another anime(for example evangelion: thats the 1 i just converted
|
|
sushifrenzy Member
Joined: 27 Jan 2005
|
|
youre probably right.. but i dont have other ogm files..
and when i try to install ogmdemuxer.. it says under show details:
output directory: C:\WINDOWS\system32
Skipped: ogg.dll
Skipped: vorbis.dll
Skipped: vorbisenc.dll
Skipped: OggDS.dll
Registering: C:\WINDOWS\system32\OggDSuninst.exe
Completed
so i dont think it actually installed if it skipped all of them..
|
|
boedha Member
Joined: 22 Jan 2005
|
|
i dont think oggvorbis is properly installed m8
|
|
sushifrenzy Member
Joined: 27 Jan 2005
|
|
i downloaded ogg vorbis... and now what do i do?! it still isnt working..
|
|
docMA Member
Joined: 14 Feb 2005
|
|
Hello!
Just wanted you to know that I love your guides! They are easy to understand (even for me here in germany).
thank you!
|
|
Mr.Hitman Member
Joined: 06 Dec 2004
|
|
what if your trying to convert .VOB file to avi, and abstract the subs and such from it... I can't get this process to wrok because the subs don't show up in the process list.
_________________ http://www.houstonxtreme.com CounterStrike
|
|
ChristianHJW Member
Joined: 11 Jan 2004
|
|
voicu_n Member
Joined: 23 Apr 2004
|
|
Hi...
Baldrick, i have a problem ...after i load my ogm file in vdobmode i cannot see the stream for subtitle...only the one for audio ....
But if i play the file with media player clasic i have subtitles....
Next to the ogm file i also have a idx file ...wich if is not next to ogm file i dont have anymore sub in clasic media player...
How come ...help pls...
How can i get the demux the sub????
|
|
CrisCr0ss Member
Joined: 14 Mar 2005 Location: Toronto
|
|
wow i have been lookin all over for a way to convert an ogm to avi and i at last have found it thanks a lot.. appreciate it.
_________________ My DVD Collection
|
|
blinkassassin Member
Joined: 24 Feb 2005 Location: auckland
|
|
how do u get the video.srt and the video.avi all in one?
cause when im running video.avi WITHOUT the video.srt in the same folder, there are no subtitles . I need to convert files to .avi and have the subtitle in the avi it self because im trying to get it to dvd
_________________
|
|
shoes27 Member
Joined: 23 Apr 2005 Location: UK
|
|
ChristianHJW, i used mkv extract on my mkv file. How do i now join the avi and aac file together?
|
|
taydu Member
Joined: 08 Sep 2002
|
|
i have problem
the mkv file is 25 mins long
i used mkvextractgui to extract the avi, aac, srt file. The avi file is only 19 mins long, but the aac files is 25 mins long how do i fix it?
|
|
p_l Member
Joined: 07 Jun 2002 Location: Montreal, Canada
|
|