VideoHelp Forum




+ Reply to Thread
Results 1 to 16 of 16
  1. Hello, I'm willing to learn how to use just about any program unless it will take me months to learn some coding or whatever. I just need to learn how to convert .mkv and .ogm to .avi while preserving the original subtitles and sound. Learning how to choose which language would also be great. Please don't give me the typical ".mkv is better than .avi I won't help you" response. It's for storage, and .avi is a lot smaller. Thank you in advance.
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    No, avi is not smaller. You can make mkv,ogm with same file size because it depends on the video bitrate and not the container(avi,mkv,ogm).

    But if you want avi I would use alltoavi or xvid4psp. If you don't want burned in subtitles you must use avimuxgui to add the subtitles to the avi and they will only work if you have vobsub installed. Or you can use separate subtitles. Extract subs from mkv,ogm using OGMcleaver.
    Quote Quote  
  3. I dislike alltoavi, I've tried it. xvid4psp seems interesting, I'm just confused about how to use it. I do want the subtitles burned in, so the extras shouldn't matter. I can't really figure out how to put the subtitles on. When I go to watch it in Media Player Classic I just choose the subtitle language. It's not a separate subtitle file. Converting it to .avi in general is just confusing. I'm probably gonna need some help here.

    Edit: I've got it to go to .avi, still can't figure out subtitles though.
    Quote Quote  
  4. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    If you want subs with xvid4psp you must first extract the subtitle from the mkv/ogm. Use OGMCleaver or mkvextractgui. Then load the subtitle under Subtitle->Load in Xvid4psp.
    Quote Quote  
  5. Thank yah! I'll edit this post if I have any issues.

    Edit: That's pretty much the most annoying thing ever. I opened OGMCleaver, right, and I opened up my .mkv video and it was all "This doesn't appear to be a .ogm/.mkv file." So, I'm stuck. MKVExtractGUI just gives me errors for no reason, I gave up on that one.
    Quote Quote  
  6. VH Wanderer Ai Haibara's Avatar
    Join Date
    Jan 2006
    Location
    Somewhere on VideoHelp...
    Search Comp PM
    Are you sure it's a valid .MKV file, and not something simply renamed to .MKV? You might try running it through a utility like MediaInfo to make sure there's nothing wrong with it.

    What errors did you receive with MKVExtractGUI? Did you make sure to install mkvtoolnix to the same directory as MKVExtractGUI?
    If cameras add ten pounds, why would people want to eat them?
    Quote Quote  
  7. Okay, so MKVExtractGUI is working, and yeah it's installed in the same directory as mkvtoolnix now. So no more errors. I just can't figure out how to get out the subtitles. Also, MediaInfo says that everything is fine with the .mkv file and that the subtitles are in .ass format. OGMCleaver is still being annoying though.

    Edit: Got OGMCleaver working! Woot~ Last problem for now, is there a way to get it to extract JUST the subtitles? I find no need for the rest of the stuff.

    Edit 2: So, I just started to encode a single episode because I'm cool like that. And it's going along fine, decent speed, doing what it needs to do. The preview video looked good and the subtitles/sound/video were all in sync. Which is good! But, is there a way to bulk encode with XviD4PSP? Because, sometimes you download a batch torrent with like up to 50 episodes in them and you just gotta convert 'em all. I'd like to leave my computer alone for a night, or a weekend while I'm away and just let it run through like a whole season.

    Edit 3: It finished, awesome! Right, WRONG! So, the audio and video are off sync. One's slower than the other. I think it's the audio, I can't tell 100%, but I think it's the audio. Subtitles are fun, but I didn't expect them to be off sync. Also note that the preview video in XviD4PSP looked totally fine and was in sync.
    Quote Quote  
  8. I apologize for bumping this, but I doubt anyone will look here if I don't. I kinda proclaimed victory, but later edited it with some issues.
    Quote Quote  
  9. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    PLEASE wait some days before bumping.

    I would buy/rent the episodes on dvd instead of downloading warez. No sync problems.
    Quote Quote  
  10. I had more than enough reason to bump. You're obviously around to comment, but I was falling down the page. And I assumed no one cared mainly because I posted that it was fine. Buying/Renting, well, if I wanted to deal with bad quality I could do that, plus, what about the ones I already own and just want better quality subs? That's completely legal, but I still get sync problems.
    Quote Quote  
  11. I waited 3 days, you knew this post was here, and yet no response. I don't like that you'd assume that it's warez when you have no knowledge of what I'm trying to convert. Is that your way of saying "I don't know what your problem is"? I don't think that's a good way to say that... Now, does anyone here know how to get a .mkv to .avi with subtitles, audio, and video all in sync? Like I said, I'm willing to learn just about anything so long as it won't take months to master.
    Quote Quote  
  12. Since you own the original, it would be MUCH easier to go straight to .avi, especially if your .mkv's are vfr (variable frame rate), which they probably are by the sounds of your sync issues. (If they are anime .mkv's and you didn't author them, they are 99.9% likely to be VFR). If you want to do it the hard way, there are several posts revealing how to do this, just [search]

    Another approach would be to fix the sync in the avi. This is only possible if the .mkv's were NOT vfr. Again, there are 100's of posts and guides demonstrating how to do this. Make sure you differentiate between a constant delay vs. progressive delay

    If you still can't figure it out, despite reading all the posts that deal with the same issue, please post specific questions and details, and someone will help you out
    Quote Quote  
  13. Oh no! Big error I'm not totally sure what to do here... Some help please?

    Crash reason: Access Violation

    Crash context:
    An out-of-bounds memory access (access violation) occurred in module 'vobsub'...

    ...while running filter "TextSub 2.23" (FilterSystem.cpp:520)...

    ...while running thread "Processing" (thread.cpp:120).

    Code:
    VirtualDub crash report -- build 2540 (release)
    --------------------------------------
    
    Disassembly:
    0abb3420: a5              movsd  
    0abb3421: bd0a89078b      mov    ebp, 8b07890a
    0abb3426: 4d              dec    ebp
    0abb3427: 0c66            or     al, 66
    0abb3429: 8b11            mov    edx, [ecx]
    0abb342b: 52              push   edx
    0abb342c: ff1594a5bd0a    call   dword ptr [0abda594]
    0abb3432: 83c410          add    esp, 10
    0abb3435: 85c0            test   eax, eax
    0abb3437: 741a            jz     0abb3453
    0abb3439: 8b450c          mov    eax, [ebp+0c]
    0abb343c: 83c002          add    eax, 02
    0abb343f: 89450c          mov    [ebp+0c], eax
    0abb3442: 668b00          mov    ax, [eax]
    0abb3445: 50              push   eax
    0abb3446: ff1594a5bd0a    call   dword ptr [0abda594]
    0abb344c: 83c404          add    esp, 04
    0abb344f: 85c0            test   eax, eax
    0abb3451: 75e6            jnz    0abb3439
    0abb3453: 8b4d0c          mov    ecx, [ebp+0c]
    0abb3456: 8b442410        mov    eax, [esp+10]
    0abb345a: 83c704          add    edi, 04
    0abb345d: 83c102          add    ecx, 02
    0abb3460: 48              dec    eax
    0abb3461: 894d0c          mov    [ebp+0c], ecx
    0abb3464: 89442410        mov    [esp+10], eax
    0abb3468: 75a9            jnz    0abb3413
    0abb346a: 8b4d08          mov    ecx, [ebp+08]
    0abb346d: 83c8ff          or     eax, ff
    0abb3470: 894630          mov    [esi+30], eax
    0abb3473: 894624          mov    [esi+24], eax
    0abb3476: 897130          mov    [ecx+30], esi
    0abb3479: 8d7344          lea    esi, [ebx+44]
    0abb347c: 8bce            mov    ecx, esi
    0abb347e: e885230200      call   0abd5808
    0abb3483: 8b550c          mov    edx, [ebp+0c]
    0abb3486: 668b02          mov    ax, [edx]
    0abb3489: 663d5c00        cmp    ax, 005c
    0abb348d: 7423            jz     0abb34b2
    0abb348f: 663d7d00        cmp    ax, 007d
    0abb3493: 741d            jz     0abb34b2
    0abb3495: 8b7d0c          mov    edi, [ebp+0c]
    0abb3498: 50              push   eax
    0abb3499: 83c702          add    edi, 02
    0abb349c: 8bce            mov    ecx, esi
    0abb349e: 897d0c          mov    [ebp+0c], edi
    0abb34a1: e8b2210200      call   0abd5658
    0abb34a6: 8b450c          mov    eax, [ebp+0c]
    0abb34a9: 668b00          mov    ax, [eax]      <-- FAULT
    0abb34ac: 663d5c00        cmp    ax, 005c
    0abb34b0: 75dd            jnz    0abb348f
    0abb34b2: 8bce            mov    ecx, esi
    0abb34b4: e881210200      call   0abd563a
    0abb34b9: 8bce            mov    ecx, esi
    0abb34bb: e874210200      call   0abd5634
    0abb34c0: 8b0e            mov    ecx, [esi]
    0abb34c2: 8b41f8          mov    eax, [ecx-08]
    0abb34c5: 85c0            test   eax, eax
    0abb34c7: 743a            jz     0abb3503
    0abb34c9: 6a01            push   01
    0abb34cb: 6a30            push   30
    0abb34cd: 8d4c243c        lea    ecx, [esp+3c]
    0abb34d1: e82c230200      call   0abd5802
    0abb34d6: 8b542434        mov    edx, [esp+34]
    0abb34da: 8b06            mov    eax, [esi]
    0abb34dc: 52              push   edx
    0abb34dd: 50              push   eax
    0abb34de: ff1598a5bd0a    call   dword ptr [0abda598]
    0abb34e4: 83c408          add    esp, 08
    0abb34e7: 8d4c2434        lea    ecx, [esp+34]
    0abb34eb: 85c0            test   eax, eax
    0abb34ed: 0f94442427      setz   [esp+27]
    0abb34f2: e8f71e0200      call   0abd53ee
    0abb34f7: 8a442427        mov    al, [esp+27]
    0abb34fb: 84c0            test   al, al
    0abb34fd: 0f84fa0d0000    jz     0abb42fd
    0abb3503: 8b4d14          mov    ecx, [ebp+14]
    0abb3506: 83c144          add    ecx, 44
    0abb3509: 51              push   ecx
    0abb350a: 8bce            mov    ecx, esi
    0abb350c: e8e91e0200      call   0abd53fa
    0abb3511: e9e70d0000      jmp    0abb42fd
    0abb3516: 33c0            xor    eax, eax
    0abb3518: 668b06          mov    ax, [esi]
    0abb351b: 83e878          sub    eax, 78
    0abb351e: 0f              db     0f
    0abb351f: 84              db     84
    
    Windows 5.1 (Windows XP build 2600) [Service Pack 3]
    
    EAX = 02e35000
    EBX = 0c6ef8e8
    ECX = 03088968
    EDX = 003c0608
    EBP = 0c6ef8ac
    DS:ESI = 0023:0c6ef92c
    ES:EDI = 0023:02e35000
    SS:ESP = 0023:0c6ef7c8
    CS:EIP = 001b:0abb34a9
    FS = 003b
    GS = 0000
    EFLAGS = 00010246
    FPUCW = ffff027f
    FPUTW = ffffffff
    
    MM0 = 00cbdfdfdfcbdfdf
    MM1 = dfcbdfdfcbdfdfcb
    MM2 = dfcbdfdfdfcbdfdf
    MM3 = dfcbdfdfdfcbdfdf
    MM4 = 843521cfb2b79000
    MM5 = af00000000000000
    MM6 = a000000000000000
    MM7 = af00000000000000
    
    Crash reason: Access Violation
    
    Crash context:
    An out-of-bounds memory access (access violation) occurred in module 'vobsub'...
    
    ...while running filter "TextSub 2.23" (FilterSystem.cpp:520)...
    
    ...while running thread "Processing" (thread.cpp:120).
    
    Thread traces:
    
    Thread 00000974 (Main thread)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSource.cpp(1828)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSource.cpp(1846)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(429)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(569)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(124)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(126)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(124)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(126)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(124)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(126)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(124)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(126)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(124)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(126)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(409)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(429)
    Thread 00000d5c (FastWriteStream)
    Thread 00000b50 (Processing)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(2817)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(2609)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSource.cpp(1623)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSource.cpp(1658)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(2614)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(517)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(530)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSequenceCompressor.cpp(403)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSequenceCompressor.cpp(420)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(2777)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(2817)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(2609)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSource.cpp(1623)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\VideoSource.cpp(1658)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Dub.cpp(2614)
    	C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\FilterSystem.cpp(517)
    Thread 000009dc (Dub-I/O)
    
    Thread call stack:0abb34a9: vobsub!?ParseStyle@CRenderedTextSubtitle@@AAEPAGPAVCSubtitle@@PAGAAVSTSStyle@@2_N@Z [0aba0000+12810+c99]
    7c809abc: kernel32!lstrlenW [7c800000+9a99+23]
    5f80444f: MFC42u!0000444f
    7c809abc: kernel32!lstrlenW [7c800000+9a99+23]
    5f84dd10: MFC42u!0004dd10
    0abb2051: vobsub!?ParseEffect@CRenderedTextSubtitle@@AAEXPAVCSubtitle@@VCString@@@Z [0aba0000+11de0+271]
    0abb4d5c: vobsub!?GetSubtitle@CRenderedTextSubtitle@@AAEPAVCSubtitle@@H@Z [0aba0000+144a0+8bc]
    7c9101bb: ntdll!RtlAllocateHeap [7c900000+100a4+117]
    77c36ef5: msvcrt!perror [77c10000+26df2+103]
    0ababe30: vobsub!?vobsubGetSubFileNames@@YAXVCString@@AAVCStringArray@@AAV?$CArray@USubFile@@AAU1@@@@Z [0aba0000+9770+26c0]
    0abb1502: vobsub!?Render@CRenderedTextSubtitle@@QAE_NAAUtagBITMAP@@HNAAVCRect@@@Z [0aba0000+11080+482]
    0abb1518: vobsub!?Render@CRenderedTextSubtitle@@QAE_NAAUtagBITMAP@@HNAAVCRect@@@Z [0aba0000+11080+498]
    7c90d07c: ntdll!NtCreateEvent [7c900000+d070+c]
    0abb1071: vobsub!?Render@CRenderedTextSubtitle@@QAE_NAAUtagBITMAP@@HN@Z [0aba0000+11050+21]
    01ea1b10: textsub!VirtualdubFilterModuleDeinit [01ea0000+1120+9f0]
    0047c4f0: FilterSystem::RunFilters()
    0047c296: FilterSystem::RunFilters()
    0046e908: Dubber::WriteVideoFrame()
    0046f12f: Dubber::ThreadRun()
    7c90d37c: ntdll!NtFreeVirtualMemory [7c900000+d370+c]
    7c91a4b5: ntdll!RtlReAllocateHeap [7c900000+19b80+935]
    7c91a7a3: ntdll!RtlReAllocateHeap [7c900000+19b80+c23]
    7c91a53d: ntdll!RtlReAllocateHeap [7c900000+19b80+9bd]
    7c90d28c: ntdll!NtDuplicateObject [7c900000+d280+c]
    7c80def3: kernel32!DuplicateHandle [7c800000+de8e+65]
    0052939f: VDThread::StaticThreadStart()
    0056b99c: _threadstartex@4()
    7c80b713: kernel32!GetModuleFileNameA [7c800000+b55f+1b4]
    
    -- End of report
    Quote Quote  
  14. vdubmod doesn't handle .mkv very well, it hasn't been updated in years.

    If you are still trying to hardsub and convert to .avi, you could try avidemux which has better support for .mkv (My earlier comments about vfr .mkv's still holds true)
    Quote Quote  
  15. I was opening a .avi file. However, I'll give that AviDemux thing a try.
    Quote Quote  
  16. Originally Posted by Xandal
    I was opening a .avi file. However, I'll give that AviDemux thing a try.
    I'm totally lost with AviDemux, please give me a hand with either VirtualDubMod or AviDemux. (With AviDemux I can get the subtitles to show up in the preview but they are really ugly and look nothing like what they should. The font and coloring is all different and weird as well as placement for some scenes. Even if I do try to encode it, it just gives me a fatal error.)

    I'm so sorry for the double post, I thought I was editing!
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!