DVD to Ogm Conversion Guide

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • scottws
    Junior Member
    Junior Member
    • May 2003
    • 27

    #46
    Ok, I think I found a bug in DVD2OGMs bitrate calculator. For whatever reason, DVD2OGM thinks that AC3 audio is smaller than even q2 OGG or 64kbps MP3, because if you select the AC3 radio button over OGG or MP3, you get a higher resulting bitrate. But when you actually encode the movie, DVD2OGM finds out how big the audio really is and then recalculates a much smaller bitrate to really encode at.

    For instance, I was encoding a movie just now. The bitrate calculator said the bitrate would be about 895kbps with muxed AC3 (814 with q2 OGG). After I had started the encode, and the video was on its second pass, I went back and was looking through the log. DVD2OGM looked at the AC3, found out it was however many bytes, and then recalculated the bitrate to 456kbps. It cut the bitrate by more than half. Obviously, the resulting video with a resolution of 640x336 looked like crap.

    Clearly, DVD2OGM doesn't calculate bitrate properly when AC3 is selected.

    Here's a copy of the log (there is an error at the end because I cancelled the file):
    ---------------------------------

    DVDtoOgm - Encoding Job:

    Encoding Video 2-pass, 1st pass: C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs).ogm
    Encoding Video 2-pass, 2nd pass: C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs).ogm
    Muxing Ogm Inputs: C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs).ogm


    DVDtoOgm 1.35.2 beta
    Encoding Log File:


    Files:

    Sorce File C:\Documents and Settings\Name\My Documents\My DVDs\DVD\The Terminator.d2v
    Final Movie-File: C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs).ogm
    Movie File: C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs)_Movie.avi
    AVS-File: C:\Documents and Settings\Name\My Documents\My DVDs\DVD\The Terminator.avs


    Job Settings:

    Mux Audio & Video: true
    Delete Files: true
    Write Log File: true
    Enc. Credits sep.: false
    Video Codec: DivX


    Calculate Bitrate:

    Audio 1 Size: 0 KB
    Audio 2 Size: 0 KB
    Final Ogm Size: 716800 KB
    Add File Size: 0 KB
    Bitrate: 895
    Frames: 154234
    Framerate: 23.976
    Movie Duration: 1 : 47 : 13
    Resolution: 512 x 304


    Audio 1 Information:

    Audio 1 Comment: English
    Audio 1 Re-Calc.: true
    Audio 1 Fin. File: C:\Documents and Settings\Name\My Documents\My DVDs\DVD\The Terminator AC3 T01 3_2ch 448Kbps DELAY 3ms.ac3
    Commandline:


    Audio 2 Information:

    No Audio processing!


    Start Encoding Progress:

    [1:59:12 PM]: Audio 1 final Filesize: 351804 KB
    [1:59:12 PM]: Re-Calculate Bitrate: 456 kbps

    [1:59:12 PM]: Adding this Script to VirtualDubMod.jobs:

    // VirtualDub job list (Sylia script format)
    // This is a program generated file -- edit at your own risk.
    //
    // $numjobs 1
    //

    // $job "DVDtoOgm - Encoding Job"
    // $input "C:\Documents and Settings\Name\My Documents\My DVDs\DVD\The Terminator.avs"
    // $output "C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs)_Movie.avi"
    // $state 0
    // $start_time 0 0
    // $end_time 0 0
    // $script

    VirtualDub.Open("C:\\Documents and Settings\\Name\\My Documents\\My DVDs\\DVD\\The Terminator.avs",0,0);
    VirtualDub.RemoveInputStreams();
    VirtualDub.video.SetDepth(24,24);
    VirtualDub.video.SetMode(1);
    VirtualDub.video.SetFrameRate(0,1);
    VirtualDub.video.SetIVTC(0,0,-1,0);
    VirtualDub.video.SetRange(0,0);
    VirtualDub.video.SetCompression(0x78766964,0,10000 ,0);
    VirtualDub.video.filters.Clear();
    VirtualDub.subset.Delete();
    VirtualDub.SaveAVI("C:\\Documents and Settings\\All Users\\Documents\\Shared DVDs\\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs)_Movie.avi");
    VirtualDub.Close();

    // $endjob
    //
    //--------------------------------------------------
    // $done

    [1:59:12 PM]: Start Encoding Video - 2pass, 1st-pass
    [3:24:33 PM]: Finished Encoding Video - 2pass, 1st-pass

    [3:24:33 PM]: Adding this Script to VirtualDubMod.jobs:

    // VirtualDub job list (Sylia script format)
    // This is a program generated file -- edit at your own risk.
    //
    // $numjobs 1
    //

    // $job "DVDtoOgm - Encoding Job"
    // $input "C:\Documents and Settings\Name\My Documents\My DVDs\DVD\The Terminator.avs"
    // $output "C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs)_Movie.avi"
    // $state 0
    // $start_time 0 0
    // $end_time 0 0
    // $script

    VirtualDub.Open("C:\\Documents and Settings\\Name\\My Documents\\My DVDs\\DVD\\The Terminator.avs",0,0);
    VirtualDub.RemoveInputStreams();
    VirtualDub.video.SetDepth(24,24);
    VirtualDub.video.SetMode(1);
    VirtualDub.video.SetFrameRate(0,1);
    VirtualDub.video.SetIVTC(0,0,-1,0);
    VirtualDub.video.SetRange(0,0);
    VirtualDub.video.SetCompression(0x78766964,0,10000 ,0);
    VirtualDub.video.filters.Clear();
    VirtualDub.subset.Delete();
    VirtualDub.SaveAVI("C:\\Documents and Settings\\All Users\\Documents\\Shared DVDs\\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs)_Movie.avi");
    VirtualDub.Close();

    // $endjob
    //
    //--------------------------------------------------
    // $done

    [3:24:33 PM]: Start Encoding Video - 2pass, 2nd-pass
    [3:40:47 PM]: Finished Encoding Video - 2pass, 2nd-pass

    [3:40:47 PM]: Adding this Script to VirtualDubMod.jobs:

    // VirtualDub job list (Sylia script format)
    // This is a program generated file -- edit at your own risk.
    //
    // $numjobs 1
    //

    // $job "DVDtoOgm - Muxing Job"
    // $input "C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs)_Movie.avi"
    // $output "C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs).ogm"
    // $state 0
    // $start_time 0 0
    // $end_time 0 0
    // $script

    VirtualDub.Open("C:\\Documents and Settings\\All Users\\Documents\\Shared DVDs\\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs)_Movie.avi",0,0);
    VirtualDub.RemoveInputStreams();
    VirtualDub.stream[0].SetSource("C:\\Documents and Settings\\Name\\My Documents\\My DVDs\\DVD\\The Terminator AC3 T01 3_2ch 448Kbps DELAY 3ms.ac3",0x00000203);
    VirtualDub.stream[0].AddComment(0x00010000,"","English");
    VirtualDub.stream[0].SetMode(0);
    VirtualDub.stream[0].SetInterleave(1,500,1,0,0);
    VirtualDub.stream[0].SetClipMode(1,1);
    VirtualDub.stream[0].SetConversion(0,0,0,0,0);
    VirtualDub.stream[0].SetVolume();
    VirtualDub.stream[0].SetCompression();
    VirtualDub.stream[0].EnableFilterGraph(0);
    VirtualDub.stream[0].filters.Clear();
    VirtualDub.stream[1].SetSource("C:\\Documents and Settings\\Name\\My Documents\\My DVDs\\DVD\\Terminator French subtitles.srt",0x00000301);
    VirtualDub.stream[1].AddComment(0x00010000,"","French");
    VirtualDub.stream[1].SetMode(0);
    VirtualDub.stream[1].SetInterleave(1,500,1,0,0);
    VirtualDub.stream[1].SetClipMode(1,1);
    VirtualDub.stream[1].SetConversion(0,0,0,0,0);
    VirtualDub.stream[1].SetVolume();
    VirtualDub.stream[1].SetCompression();
    VirtualDub.stream[1].EnableFilterGraph(0);
    VirtualDub.stream[1].filters.Clear();
    VirtualDub.stream[2].SetSource("C:\\Documents and Settings\\Name\\My Documents\\My DVDs\\DVD\\Terminator Spanish subtitles.srt",0x00000301);
    VirtualDub.stream[2].AddComment(0x00010000,"","Spanish");
    VirtualDub.stream[2].SetMode(0);
    VirtualDub.stream[2].SetInterleave(1,500,1,0,0);
    VirtualDub.stream[2].SetClipMode(1,1);
    VirtualDub.stream[2].SetConversion(0,0,0,0,0);
    VirtualDub.stream[2].SetVolume();
    VirtualDub.stream[2].SetCompression();
    VirtualDub.stream[2].EnableFilterGraph(0);
    VirtualDub.stream[2].filters.Clear();
    VirtualDub.video.SetDepth(24,24);
    VirtualDub.video.SetMode(0);
    VirtualDub.video.SetFrameRate(0,1);
    VirtualDub.video.SetIVTC(0,0,-1,0);
    VirtualDub.video.SetRange(0,0);
    VirtualDub.video.SetCompression();
    VirtualDub.video.filters.Clear();
    VirtualDub.subset.Delete();
    VirtualDub.SaveOGM("C:\\Documents and Settings\\All Users\\Documents\\Shared DVDs\\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs).ogm");
    VirtualDub.Close();

    // $endjob
    //
    //--------------------------------------------------
    // $done

    [3:40:47 PM]: Start Muxing Audio, Video & Ogm Inputs
    [3:41:07 PM]: Finished Muxing Audio, Video & Ogm Inputs

    [3:41:07 PM]: ERROR: Final movie size is smaller than intermediate file size! Not deleting intermediate Files!


    Job Finished - End of Log-File
    Last edited by scottws; 26 Nov 2011, 08:38 AM. Reason: Privacy

    Comment

    • s0mebody
      Junior Member
      Junior Member
      • Sep 2003
      • 5

      #47
      No AC3 file, just wav

      Hi.

      I followed your guides at http://www.divx-digest.com/articles/dvd2ogm.html and also the DVD2AVI guide at http://www.divx-digest.com/articles/dvd2avi.html and I've got a problem with step 4.2 of the dvd2ogm guide "Step 4 : Video and Audio Encoding".

      Problem is, that DVD2AVI did not create a AC3 file for me. After running DVD2AVI, all I got was a WAV file. Now, when I try to Add that file in DVDtoOGM 1.40 Beta, Audio, I cannot click on the Add button in the lower part of the window. When I do, I get an error window:

      '' ist kein gültiger Integerwert.

      This means:

      '' is not a valid integer value.

      Did I do something wrong?

      Thanks,
      s0mebody

      Comment

      • s0mebody
        Junior Member
        Junior Member
        • Sep 2003
        • 5

        #48
        Now I tried to add an .ogg file. When I select such a file, DVD2OGM preselects "Just mux, Delay:" in the radio button row. However, I cannot type anything at all in the text area behind Delay:. Because of this, I also cannot on "Add" at the bottom of the window. If I do, I get the error message I posted two days ago.

        Comment

        • s0mebody
          Junior Member
          Junior Member
          • Sep 2003
          • 5

          #49
          Another one having sub problems

          Hi.

          The problem I posted on 02-17-2004 seems to be have been fixed by the 1.41 Beta. Thanks a lot for this!

          However, just like some other people here, I'm having problems with subs. I ripped them with SubRip and got a .srt file. In DVDtoOGMs "Ogm" tab, I selected this .srt file, choose a language and clicked on add. It then shows up in the "area" above the buttons.

          Then I encoded the movie as XviD into a .ogm container. No error messages, AFAICS.

          After this, I opened the movie with bsplayer v1.00.805. In the tasktray, the green VobSub icon shows up. In there, I can see the subtitles I added (Deutsch and English). When I select them, nothing happens. Also when I select any of hte subtitles listed directly in bsplayer, nothing happens.

          Thanks,
          s0mebody
          Attached Files

          Comment

          • jackel0
            Junior Member
            Junior Member
            • Mar 2004
            • 4

            #50
            After I was getting superb rips using DVDtoOGM, suddenly it started somehow overlooking the video input (although it took the usual 4 or 5 hours to do the encoding) and giving me a muxed file only a little larger than the audio input. I've been through the guide over and over and can't work out what I'm doing wrong. If I post part, or all, of the logfile, would anyone be prepared to check through it and help me out? (I don't like to just post something as big as that without asking first. But maybe someone knowledgeable enough to help would only need the initial settings from the logfile?) I'd much appreciate it if someone could help.

            Comment

            • vrillusions
              Junior Member
              Junior Member
              • Jun 2004
              • 2

              #51
              I'm trying to rip a multi-episode anime and I'm just trying to do one episode at a time. There are two chapters per episode so I extract them with stream ripper by just unchecking the other chapters. I go through dvd2avi to create a project file and that goes without problems. I then try to load the project file and it says invalid dvd2avi profile. I tried a few different settings and none of them work. I'm using dvd2ogm v1.41.1 beta and smartripper 2.41. Don't see any log files I could attach that would help. I can attach the dvd2avi project file if that would help? the only scenario I haven't tried is doing the full extract and see if it works then, although I don't want to have one large file with all 6 episodes in it. I want 6 files, one episode each. thanks.

              Comment

              • kr0n0s
                Junior Member
                Junior Member
                • Apr 2004
                • 2

                #52
                QUOTE:However, just like some other people here, I'm having problems with subs. I ripped them with SubRip and got a .srt file. In DVDtoOGMs "Ogm" tab, I selected this .srt file, choose a language and clicked on add. It then shows up in the "area" above the buttons.

                ANSWER: I got the same problem with zoom player. I use DVDtoOGm v.1.4. I simply create by subtitles with subrip. However, I don't add the subtitles in DVDtoOGM. I create the OGM and then once the encoding is doen I open it using VdumMod. I add the subtitles (Steams>Steam List) and Save it (File>Save as... select "Direct Stream Copy" before you save). Works every time.

                QHOTE: "I'm trying to rip a multi-episode anime and I'm just trying to do one episode at a time. There are two chapters per episode so I extract them with stream ripper by just unchecking the other chapters. I go through dvd2avi to create a project file and that goes without problems. I then try to load the project file and it says invalid dvd2avi profile. I tried a few different settings and none of them work. I'm using dvd2ogm v1.41.1 beta and smartripper 2.41. Don't see any log files I could attach that would help. I can attach the dvd2avi project file if that would help? the only scenario I haven't tried is doing the full extract and see if it works then, although I don't want to have one large file with all 6 episodes in it. I want 6 files, one episode each. thanks."

                ANSWER: I've had the same "invalid d2v project error". Just re-rip the file. Instead of just ripping chapters, why dont you do the whole movie and then cut it using VdubMod. Open your .ogm movie in VdubMod. Select the beginning (HOME key on your keyboard) and the End (End key on your keyboard) then save it (File>Save as...Make sure you select "Direct Stream Process".)

                Now I need some help. Is there anyone that can teach me or show me a guide that shows how to properly add new avisynth filters using dvdtoogm. I followed the guide for DVDtoOGM but I always get a VdubMod error.

                This is what I do. I added Msmooth and Msharpen. This is what I have.

                MSharlpen:
                Caption: MSharpen
                Position: after Convolution 3D
                Plugin: C:\Program Files\DVDtoOgm\Plugins\MSharpen.dll
                Function: MSharpen(15,100,true,false,false)

                MSmooth:
                Caption: MSmooth
                Position: after Convolution 3D
                Plugin: C:\Program Files\DVDtoOgm\Plugins\Msmooth.dll
                Function: MSmooth(threshold=15,strength=3,highq=true,show=fa lse,debug=false)

                I then select both filters under Encode>Customer Filters.

                Thanks in advance.

                Comment

                • vrillusions
                  Junior Member
                  Junior Member
                  • Jun 2004
                  • 2

                  #53
                  Originally posted by kr0n0s
                  QHOTE: "I'm trying to rip a multi-episode anime and I'm just trying to do one episode at a time. There are two chapters per episode so I extract them with stream ripper by just unchecking the other chapters. I go through dvd2avi to create a project file and that goes without problems. I then try to load the project file and it says invalid dvd2avi profile. I tried a few different settings and none of them work. I'm using dvd2ogm v1.41.1 beta and smartripper 2.41. Don't see any log files I could attach that would help. I can attach the dvd2avi project file if that would help? the only scenario I haven't tried is doing the full extract and see if it works then, although I don't want to have one large file with all 6 episodes in it. I want 6 files, one episode each. thanks."

                  ANSWER: I've had the same "invalid d2v project error". Just re-rip the file. Instead of just ripping chapters, why dont you do the whole movie and then cut it using VdubMod. Open your .ogm movie in VdubMod. Select the beginning (HOME key on your keyboard) and the End (End key on your keyboard) then save it (File>Save as...Make sure you select "Direct Stream Process".)
                  Unfortunately I've tried that, re-ripped it two or three times, again just chapters though, forgot about vdubmod, may just try that and not touch stream ripper's settings and see if that works.

                  Comment

                  • djibeXX
                    Junior Member
                    Junior Member
                    • Jun 2003
                    • 3

                    #54
                    Would like to contact the Developers of DVDtoOGM

                    Hello, i'm making a French translation of the rocking dvdtoOGM, how can i send it to you?

                    Comment

                    • Traiklin
                      Junior Member
                      Junior Member
                      • Apr 2004
                      • 6

                      #55
                      I've uddenly started getting a VERY weird error.

                      The program seems to close itself after a certain ammount of time (even during an encode) I fallow the instructions given on that guide but when I get to the encoding part I select my codec then it just shuts off.

                      if I go through fast enough I can get to it encoding but then during the conversion of the audio it will just exit, it doesn't error or anything it just exits like I closed it myself. I just don't get why it closed but don't say "Do you want to stop conversion?" or something it just exit's out by itself.

                      I'm using DVDtoOgm 1.41 beta since it's the only one I can find and that the instructions link to.

                      Narrowed it down, it has something to do with Divx.
                      Last edited by Traiklin; 18 Sep 2004, 05:35 AM.

                      Comment

                      • aznjonathanjay
                        Junior Member
                        Junior Member
                        • Jan 2005
                        • 1

                        #56
                        You know when your do this step?

                        We'll now make a DVD2AVI project file. Still in the "Prepare" section, click on the "DVD2AVI" button to start DVD2AVI. Please follow this DVD2AVI guide to find out how to make a DVD2AVI project file (and also an .AC3 file for the audio component of the clip). Also take a note of the "Statistics Window" results you get when playing back the movie in DVD2AVI - the properties you should remember are "Aspect Ratio", "Video Type" and "Frame Type". You can close DVD2AVI after you have finished saving the project file.


                        Do i have to save the project and save the AVI for it?

                        Comment

                        • nakedfencer
                          Junior Member
                          Junior Member
                          • Jan 2005
                          • 1

                          #57
                          I am having trouble Using DBDtoOgm, when i get to the Save & Encode part of the guide a message pops up saying "DivX codec not configured correctly" could some one please help me

                          Nakedfencer

                          Comment

                          • ingolf
                            Junior Member
                            Junior Member
                            • Jul 2002
                            • 10

                            #58
                            Hmm. its the 3rd time i try to follow the guide. And did exactly as desctribed.. hopefully. What i am about to do is to encode a DVD with AC3 sound, into an XVID OGM file. According to the bitrate calculation, the file needs 1444 kbps. Thats ok. But after the encoding has run, the encoded video has an average of about 1040 kbps.. wonder what i am doing wrong. I have checked that the settings are correct in the xvid codec; alas the bitrate is set correctly.. but still it ends at around 1040 kbps, according to gspot and vdubmod.

                            One thing i was wondering about, was that i had to click the 'select' button in the bitrate section, and select the .AC3 file, but i also had to add the ac3 file in the audio section... wonder if it had the audio file included twice? I have tried not to add the audio file in the bitrate section but it still ends up at about 1040 kbps

                            The bitrate in the 'bitrate' section is correct (verified using other bitratecalculators), but the passed bitrate to xvid is wrong.

                            Anyway.. i noticed the .AVS file, and now i am doing the encoding manually, using vdubmod, and with the correct bitrate.. the endresult is also correct...filesize... but damn.. i tried 3 times.. each pass takes 2 hours.. go figure

                            The size of the AC3 file is 163mb. I am trying to encode to a 2CD xvid file. The ending movie size is just about 1gb.. so i did some calculation, and this is what i get:
                            2cd=1.468.006.400 bytes
                            If the audio was included twice..it should give audio*2 = (2*163mb) = 341.835.776 bytes..so
                            1.468.006.400-341.835.776=1.126.170.624 left for the video. and this result seems extremely close to the endresult i got using DVDTOOGM, and the guide.

                            Any1 got a clue of what i am talking about, and maybe can give me a hint of what i am doing wrong?

                            Thanks in advance for any help, and let me know if you need more info.

                            Comment

                            • ingolf
                              Junior Member
                              Junior Member
                              • Jul 2002
                              • 10

                              #59
                              Hmm. seems that XVID is screwing around with me. The manuel 2-pass ended at 945kbps, eventhou i specified it at 1440kbps... so.. it seems that it is NOT DVDtoOGM... any1 got a clue what is going on with xvid? i am using the latest version v1.0.3. I have the latest matroska pack installed, and ffdshow aswell.

                              Using winxpsp2, with DX9.

                              Comment

                              Working...