I have some .ogm video files with both English and Japanese audio, as well as English subs. I'm trying to convert it to MPEG4 format for use on an iPod Video, using Videora iPod Converter. Unfortunately, the converted videos default to English without the subs. I was wondering how I could convert the .ogm files to MPEG4 with Japanese audio and subtitles?
+ Reply to Thread
Results 1 to 5 of 5
-
-
With some work.
You need to hardcode the subs.
A quick search returned this:
http://eatyourexam.com/?p=14
it's for dvd but the principles are the same.
use vdubmod to extract the subs.
also to extract the audio stream you want with full audio processing to uncompressed audio.
direct stream the video only to an avi container, so you can load the video in avisynth with
avisource(). You could use directshowsource() with the ogm but as you're doing so much in
vdubmod, why not.
gl -
You can also use OGMDemuxer (a command-line tool, but you can create a shortcut to it on the desktop and drag the OGM onto it) to extract all the streams within the OGM container. An OGM video is usually (at least, in my experience) an Xvid AVI video stream, with one or more Ogg audio streams (and optionally, one or more subtitle streams). In your case, you'll probably get the AVI, the English and Japanese OGG audio files, and the subtitle file.
Convert the Japanese audio .ogg file to .mp3 if you prefer (though I'm not sure if every converter out there will take .ogg within an .avi) and use VirtualDubMod (or whatever tool you prefer) to add it to the AVI as an audio stream.
Subtitles are a different problem. The iPod apparently supports switchable subs, but as far as I've seen, nobody's figured out exactly how to implement them, and I don't think any of the converters (including Videora, which I use) support adding subtitles that way. So, as 45tripp mentioned, you'll have to hardcode the subs into the AVI before converting it with Videora iPod Converter.
(Technically, you could also use VirtualDubMod to eliminate the English audio stream from the OGM, and converting the OGM to iPod video format would then use the Japanese stream. However, that still won't change the subtitle problem.)If cameras add ten pounds, why would people want to eat them? -
Well, after a heck of a lot of trial and error, I finally got the entire process working. It's a few steps long, but definitely worth it to get rid of those pesky dubs.
1) Demux the .ogm with OGMDemuxer.
2) Convert the Japanese .ogg into .mp3 with my personal favorite, MediaCoder.
3) Remux the .avi and the .mp3 with VirtualDubMod (direct stream copy).
4) Hardcode the .srt subtitles into the new .avi with AVIReComp (I know, I know, but SubMux didn't want to work on its own.)
5) Convert the file into an mpeg-4 with Videora.
6) Voila! Japanese and subtitles from a dual audio .ogm on my iPod!
Thanks to everyone for their help.
Similar Threads
-
Dual or Multi Audio AVI with subtitles (MPEG4 XviD DivX)
By DereX888 in forum User guidesReplies: 16Last Post: 20th Dec 2012, 15:24 -
converting OGM/MKV to AVI (with dual audio track)
By mwasim1 in forum Video ConversionReplies: 1Last Post: 4th Jan 2009, 22:54 -
FFMpeg Dual Audio MKV/OGM Non Monotone Timestamp
By blazerqb11 in forum Video ConversionReplies: 8Last Post: 25th Jul 2008, 15:36 -
Dual Audio .ogm/.mkv to dvd
By aszwet1 in forum Newbie / General discussionsReplies: 1Last Post: 10th Jul 2007, 19:35 -
Dual audio .mkv/.ogm to DVD
By aszwet1 in forum Authoring (DVD)Replies: 1Last Post: 10th Jul 2007, 18:12