divxenc(1)
π divxenc(1) β the interactive shell script ripper π
okay bestie, sit DOWN, because this is the manual page for divxenc and it is genuinely iconic. it's a General Commands Manual, and yes, i'm about to explain the whole thing to you like we're texting at 2am. π«Ά
β¨ NAME β¨
divxenc β the interactive shell script ripper
β¨ SYNOPSIS β¨
divxenc
[-1p|-2p|-3p|-fq|-b|-e|-r|-sc|-scan|-iso|-spr|-bpp|-bpb|-v|-help] [-p
<preset>]
like. that's the whole vibe. you run divxenc, you throw some flags at it, it does the thing. π
β¨ DESCRIPTION β¨
so divxenc is an advanced and powerful interactive menu-driven shell script, and it uses the encoding utility MEncoder from the MPlayer project. you can use it to encode DVDs, (S)VCDs, or just regular video files into the MPEG-4 SP/ASP video format. and if you want more info plus a whole FAQ, go hit up http://divxenc.sourceforge.net β it's giving resource queen. π
now, divxenc keeps a configuration file stored in your home directory, inside a hidden directory named .divxenc. that's where you get to enable or disable a bunch of the supported audio/video filters and containers. why do you care? because disabling the filters and containers you're literally never gonna use makes the script way faster to pass through. β¨ efficiency β¨. also, that config file stores the paths to the required programs, plus a few other things like some script options, MPlayer flags, and email support. she's organized, she's thorough, she's that girl.
π REQUIREMENTS π
here's the shopping list, bestie. no cap, you need these:
- MPlayer/MEncoder >= 1.0rc2 (SVN highly recommended)
lsdvdLAME(for MP3 audio encoding)FAAC(for AAC audio encoding)dvdxchapfromogmtools(for DVD chapters export)neroAacEnc(for AAC/AAC+ audio encoding)aacplusenc(for AAC+ audio encoding)oggenc(for Vorbis audio encoding)flac(for FLAC audio encoding)mkvmergefrommkvtoolnix(for AVI -> MKV container conversion)MP4Boxfromgpac(for AVI -> MP4 container conversion)ogmmergefromogmtools(for AVI -> OGM container conversion)
π PARAMETERS π
this is the main character section, fr fr. every single flag, right here:
-1pβ Encode in 1-pass mode-2pβ Encode in 2-pass mode-3pβ Encode in 3-pass mode-fqβ Encode the DVD or video file in fixed-quant mode (constant quality)<passmode> -p <preset>β Use a predefined DivX quality preset, where<passmode>is the desired encoding mode (-1por-2por-fq) and<preset>is the desired quality preset to use (see below).
You can choose from 9 different presets:
cp ---> Load a custom preset (see example below)
nq ---> Normal Quality (NQ) preset
hq ---> High Quality (HQ) preset
vhq --> Very High Quality (VHQ) preset (recommended)
ehq --> Extreme High Quality (EHQ) preset (recommended)
uhq --> Ultra High Quality (UHQ) preset (recommended)
ihq --> Insane High Quality (IHQ) preset
hwp --> Stand-alone HW compatible (HWP) preset
ps3 --> Sony PS3 compatible (PS3) preset
ipod -> Apple iPod preset
Example of presets usage: divxenc -2p -p vhq
The above example will encode the DVD or input video file in 2-pass mode using the Very High Quality (VHQ) preset.
Load a custom preset from a file: divxenc -2p -p cp /path/to/file/preset.cfg
Please have a look at the preset.cfg file inside the divxenc package to give you an example on how to write a custom preset. The preset.cfg file is usually located inside the doc directory of the divxenc package.
-bpbβ This option is similar to the-bppone, except it calculates the Bits Per Block (bpb) values for various resolutions. The bpb value expresses how many bits each 16x16 macroblock gets. Good bpb values are between 37-52. As is the case with Bits Per Pixel, the bpb values are not absolute and depend on the video content you are willing to encode and the resolution you choose when scaling down.-b /path/to/file/batchfileβ Load a batch file generated by this script. This option can be useful for testing or debugging the MEncoder parameters and for batch encoding.-eβ Edit the config file from within the terminal. This option defaults to using thenanotext editor but one can manually set his preferred editor in theEDITORvariable of the config file. The config file is located in/home/username/.divxenc-rβ Reset configuration file. As of version 1.1.7,divxencuses a configuration file which contains the paths to the programs needed for its correct operation. This option tells the script to remove and recreate the config file using the default values. It can be used to restore the original values of the config file in case the user has modified it and wants to get rid of those modifications.
It is also used for resetting the config file in case the user has installed a required program after divxenc has generated its config file. If this is the case, the config file will not contain the path to the newly installed program so one has to reset the file in order to find it. This is because the config file is generated/updated only once: if it's not available on the user's system and during config version updates. The configuration file is located in /home/username/.divxenc/config
-scβ Perform a sanity check. This will check for the programs which are required for the correct operation of this script and it will print the status in a list. It will also display which audio codecs are supported by MEncoder.-scanβ Scan the DVD disc/video file and display extensive information about it. With this option, one can display or export the information to a file on disk in text, perl, python, ruby or xml format β only for DVD scans-isoβ Create an ISO image of the DVD disc. Note that this option does not do any stripping of titles, audio languages and/or subtitles. It dumps the DVD content 1:1 to an ISO image.-sprβ Calculate the Storage and Pixel Aspect Ratios (SAR/PAR) for various resolutions.-bppβ This is a informative option which lets you calculate the Bits Per Pixel (bpp) values for various resolutions. The bpp value represents how much bits each pixel gets. The higher the bpp value is, the more distinct colors the pixels will have which leads to a higher overall picture quality. Note that these values are not absolute! For video content with a lot of black in it, a bpp value of 0.14 may look very good. Video content with a lot of high motion scenes may still look bad with a bpp value of 0.20, so this really depends on the content you are willing to encode and the resolution you choose when scaling down.-helpβ Display built-in help of thedivxencscript and exit-vβ Display version of thedivxencscript and exit
π¦ SEE ALSO π¦
go read these too, bestie, they're the whole friend group:
mencoder(1), lsdvd(1), dvdxchap(1), lame(1), oggenc(1), flac(1), mkvmerge(1), mp4box(1), ogmmerge(1)
πΈ AUTHORS πΈ
divxenc was written by Grozdan Nikolov <neutrino8@gmail.com>
This manual page was written by the author of divxenc (see above)
π BUG REPORTS π
Please send all bug reports and/or questions/suggestions to <neutrino8@gmail.com>
like, please actually send them. he wants to hear from you. π
π WWW π
http://divxenc.sourceforge.net
ok that's literally the whole page, you ate that. go encode something. π β¨
and that's a wrap on the divxenc(1) page, bestie β this version is dated May 15, 2010, and it's page 1 of the divxenc manual. periodt. ππ¦π
π¦ where this page comes from
- ubuntu jammy: divxenc 1.6.4-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms