View Full Version : DRPEncXP - MEncoder Edtion v.1.03
Amnon82
18th February 2004, 13:46
I decided to program a gui for mencoder.
Mencoder is a Encoder out of the linuxworld. It was ported to Windows so I started to code this GUI. Razorblade my friend helped me out with his sources, so I added some apps of him into DRPEnc.
A little bit about the functions of DRPEnc:
- Buildin BitrateCalc
- Buildin AudioEncoder
- Buildin AVS-Creator
- Buildin AVS2AVI-Converter
- You can resize Your source
- You can produce MPEG1, MPEG2 and MPEG4.
- You can run 2Pass
- You can save Logs
- You can run a Batchmode to encode more than one movie in one run.
- All needed apps in the InstallerPackage
- rawvideos You can also create now (m2v and m1v files)
- Choose Resizing filters
- Credit Compression
- VQSquish
- Noise creation
- Dering
- Deblocking (to get of the ugly Blocks who apears realy quick)
- Brightness/Contrast control (So You can tune the input source)
- Flip (if You need it)
- Rotate (just for fun...)
- DeLogo (if you have a TV-Movie)
- CPU Priority support
- And the best: Its Freeware!
You can download the newest Version here:
Download Amnons OldXoolToolZ Year 2004 Collection (http://home.arcor.de/autoq2_amsoft/files/releases/OldXoolToolZ_Year2k4.zip)
It seems that some people here have troubles with my MEncoder builds.
Here some links of other builds. These builds are compiled with cpudetection. Seems that they are slower...:
official site (http://www.mplayerhq.hu/MPlayer/releases/win32-beta/)
unofficial (sunset) site (http://mplayer.sunset-utopia.homeip.net/)
Versions List:
_________________________________
1.00 - 05.04.04 - 23:45: Final Release
1.01 - 06.04.04 - 09:47: Even the Final got some Bugs. If You find some other tell me. Updated MEncoder.
1.02 - 06.04.04 - 22:14: OK I'm not perfect! I found again some bugs. This release should be "bugfree" :)
1.03 - 07.04.04 - 09:52: Added Disable Resizing/Filter and forceindex is now standard unchecked.
Razorblade2000
18th February 2004, 18:00
looks like a really nice idea :D
but I (personally) think, that we first should work on the "perfect" commandline (so you could know which switches to implement :D)
Also a "filter" box would be cool as mencoder has got some really nice ones built in :D
(would be great to implement this in the templates... e.g. an "Cartoon/Anime Template" with a shorter GOP and denoise/smooth/sharpen filters :D)
Amnon82
18th February 2004, 18:25
@Razorblade2000: I know... I see it as fun to learn Delphi...:D You've something to do to learn programming...
THX for helping me out. THX for some source codes form You!!! Here is the newest source of DRPEnc.
Take look: Download Source 0.0.0.10 (http://rj-elektronik.de/avideo/files/DRPENCSource.exe) :scared:
Link to the options of Mencoder (http://www.mplayerhq.hu/MPlayer/releases/win32-beta/man_page.html#CODEC%20SPECIFIC%20ENCODING%20OPTIONS%20(MENCODER%20ONLY))
Amnon82
19th February 2004, 17:17
Hi Razor, in 0.0.0.15 You can now create the Batchfile. Till now it is not complete... I need again help from You. I don't understand how the Open and Save Dialogs working...
Here the newest Source: Source of 0.0.0.15 (http://rj-elektronik.de/avideo/files/DRPENCSource.exe)
THX
Amnon82
19th February 2004, 20:22
Chuckme!!!! Now the RC1 is out!!! Download RC1 (http://rj-elektronik.de/avideo/files/DRPENCRC.exe):D
Amnon82
20th February 2004, 20:59
RC 2 is out ...
Amnon82
21st February 2004, 06:04
RC3 out
RonaldMac
21st February 2004, 06:31
Hi Amnon,
is your prog to be run in linux only?
tickey
21st February 2004, 10:42
they are very upset with you at kvcd.net :):D ????
Any way good effort for first time.
I will continue to try it out on small test clips.
It always encodes to mpeg1 even though I chose mpg4, or RV10.
And can you have it close mencoder dos box when complete?
And post some sample templates :p :devil::D
good luck.
Can you get small free delphi pogramming soft/tools anywhere?
(not warez- :))
Amnon82
22nd February 2004, 13:12
@tickey: I don't care about KVCD.net. Lets do them there job and mine do I self. You want to code... wait here is the trailversion of delphi7 enterprise (169 MB) (ftp://ftpd.borland.com/download/delphi/d7/Delphi7TrialInstall.exe) You can use it for 30 days with all functions. Then You have to by it. I didn't try it to reinstall it, cos I bougth it:D . It always encodes to mpeg1 even though I chose mpg4, or RV10. No! It encodes in mpeg2 if you choosed mpeg2. You have to demux it to get the m2v-stream. I'll add a autodemux routine to RC5. Till now use TMPGEnc or another demuxer.
@RonaldMac: Sorry! I didn't update the first post here. Now I did.
I coded it in WinXP... So it is a winapp. I can release also a linuxversion of it. But now I only releases winbuilds.:scared:
RonaldMac
22nd February 2004, 17:17
Hi Amnon,
I'm happy with it as a Win-app.!
:)
Amnon82
22nd February 2004, 23:15
THX
You can do so many things with it.
Encode Your MPEG4, Divx, VCD, SVCD and DVD with it!:sly:
frodoontop
23rd February 2004, 08:53
This tool looks really nice ! I look forward to see a linux version of it :) .
tickey
23rd February 2004, 12:23
Hey Avalon, it is getting better :):o
Not working for me: 2 -pass
Even though I can select 2 pass, it never does it (mpeg4 or mpeg2)
Tips :) ?
1. Put DRPEncFiles folder in location user selects to install-NOT automatically on C:\. Many people like me use C:\ for boot/OS/swap file ONLY and don't like other things auto loaded on C drive.
2. Have it memorize were mencoder is (user selects path once to encoder one time then stored)
3. Have a preview button were new encoded file is opened in media player to preview (user selects path once to media player one time then stored)
4. Stamp each encoded file with date/time. No overwriting by accident, etc. and good info.
5. Have option to load exterior AC3-MP3 for muxing. Example. When creating .d2v project most people demux all tracks. Have it so user can select ac3. When ac3 is joined or demuxed it usually requires fixing (DSPguru's Besplit/ac3fix). This has to be done externally so loading of external files and just muxed with video would be good.
5. Load external mp3/.wav for compressing at same time mux with video.
6. Have Update Only link stating date/time of release.
7 The person who made avi2mpg (I read on his website he now works at mainconcept!) has command line tools to demux and analyze mpeg files. Perhaps you want to incorporate them into your GUI to save time/etc.
http://home.mindspring.com/~beyeler/bbtool19.zip
Also I found another GUI for Mencoder. It seems to support only mpeg4/avi. But has some nice features you may wan't to look at.
http://www.vdsworld.com/~vuks/bin2/gulmencoder.cab
A person named Bojan made it http://www.vdsworld.com/~vuks/
Good Luck!
yaz
23rd February 2004, 12:54
Originally posted by Amnon82
You can do so many things with it.
Encode Your MPEG4, Divx, VCD, SVCD and DVD with it!:sly:
thx for it, ammon ! but ... how ? mencoder, ffvfw ok, but i've been unable to tune it for mpeg4. (see, tickey's comments too!)
link for 0101rc3 wrong! ('fp' missing)
thx anyhow
y
Amnon82
23rd February 2004, 16:09
I go final!!!
If you encode MPEG DRPEnc demuxes the ES Streams after finishing encoding.
Now it is possible to change the VBR Settings. Also the Buffer.
Quantisation like in FFVFW added.
DRPEnc save the stats now in Logfiles. So You get one for 1st Pass and one for 2nd Pass.
Trellis added.
GOB lenght now editable.
And much more changes! visit www.dvdr-page.tk for the new version:D
... and stay tuned!
@Tickey:
Put DRPEncFiles folder in location user selects to install-NOT automatically on C:\
Sorry but I can't change this. The AVS-Filters are installed there. Also bbdmux.exe and makeAVIS.exe. Till now I can't change this folder or some functions don't work anymore. C:\ has everybody. I create a folder for storing the working files. After deleting DRPEnc it will be deleted to. Download the source. Maybe You'll find a way to get this flexible. ... I got right now a way. I make a settings window. where You can setup the path to the files. So I can read out this files and so it is flexible. I add this into the next version...
@all: Nobody can encode MPEG4? Sounds crasy... ... I can. You have to choose the codec MPEG4 and don't use B-Frames and no Matrices. So it should work.
Abnormal1
23rd February 2004, 18:51
@Amnon82
Hi,
This looks good, I am downloading it now.
Anyway I just wanted to mention that your website says the size of the source files are 279MB instead of KB.
Abnormal
Abnormal1
23rd February 2004, 19:20
Hi,
If you are already adding the ability to set the DRPEncFiles location in a settings window could you not just put the files in the same directory as your program.
Then (i think) you could just use ExtractFilePath(ParamStr(0)) to get the applications path.
Abnormal
Amnon82
23rd February 2004, 19:30
@at all: It's done! Now You can setup DRPEnc like You want.:D
Download the Version 0.1.0.2 to have this function.:eek:
[Edit] I found a bug. Download also the 0.1.0.2 QuickBugfixed Version:eek:
New Version 0.1.0.2 24.02.04.01:34 out. Added Only Save Batch...
0.1.0.3 Out! Add Shutdown function...:D
Amnon82
25th February 2004, 16:54
I added some new features.
AC3ReEnc reencodes Your AC3Streams and get off the delay.
I added jsotos delaycut. With this app You can get of the delay of AC3 and DTS Streams.
Now I'm working on the DVDAuthor.
unplugged
26th February 2004, 23:30
The params vi_qfactor and vb_qfactor seems to be exchanged by GUI when compiling command line output.
vi_qfactor must be 0.8
vb_qfactor must be 1.2
Amnon82
27th February 2004, 01:04
@unplugged: THX, I'll check this...
:vb_qfactor=0.8:vi_qfactor=1.2
... I see ... I edited the wrong Edit.text ...
I'll fix this now...
:vb_qfactor=1.2:vi_qfactor=0.8
0.1.0.5 is fixed now
THX again...:D
Amnon82
27th February 2004, 04:14
Guide is online now...
to the guide (http://www.rj-elektronik.de/avideo/main.php?set=DPREncGuide)
yaz
27th February 2004, 10:38
ammon, my dear, i can't follow u :-))) i'd rather wait for a 'stable' release. i mean, when u lean back & take a rest :-)
thx anyway. it's getting better & better.
y
Amnon82
27th February 2004, 16:34
hi yaz!!! I'm TTTTOOOOOOOOOOOOOO Fast!!!!
Now I'm working on a prediction function.
Its almost done!
Download the newest version 0.1.0.5 and read the guide btw.
How the precition will work:
First You have to set the goal size.
I tested it in 2Pass Mode.
For this example I needed 3700 MB for a DVD.
The sample size should have 74 MB cos I use 2% of the whole movie.
http://rj-elektronik.de/avideo/images/DRPENC/prediction.png
I start with the bitrate min 2500, avg 4500, max 6500 and got the filesize of 38.2 MB.
next bitrate was min 4500, avg 6500, max 8000 and got the filesize of 61.5 MB.
next bitrate was min 5000, avg 7000, max 8000 and got the filesize of 67.7 MB.
next bitrate was min 5200, avg 7000, max 8000 and got the filesize of 70,2 MB.
next bitrate was min 5400, avg 7000, max 8000 and got the filesize of 72.7 MB. This was close enough to 74 MB.
Now I run a check routine and set the double gobsize as frameoffset. Now I got complete different frames to code.
I take the bitrate min 5400, avg 7000, max 8000 and the checkfile got the filesize of 72.8 MB.
GOAL Finish. I can now encode the whole movie with min 5400, avg 7000 and max 8000.
... plus I can see the quality of the movie if I encode it in this bitrate...
... now I have to find a way to build this great function into DRPEnc...
0.1.0.6 RC1 out! It has the alpha Version of the file size prediction function...
Amnon82
28th February 2004, 03:00
Improved the filesize prediction in release 0.1.0.6 RC2.
it is almost automatic:D
Amnon82
29th February 2004, 00:54
File Prediction Modus fast fertig!!!!
Amnon82
29th February 2004, 09:29
Done!!! 0.1.0.7 is out! Take a look on this prediction sample:
Download Prediction Sample (6.80 MB) (http://www.rj-elektronik.de/avideo/files/finalprediction.mpg.m2v)
This sample is exactly 1% of the movie. It is a action movie with lots of explosions... and it fits on 1 CD as SVCD in the quality of the sample! It never can get better than this quality of DRPEnc 0.1.0.7!
... till now...
Stay tunend for the next release!!!:D
bb
29th February 2004, 10:45
I have the feeling this is about to become a marvellous tool!
By the way: your sample from "Ghosts of Mars", starring Natasha Henstridge, is very compressible despite the explosions. I assume, because it's a very dark film.
bb
Amnon82
29th February 2004, 18:49
Ja bb kann sein. Ich werds auch bald in Deutsch anbieten...
Yes bb, maybe. Soon I will release the german version...
I checked again the version 0.1.0.7 and found some bugs.
The ones who downloaded the 0.1.0.7;09:00 Version need only the Update Version to 0.1.0.7;19:14. You can find this on my page.
The ones who didn't download the version can download the complete new package.
Have fun with it.
Back to Ghosts of Mars. DRPEnc finished the Encode. The quality is the same as the sample. I got a 600 MB M2V File. I wanted a 685 MB large file, but this is also OK. So I can add the english and the german audiotracks to this project.
Stay tuned for the next release:D
unplugged
29th February 2004, 20:56
@ Amnon82
If I'm not mistaken I would suggest another mencoder binary instead of the one included with DRPenc:
http://mplayer.sunset-utopia.homeip.net/files/mencoder-win32-mingw-dev-cvs20040227.exe
This hasn't given me crashes anymore on 2 pass, maybe is related to P4 HT enabled... but a least now it works with this.
(my system is rock solid itself, 12h xvid/cce encoding proof)
Amnon82
29th February 2004, 22:38
@unplugged: Thx again unplugged! I'll try this version.
It can be a cos of P4. I'm running AMD...
@all: Some People out of the MVCD-Forum wanted a GUI-Only Release. So it be.
There is still the Installer Version including all apps You need to run DRPEnc. The GUI-Only Release is only the GUI and a readme. So You'll know which addons You'll need to run this Version. Also I modified some apps I use in DRPEnc. You can also download these versions on this server.
[Edit] Updated the mencoder to the newest Version.
Have fun.
BTW. For playing the Encoded Movies I recommend VIDEOLAN.
Amnon82
3rd March 2004, 20:22
I released a new version.
Changes:
Now You can setup also the Quantizer values in the Prediction mode.
Plus you can use now more then one disc for encoding.
Also I added new resolutions. 1/2 DVD and make all fullscreen. So if You have a 16:9 Movie You can choose for example DVD16:9to1/2DVD4:3. DRPEnc will zoom the 16:9 source to a 4:3 source with the right aspect ratio.
Have fun.
Soon I'll add Razorblades BitrateCalc to the app.
Stay tuned for the next relese:D
Originally posted by Amnon82
[...]So if You have a 16:9 Movie You can choose for example DVD16:9to1/2DVD4:3. DRPEnc will zoom the 16:9 source to a 4:3 source with the right aspect ratio.[...]
Now this is a feature that I really dislike... :eek:
bb
Amnon82
4th March 2004, 20:07
Its only a feature nobody needs ... gues I encoded a 16:9 in 4:3. I should have encoded it in 16:9 ... bugga...
0.1.0.9 is out. I added a new function and Razorblades Calc.
Stay tuned for the next release.:D
Originally posted by Amnon82
A little bit about the functions of DRPEnc:
...
- You can produce MPEG1, MPEG2, MPEG4, DivX, XviD and a lot more...
...
how can i do that? i've been unable to reach neither divx nor xvid from drpc. what do i do wrong?
afais, drpc is a gui for some command-line encoder, but how could it invoke a dll ? or am i completely mistaken ?
thx for all your efforts, anyway
y
Amnon82
5th March 2004, 21:51
Bugfixed 0.1.0.9 is out. Sorry about the 1Pass mode.
@Yaz: I upload a MPEG4Trailer created in 0.1.0.9, K?
mpeg4 works now! I found some Bugs in the last 0.1.0.9 Version.
So here the list of codecs working with the new 0.1.0.9-05.03.04;23:01 Version:
MPEG4 with All Settings.
LJPEG without Advanced and Preprocessing.
AVS1 without Advanced and Preprocessing.
AVS2 without Advanced and Preprocessing.
MPEG1 with All Settings.
MPEG2 with All Settings.
All other crashes!!! This is a cos of the Advanced Settings and Preprocessing.
Sorry for that. I'll fix this later.
MPEG4Sample encoded in 0.1.0.9-05.03.04;23:01 (http://rj-elektronik.de/avideo/files/MPEG4ALLSETTINGSDRP0109.050304.23.01.avi)
This is not the best quality. Its only to show that MPEG4Encoding works with this Version of DRPEnc. Sorry for the Quality!:sly:
This is the Info about this Sample:
472 kb/s, 25.000 FPS, 0.186 bits/pixel; DivX 4 (OpenDivX),
352x288 (1.22:1) [=11:9],00:01:08 (1,710 fr), No Audio Channels.
Settings was:
MPEG4, VBR 300,450,500, Buffer 918, 15 GOB, 1000 RCT,
EBFQ 0.65, Qmin 2, Qmax 24, QFiFr 0.8, QFbFr 1.2,
qgbl. 0.3, HQMD, Trellis, SCEl -4, SCEc 4, HQDenoise 4-3-6,
NoSound, DVD16:9toVCD16:9, AVAMAT5.
Amnon82
6th March 2004, 00:04
Released AVAMAT6.
Intra:
8,16,19,22,26,27,29,34,
16,16,22,24,27,29,34,35,
19,22,26,27,29,34,35,38,
22,22,26,27,29,34,35,40,
22,26,27,29,32,35,40,48,
26,27,29,32,35,40,48,50,
26,27,29,35,40,48,50,60,
27,29,35,40,48,50,60,62
Inter:
16,20,24,28,32,36,40,44,
20,24,28,32,36,40,44,48,
24,28,32,36,40,44,48,52,
28,32,36,40,44,48,52,56,
32,36,40,44,48,52,56,58,
36,40,44,48,52,56,58,60,
40,44,48,52,56,58,60,62,
44,48,52,56,58,60,62,62
Now the decoding works better. better Compression also:D
Amnon82
7th March 2004, 00:05
Now Im working on a new Version. I'll call it 0.2.0.0.
Now some asking: Why this Versionsjump?
Cos I redesign DRPEnc totally!
Here is the first Screenshot. Everybody can now test if this GUI with 560x570 fits on his 800x600 CRT:D
Yeah some guys here have still such one!!!
DRPEnc 0.2.0.0 Preview Screenshot (http://www.rj-elektronik.de/avideo/images/DRPENC/drpenc.png)
Stay tuned for the next release...
Amnon82
7th March 2004, 01:34
It's now 01:32 AM in Germany and I'm still working on DRPEnc!
Here is the Preview Version of DRPEnc 0.2.0.0 (http://rj-elektronik.de/avideo/files/DRPEnc0200Preview.exe).
Its only to get the feeling of the new GUI.
Nothing works in this Version!:scared:
Tell me what You're thinking of the new way I'm walking now...
Stay tuned for the first 0.2.0.0 Release!
tickey
7th March 2004, 02:02
For the last few versions it it shuts down right away, the log showing "unable to parse cmdline"
any tips?
Amnon82
7th March 2004, 09:52
tickey, sorry about that. The last 0.1.0.9 should work with all functions. I'm working on 0.2.0.0. I've to setup the CMDLineCreator completly new. It can be that I've add some bugs, cos of new functions I've not update on all forms. 0.2.0.0 uses one form. So I can see now better were a bug is hiding. Can You wait till afternoon? ;)
If You want, send me Your last Batchfile and I'll see what goes wrong in Your case.
Amnon82
8th March 2004, 04:04
Every body can say now:
WOW! Whats going on? He's a guy who learned coding in 2 weeks and goes so far with his program in such a short time!!!
:D Yes I'm a genius!
Today the new version of DRPEnc is out!
I started a new series. 0.2 will get much better than 0.1!
Now the GUI is only 560x570 big and fits so on 800x600 screens.
... realy some people have still one...
I released the Installer version. Maybe I'll upload the GUIONLY version.
Download it here (9.72 MB) (http://www.rj-elektronik.de/avideo/files/DRPENC0201.exe) and fly to a new Galaxy...:eek:
If somebody want to mirror it, do it. So will more people get this great GUI. Soon I'll start a translation file addon. So all'll be able to translate it...
The manual You can see here (http://www.rj-elektronik.de/avideo/files/DPREnc%200.2%20Manual.pdf)
[Edit] Version 10.03.04 - 07:34: Added Batchmode to encode more than one movie in one run. Fixed some Bugs in Predictionmode. Excanged FFVFW with FFmakeAVIS to get a samler installer.
Amnon82
10th March 2004, 13:27
I fixed the bug in the last 0.2.0.1 version.:D
LigH
10th March 2004, 22:25
Nice quant matrix, this AVAMAT6; I'll look at that one with my upcoming editor, too...
BTW: The name "AVAMAT6" reminds me on someone formerly called "Avalon", I wonder if it is related to those projects like "n hours on 1 DVD".
Amnon82
11th March 2004, 23:56
Hi Ligh! Yes its me Avalon. Nice to see my work. As You know I added a guide at doom9.de. It was OGM2AVI/MPG.
Some call me here Amnon82 some Avalon. THX for remebering me my friend.
BTW: I did it! The complete Season 1 of 24 on one DVD! You told me once I'll add all Startrek series on one Disc. Maybe in the next 50 Years... :scared: Tell me when you finished this ED.
Und einen schönen Gruß aus Bayern.:D
Amnon82
13th March 2004, 00:53
I started to port the linux mencoderversion to windows. Download the newest version here (http://forum.doom9.org/showthread.php?s=&postid=457569).
Amnon82
14th March 2004, 17:33
Download new GUIONLY 0.2.0.2. (http://rj-elektronik.de/avideo/files/0202GUIONLY.exe)
I added a function to reload Your last settings.
Rawvideo encoding is now also possible.
Amnon82
14th March 2004, 19:29
Download DRPEnc 0.2.0.2 (9.54 MB) (http://rj-elektronik.de/avideo/files/DRPENC0202.exe)
Now DRPEnc loads Your last settings if You want.
Also it is now possible to encode rawvideos.
Fixed AC3ReEnc
Added 5.1 Output
Fixed Reload Function
Added my new MEncoder Build 14.03.04 20:55 (AMD and Intel optimized)
Have Fun
Amnon82
15th March 2004, 21:34
So now a little bit about 0.2.0.3:
Added Templates feature. Now You can also run a multibatchencode for encoding more than one movie.
Also I updated the manual. Now all new features are discribed.
Added my new MEncoder Build 14.03.04 - 20.55
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.