DVDEnc v0.25 - DVD-to-MP4 Autoconverter

e.mote

Senior Member
Feb 16, 2011
2,165
892
0
DVDEnc_0.25.rar (5.3MB) http://mediafire.com/?4xkmv4ydso2a5g2

DVDEnc is a Windows script to convert DVD to MP4. Defaults are already set to optimal. It uses HandbrakeCLI (included) to encode.

. Drag & drop operation.
. Batch conversion.
. Changeable speed setting (default = medium).
. Changeable quality setting (default = CRF 21).
. Auto-deinterlace, auto-IVTC, auto-crop, auto-subtitle, auto-chapter.


Install: Unpack. Create shortcut to DVDENC.CMD on desktop.


DVD Ripping: Install and use DVDFab HD Decrypter (http://www.dvdfab.com/free.htm) to rip DVDs to HDD.


Use: Drag-drop ripped DVD folder onto shortcut. To batch encode multiple DVDs, batch select desired folders and drag-drop. Unless otherwise specified, converted output is placed into source DVD folder(s).


Notes:

. Change output folder: Edit DVDENC.CMD; change set "vOut=" to desired folder. Example: set "vOut=C:\Videos"

. Change video quality: Edit DVDENC.CMD; change "vQual=21" to a value between 19 to 24. The higher the value, the lower the quality and file size.

. Change video resolution: Edit DVDENC.CMD; change "vRes=better" to desired resolution.

. Change encoding speed: Edit DVDENC.CMD; change "vSpeed=medium" to desired speed setting. The faster the conversion, the larger the resultant file size. Video quality will be constant.

. Change language: Edit DVDENC.CMD, change "vLang=eng" to your country's ISO639-2 code. (English=eng, French=fra, Spanish=spa, German=ger, Dutch=nld; for others, go to http://www.loc.gov/standards/iso639-2/php/code_list.php). This affects selected audio and subtitles. If no audio is available in specified lang, 1st track is selected.

. Change audio: Default is stereo AAC. To change to AAC/AC3/DTS, edit DVDENC.CMD, change "vAud=AAC" to desired setting. For Tegra 2, use AAC stereo only.

. If DVD has multiple titles, every title longer than 15mins will be converted.

. HandBrake.txt has full details of all HandBrake CLI settings.


HandBrake version: svn3993
download: http://build.handbrake.fr/view/Nightlies/job/Windows
documentation: http://trac.handbrake.fr/wiki/CLIGuide
x264 settings: http://mewiki.project357.com/wiki/X264_Settings


Known Issue: Not intended for and won't work on BluRays.


History:

0.25
. Fix: Check for title with longest time in same VTS chain.
0.24
. Add: Force CFR as default; user-changeable.
0.23
. Fix: failed duration check crashing script.
0.22
. Fix: prevent dupe encodes of multi angles.
. Fix: only include subs of specified language.
0.21
. Include all subtitles as default.
. Fix errorhandling.
0.2
. Add resolution/profile/level/tuning/audio change.
. Add output destination.
. Fix TimeStamp internationalization.
0.12
. Add support for multi-title DVDs.
0.11
. Add timestamping to show encoding time.
0.1
. Initial release.
 
Last edited:

cwizardtx

Senior Member
May 22, 2009
569
52
0
Houston
I am going to test this soon, I have been using AnyDVD HD to rip the DVD to hard drive first is that just as acceptable as the product you suggested?

Do you find any audio sync issues with this procedure?
 

Enndr

Senior Member
Apr 7, 2010
269
1
0
Cincinnati
I used this to encode Avarar and Startrek, both turned out GREAT!
I changed the quality level to max "19" and they play and look awesome.
Avatar was a little over 2gb and Startrek was a little over 1gb.

Oh yeah and I set decode speed to slow to make them compress a little smaller because I upped the quality.

Sent from my Xoom using Tapatalk
 
  • Like
Reactions: marctronixx

cwizardtx

Senior Member
May 22, 2009
569
52
0
Houston
Can I make a copy of this script and modify it to do an alternate language track and subtitles? I ask because I want to rip AKIRA but I want it to be in Japanese with english subtitles (currently its main audio track is english)
 

e.mote

Senior Member
Feb 16, 2011
2,165
892
0
@myv6mustang

The script can only do what HandBrakeCLI can recognize. Last I tried, ISOs weren't recognized. It shouldn't be a big deal. Just mount ISOs using a virtual-CD app, like DVDFab Virtual Drive (see link in OP).

HB's Bluray support is a bit iffy. As of the last official version (0.9.5), PGS subtitles weren't supported. Other than that, the script info-scanning routines will need to be updated for M2TS scans. To be honest, I don't bother to do many BD rips, since the ripped BD stuff come out so much earlier than retail BDs hitting the stores.

@cwizardtx

To use the default audio track (track 1) instead of one dubbed to your language, search for --native-dub and change it to --audio 1 --subtitle-default . Yeah, you can make separate copies of the script with different settings.

So, I take it that for SD (480p) DVDs, high profile work on the Xoom? Or are you guys using baseline? Anyone trying main profile?
 

cwizardtx

Senior Member
May 22, 2009
569
52
0
Houston
@myv6mustang

The script can only do what HandBrakeCLI can recognize. Last I tried, ISOs weren't recognized. It shouldn't be a big deal. Just mount ISOs using a virtual-CD app, like DVDFab Virtual Drive (see link in OP).

HB's Bluray support is a bit iffy. As of the last official version (0.9.5), PGS subtitles weren't supported. Other than that, the script info-scanning routines will need to be updated for M2TS scans. To be honest, I don't bother to do many BD rips, since the ripped BD stuff come out so much earlier than retail BDs hitting the stores.

@cwizardtx

To use the default audio track (track 1) instead of one dubbed to your language, search for --native-dub and change it to --audio 1 --subtitle-default . Yeah, you can make separate copies of the script with different settings.

So, I take it that for SD (480p) DVDs, high profile work on the Xoom? Or are you guys using baseline? Anyone trying main profile?
Is this correct?

--native-language %vLang% --audio 1 --subtitle-default %vAud% %vSub% 2>nul

this is from your script, the line right after --decomb --detelecine etc etc... I took out --native-dub and replaced it but you have some variables being passed after that and I dont want to break the script.
 

e.mote

Senior Member
Feb 16, 2011
2,165
892
0
Speed vs size

For those who wonder how the various speed presets fare in terms of encoding time vs size efficiency, this was a test I did a while ago. The last two columns are what you want to know. Comparisons are relative to the default medium preset.

Code:
Avatar - ultrafast 00h55m42s  4581.221914 MB  size: 212.0%  time:  31.1%
Avatar - superfast 01h09m45s  2930.445943 MB  size: 135.6%  time:  39.0%
Avatar - veryfast  01h26m23s  2330.504009 MB  size: 107.8%  time:  48.3%
Avatar - faster    01h54m38s  2226.213107 MB  size: 103.0%  time:  64.0%
Avatar - fast      02h37m10s  2172.828731 MB  size: 100.5%  time:  87.8%
Avatar - medium    02h58m59s  2161.404744 MB  size: 100.0%  time: 100.0%
Avatar - slow      05h06m51s  2087.993149 MB  size:  96.6%  time: 171.4%
Avatar - slower    09h51m26s  1997.699705 MB  size:  92.4%  time: 330.4%
Avatar - veryslow  16h20m25s  1889.813900 MB  size:  87.4%  time: 547.8%
To sum, the best speed setting per size-time trade-off is "veryfast", where there is only a 8% size increase, but at half the encoding time. The "faster" and "fast" settings are also good choices.

The best setting for getting smallest size, but without excessive encoding time, is "medium".
 

marctronixx

Senior Member
Jul 18, 2007
1,375
177
0
ive given this setup a try on 4 DVDs so far and the quality that i have seen has been great. i have only seen one of the 4 movies so will update as ive seen the others but thus far great work. i was ready to purchase a product that does this but im pretty pleased with the results in default values.

i first thought i would not understand this style of encoding but e.motes package is easy to handle.

this is definitely a great alternative to xoom users vs. paid products. and there are many out there...
 

sk4doosh

Member
Sep 2, 2013
20
4
0
To rip and convert DVD to mp4, I prefer Aunsoft DVD ripepr, it has a simple surface and can rip and convert DVD files/DVD discs to many HD formats including H.264 HD MP4.
I've used Xmedia Recode for quite sometime. There are templates for a lot of devices including the Xoom. I haven't personally used the Xoom template, but I've used a few others and had good results from all.