Hacking Problem converting *.mkv video files with BatchDPG

phoood

taking it to a whole new level.
OP
Member
Joined
Jul 28, 2006
Messages
1,001
Trophies
0
Location
Jewgoslavia
Website
Visit site
XP
318
Country
United States
Ok, I've been watching anime on my ds for a long time.
Converted avi's and ogm's pretty fine too (with Eng/Jap audio).

But when I convert a .mkv or .ogm file that has English audio, Japanese audio, AND English subtitles and play them in moonshell 1.41, it dosen't show up and freezes with black screens.

I have a sloution in mind which includes using some app (can't remember on the top of my head) to rip only the video and English audio into an avi, but that's gona be time/harddrive consuming on my laptop.

Does anyone here have another sloution to fix this?

By the way, its Ghost in the Shell: Stand Alone Complex from anime-supreme.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
MKV is generally considered a "final container", that is to say you put your video in and leave it (MKV is very good at taking multiple audio tracks across multiple standards, VFR video and VBR audio (VBR MP3 in an AVI file causes more hassle than it is worth usually)).

Anyhow the tool you are searching for is called MKVextract and comes as part of the mkvtoolnix package:
http://www.bunkus.org/videotools/mkvtoolnix/
Using this (command line app I am afraid, use mkvmergegui aka mmg.exe in the same package to get the required names) to extract the desired video and audio content.
If your comp is good enough to handle the video then it shold have no issues simply extracting the desired files (writing the files to your HDD will be the long part).

Once you have the (probably seperate) files you can hopefully remux them or grab the avisynth script that batchdpg will use and make use of the audiodub feature (you could probably also use the VFAPI app the batchDPG uses).
It may well be worth not using batchDPG at all and instead encoding a DPG the hard way (it is mpeg1 video and MP2 audio, my suggestion quenc: http://www.doom9.org/index.html?/mpg/quenc.htm (make sure to convert sampling frequency first), then use the headermaker app from the batchDPG package to finally create a DPG. I plan on writing up and advanced DPG guide to this in the near future (next week or so).

Hopefully you can get it all sorted but post back if you need help.

Edit. You may have missed this and I apologise if you did.
You can also use mkvmerge to mess around with the priority of the audio and video (I advise extracting any subs and hardsubbing after resizing.).

Edit2 the typo monkey has cursed me it seems.
 

kolis

Member
Newcomer
Joined
Apr 18, 2006
Messages
12
Trophies
0
XP
67
Country
FAST6191, a advanced DPG guide would be very appreciated! Hope to see it soon
smile.gif
 

phoood

taking it to a whole new level.
OP
Member
Joined
Jul 28, 2006
Messages
1,001
Trophies
0
Location
Jewgoslavia
Website
Visit site
XP
318
Country
United States
Ok, I extracted it and out came the Track2.acc file and the Track1.h264 (out of one video, two audio, and two subtitles.)

I know I only need the files i mention above, but what do I do with the h264 file? I know its some type of mpeg4 file. I tired putting both of thouse in to a mkv file but nothing on my system dosen't reconize that file.

Same for virtualdubmod.

So other than finding a tool to re-encode it to another type, what can I do?
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
H264 huh.
I would be lying if I said that was not a bad thing for what you want to do, chances are the video is variable frame rate and will have to be converted and so could end up looking like ass.
H264 is a raw stream of H264 video, to do anything with it you will need to have it in a container, I suggest either sticking it back into an MKV or using MP4.
You can use MP4box (I tend to use megui which unfortunately requires .net is needed:
http://x264.nl/ ). Bunch of others though:
http://forum.doom9.org/showthread.php?s=&threadid=62723

If you put your video and audio into a single file (MP4 or MKV) you should be able to easily convert it to DPG.

Of course most MKV splitters have the option to select whatever language you like by default (I use/suggest haali media splitter that you get with CCCP: http://www.cccp-project.net/ ) and then you should be able to choose a priority language for everything), this then means a avisynth's directshowsource (which should be the method can be used(make sure to set FPS and make sure convertFPS=true is in there).
 

imgod22222

GBAtemp's Original No-faced Member
Member
Joined
Jul 5, 2006
Messages
1,555
Trophies
0
Website
Visit site
XP
586
Country
United States
Do you mind telling us how you got ogm to work? I tried and to no avail... Same with .divx. Wish I could transcode and get rid of DivX Menus.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
@imgod22222 assuming you do not have DRMed file (I do not know if you can/how to crack divx's DRM, it seems limited to porn films and random junk you get off some TV channels sites though) .divx files are simply tweaked AVI files and the latest versions of VDUB should make short work of it, this being said I have never put Vdub through any real tests with divx container files.

As for OGM a combintation of directshowsource and tweaking the options in the splitter should work, of course there exists demuxers ( http://corecodec.org/projects/ogmtools/ ) you can use or you can simply remux into MKV as is described in the thread linked by phoood.
 

imgod22222

GBAtemp's Original No-faced Member
Member
Joined
Jul 5, 2006
Messages
1,555
Trophies
0
Website
Visit site
XP
586
Country
United States
Fast, so you know, it's not porno I want on my DS. I actually capture video from my TV at 15Mbps with MPEG2 so i get like 1GB files. I then use DivX to make 1 file from 2 parts of the same show (i stop recording at the commercial break) so that changes from 2 files at 1GB- 1.5GB each to 1 file that's about 250MB. And being able to play those shows (Anime like Bleach, Trinity Blood, and other good shows on Adult Swim and IGPX until they re-air it) back on my DS would be 1337 'cause my computer does not like to move. X.X So I'll get virtualDub and see if it works.
phoood, that's a really really good way to explain what a container is. Good Job on that. But it's almost shocking how true that is, no one likes tomatoes or pickles, or subtitles if it's dubbed. (Unless you're a true Otaku! Then you're a sick depraved person! xD) No offense. Really.
 

Firon

Well-Known Member
Member
Joined
Oct 25, 2006
Messages
116
Trophies
0
XP
44
Country
United States
If you use Haali Media Splitter for MKV and OGM, you can make it choose only one audio language by adding the language you want to audio language priority (eng for english, jpn for Japanese).
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    OctoAori20 @ OctoAori20: Nice nice-