Emmabuntus, Ubuntu, Derivate, Linux, Open Source BackTrack, Linux, distributions, Ubuntu, derivate, securuty, forensic VirtualBox, Linux, Ubuntu, Raring Ringtail synaptic, Ubuntu, Linux, software packages jwplayer, multimedia, Linux, Ubuntu, flash Meshlab, graphic, software, Ubuntu, open source, Linux Synapse, Linux, Ubuntu, raring, Quantal Gimp, Ubuntu, Linux FreeMind, Linux, open source Linux, infographic, history

OGMRip libraries for ripping and encoding DVD into AVI, OGM, MP4, or Matroska files

ogmrip OGMRip is an application and a set of libraries for ripping and encoding DVD into AVI, OGM, MP4, or Matroska files using a wide variety of codecs. It relies on mplayer, mencoder, ogmtools, mkvtoolnix, mp4box, oggenc, lame, and faac to perform its tasks.

The GUI features a clean HIG-compliant GNOME 2 interface and tries to minimize as much as possible esoteric settings.

A CLI client is also available, it's called shRip.


* transcodes from DVD or files

* outputs OGM, AVI, MP4, or Matroska files

* supports a lot of codecs (Vorbis, MP3, PCM, AC3, DTS, AAC, XviD, LAVC, X264, Theora)

* calculates video bitrate for a given file size

* autodetects cropping parameters and scaling factors

* supports multiple audio and subtitles streams encoding

* extracts subtitles in SRT or VobSub format

* uses maximum quality codecs switches

* rips contiguous chapters

* supports external audio (PCM, MP3, AC3, DTS, AAC, Vorbis) and subtitles (MicroDVD, SubRip, SRT, Sami, VPlayer, RT, SSA, PJS, MPSub, AQT, JacoSub, VobSub) files

* provides customisable encoding profiles

* is extensible through plugins


OGMRip has been developed in C and needs some libraries and software to be configured and compiled. Some components are optional and some functionalities of OGMRip will automatically be activated if they are already installed. Those functionalities can be deactivated by configuration.



This tab groups all the options related to the encoding process as a whole.


  • Output Path: The folder in which the movie, the subtitles and, possibly, the log file will be stored at the end of the rip.

  • File Name: A list of templates for the filename of the rip. The extension is always the one of the container.

          • Preferred Languages

          • Audio: The first audio track of this language will automatically be selected when a DVD is inserted.

          • Subtitles: The first subtitles of this language will automatically be selected when a DVD is inserted.

          • Chapters: This option should be used to specify the language of the chapter information.



                  This tab groups the options for the advanced users.

                  DVD Copy

                • Copy DVD on hard drive before encoding: The DVD title is copied on the hard drive before the encoding. It takes a lot of disk space (between 5 and 10 GB) but it notably accelerates the encoding.

                  Get Chitika | Premium

                • After the encoding: This option specifies what to do with the copy after the title has been encoded. It is possible to remove the copy, to keep it on the hard drive, to keep it on the hard drive and update the GUI so that any subsequent encodings are made from the copy or to ask the user.


                      • Temporary Path: The folder in which all the temporary files while be stored.

                      • Do not remove temporary files: The temporary files won't be removed and kept in the temporary folder. This option is only useful for debugging purpose.

                      • Log commands output: The output of the commands spawned by OGMRip as well as the command lines themselves will be stored in a file with the same name as the rip but with the .log extension.



                              To ease working with different configurations and simplify the choice of the container, the codecs and their options, OGMRip supports encoding profiles. By default, OGMRip provides a few profiles for relatively standard configurations but it is of course possible to add new ones and remove, import or export existing ones.

                              The default profiles are:

                            • PC, High Quality: Encodes the video in X264 and the audio in AAC, in a Matroska container, with options improving quality over speed, for an output size of 700 MB.

                            • PC, Low Quality: Encodes the video in Mpeg-4 and the audio in Vorbis, in an Ogg Media container, with options improving speed over quality, for an output size of 700 MB.

                            • DivX for Standalone Player: Encodes the video in Xvid and the audio in MP3, in an AVI container, with options improving compatibility with standalone players, for an output size of 700 MB.

                                • The following sections describe the profile editor dialog.



                                  This tab groups all the options related to the encoding of the video stream.


                                  The codec to encode the video. Four video codecs are supported by OGMRip at the moment, but only those with which it has been configured will appear here. XviD and Lavc Mpeg-4 are implementations of the Mpeg-4 (Part 2) standard for coding video; Ogg Theora is based on the freed VP3 codec from On2 Technologies; X264 is used to encode video streams in H.264/AVC.


                                  • Passes: Specifies the number of passes to encode the video title. Encoding in 2 or even 3 passes provides a better distribution of the bits and greatly improves the global quality.

                                  • Quality: This option defines the quality of the rip. Be aware, however, that the highest quality can be extremely slow.

                                  • Reduce image noise: This option aims to reduce image noise producing smooth images and making still images really still. This should enhance compressibility.

                                  • Trellis searched quantization: Trellis quantization is a kind of adaptive quantization method that saves bits by modifying quantized coefficients to make them more compressible.

                                  • Use quarter pel motion compensation: MPEG-4 uses a half pixel precision for its motion search by default. The standard proposes a mode where encoders are allowed to use quarter pixel precision. This option usually results in a sharper image. Unfortunately it has a great impact on bitrate and sometimes the higher bitrate use will prevent it from giving a better image quality at a fixed bitrate.

                                  • Use a deblocking filter: TODO.

                                  • Use a deringing filter: TODO.

                                  • Turbo: Dramatically speeds up pass one using faster algorithms and disabling CPU-intensive options.

                                      More Options

                                      • Crop image: When this option is checked, the image is croppable.

                                      • Scaler: To improve the quality of the rip, it is almost always necessary to downscale the image. This option specifies the software scaler algorithm to be used. The default option is recommended by MPlayer.

                                      • Maximum image size: This option specifies the maximum size above which the image cannot be scaled. If you don't want a maximum size, set width or height to 0.

                                      • Expand image to maximum size: With the option, the image will be expanded to the maximum size by adding black bars around it.



                                          This tab groups all the options related to the encoding of the audio streams.


                                          The codec to encode the audio. Four audio codec are supported by OGMRip at the moment, but only those with which it has been configured will appear here. OGMRip can also only extract audio tracks without encoding and then keep the quality of the AC3 or DTS formats for more data. MP3 is a lossy compression format widely used to exchange audio files. Ogg Vorbis has better performances but is rarely supported by standalone players. WAV is the most common format for uncompressed audio. Advanced Audio Coding or AAC offers a better quality/compression ratio than MP3.


                                          • Quality: This option specifies the quality of the audio coding, 0 being the lowest quality, 10 the highest.

                                          • Channels: This option should be used to reduce the number of channels by merging their content.

                                          • Sample Rate: If the audio sample rate in the DVD is not the same as required by the target format, sample rate conversion is required.

                                          • Normalization: Maximizes the volume without distorting the sound.



                                              This tab groups all the options related to subtitles extraction.


                                              The format of the subtitles. Two formats are supported by OGMRip at the moment, but only those with which it has been configured will appear here. SRT is a very simple yet sufficent text subtitles format. VobSub is the format of DVD subtitles. This is a binary format where subtitles are stored as images.

                                              • Forced subtitles only: With this option, only forced subtitles will be extracted.

                                                  Text Options

                                                  (These options are only accessible if the selected codec can extract text subtitles.)

                                                  • Character Set: The character set to be used for the subtitles. Standalone players seems to prefer ISO-8859 or ASCII but some characters can only by stored in UTF-8.

                                                  • End of line: End of line characters are not the same under DOS/Windows and UNIX. Some standalone players seem to prefer the DOS format.

                                                  • Spell Checking: optical character recognition is not 100% sure and it is often necessary to perform spell checking.


                                                      The encoding process is performed in several steps described hereafter. First, select the source. It can be either a DVD, the copy on the hard drive of a DVD or an ISO image. Next, select the title, audio tracks, subtitles and chapters to encode. Finally, set some DVD specific options.

                                                      Source Selection


                                                      To select the source, click on the "Load" button to show the DVD Selection dialog. Then, either select a DVD-Video from the list or browse for a DVD structure or an ISO image. If you want to encode a disc that is not yet in the drive, you can click on the "Eject" button. Once you've made your choice, click on the "Load" button and the DVD will be loaded.

                                                      It is also possible to specify a device, a directory or an ISO image directely on the command line:

                                                      $ ogmrip image.iso

                                                      Main Window


                                                      Once the DVD has been loaded, the main window shows the table of contents of the DVD sorted by titles. Each time a new title is selected, the audio tracks, subtitles and chapter information change accordingly.

                                                      Title and chapter information

                                                      The title of the DVD is automatically retrieved. It will be used as the basename of all the files. The names of the chapters, however, are not stored in the DVD. They should be specified by the user if necessary by double-clicking in the Name cells of the chapters list. Chapter information can also be imported from a file in the simple format or the Matroska XML format (see mkvmerge) with the "Import chapters" menu item. Only Matroska and OGM containers can store chapter information. It can be used by media players to navigate chapter by chapter.

                                                      Chapter information can also be exported for later use with the "Export chapters" menu item".

                                                      Video title, audio tracks and subtitles

                                                      OGMRip can only encode one video title at a time; by default, it will be the longest title. OGMRip, however, can encode several audio tracks and subtitles for a given video title, container permitting. That is the case for OGM and Matroska. This should also be the case for AVI and MP4, but MEncoder does not support it. By default, the first audio track and the first subtitles in the preferred language are selected. To add new streams, click on a '+' button and select the stream. To remove a stream, click on a '-' button.

                                                      OGMRip also supports external audio tracks and subtitles.

                                                      Chapters and relative mode

                                                      By default, all the chapters of a video title are selected for extraction. It is however possible to only extract a subset of contiguous chapters. In order to do so, one must check the boxes in the 'Extract?' column of the chapters list. As soon as a few chapters only are selected, the 'Relative Mode' check box becomes sensitive. When checked, OGMRip shall estimate the video bitrate as if all the chapters were encoded. This mode can be used to get a preview of one chapter or two to check the quality before encoding the full video title.



                                                      Some options can't be globally set, they are specific to a given encoding.

                                                      • Profile: Use this list to select the encoding profile, that is, the container, the codecs and, moreover, their specific options.

                                                      • Automatic cropping: By default, OGMRip automatically determines the cropping parameters to remove the black bands from widescreen movies. In some cases, the detection can be wrong and it is necessary to tweak those parameters.

                                                      • Automatic scaling: Again, OGMRip tries to optimize the quality of the rip by downscaling the video to an optimal bits par pixel of 0.25. It is however possible to specify a custom image size or to use some predefined image sizes respecting the aspect ration of the movie. It should be noted that scaling parameters can only be autodetected if the bitrate and the cropping parameters have been explicitly specified.

                                                      • Automatic compressibility test: It is also possible to improved the quality of the rip by testing the compressibility of the movie and adjusting the scaling parameters accordingly. By default, OGMRip automatically performs a compressibility test, but it is possible to deactivate this feature.

                                                      • Cartoon: Activates cartoon specific optimisations to improve the quality.

                                                      • Deinterlacer: For a very compatible movie, it can be necessary to deinterlace the video. But if you are encoding for high quality archival purposes, it is recommended not to deinterlace and to deinterlace the movie at playback time.

                                                          You can now click on the "Extract" button to encode the DVD title immediately, or press the "Enqueue" button and add it to the encoding manager.

                                                          Encoding Manager


                                                          Encoding multiple DVD titles can be a very long process if you must wait for an encoding to complete before starting the other. OGMRip now provides an encoding manager which takes care of this for you.

                                                          Here is how it works:

                                                          if necessary, it copies all the DVD titles on the hard drive

                                                          it then encodes the DVD titles

                                                          as soon as a DVD title isn't necessary anymore, it is removed from the hard drive

                                                          This way, you only have to wait until all DVD titles are copied, the encoding not requiring any human intervention.


                                                      If you liked this article, subscribe to the feed by clicking the image below to keep informed about new contents of the blog:


                                                      Related Post

                                                      Linux Links

                                                      Share on Google Plus

                                                      About Hugo Repetto

                                                      Ubuntu is a Linux distribution that offers an operating system predominantly focused on desktop computers but also provides support for servers. Based on Debian GNU / Linux, Ubuntu focuses on ease of use, freedom in usage restriction, regular releases (every 6 months) and ease of installation.
                                                        Blogger Comment
                                                        Facebook Comment


                                                      Post a Comment