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

bb
4th March 2004, 07:43
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

yaz
5th March 2004, 11:34
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

Amnon82
16th March 2004, 16:35
Sometimes I did stupied things myself! Bugga. In the templates the maxbitrate is 9800. I did a movie and forgot that the max valid bitrate is 10000. So I came over it and got a bufferunderrun. In one sceen of the movie it reached the 9800 and bang! So I'll fix this today. ... and I hope nobody used such high bitrates like in the templates of 0.2.0.3.:scared:

Amnon82
16th March 2004, 19:57
I found a new tool for checking the muxed MPEG-files. It is called MPEG Validator. I added it to the DRPEnc Package. Maybe it is usefull for You guys. If You don't like it, tell me and in the next release I skip it.

What is new in 0.2.0.4?

Added Splashscreen. (Yeah so I like it!)
Updated Templates (... You know why...)
Speeded the mencoder up (fast, faster, DRPEnc)
Fixed some bugs.

Have fun with this stable release. (I tested it over 4 Hours!)

Amnon82
17th March 2004, 21:12
@AMnon82,
I can use .avs directly in QuEnc 0.3 but when i try to put .avs for my input instead of .avi(C:\1.avi") in your bat file,encoding stop half way ,below are bat file ;

REM -----------------------------------------------------------------
@ECHO on
ECHO Batchfile created with DRPEnc 0.2.0.1 - by Avalon
ECHO Start encoding 1Pass
mencoder.exe -forceidx -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video:vqmin=2:vqmax=24:vmax_b_frames=2:mbd=0:keyint=15:vpass=1:aspect=4/3:vbitrate=950:vratetol=1000:vrc_maxrate=1150:vrc_buf_size=328:vb_qfactor=1.2:vi_qfactor=0. 8:inter_matrix=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:intra_matrix=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 -vf crop=704:576,scale=352:288,expand=352:288 -ofps 25 -oac lavc -lavcopts acodec=mp2:abitrate=224 -srate 44100 "C:\1.avi" -o "C:\Temp\1.mpg"

ECHO Demuxing now M1V-file...
BBDMUX.EXE C:\Temp\1-2.mpg 0xe0 C:\Temp\1-2.m1v
BBDMUX.EXE C:\Temp\1-2.mpg 0xc0 C:\Temp\1-2.mp2
DEL C:\Temp\1-2.Mpg

pause
REM -----------------------------------------------------------------


Any suggestion.

Best regards,

@AMnon82

Just to correct demultiplex part only
-----------------------------------------------
ECHO Demuxing now M1V-file...
BBDMUX.EXE C:\Temp\1.mpg 0xe0 C:\Temp\1.m1v
BBDMUX.EXE C:\Temp\1.mpg 0xc0 C:\Temp\1.mp2
DEL C:\Temp\1.Mpg
-----------------------------------------------


Hi itcth why You post things of DRPEnc into QuEnc? I think You bother Nic in his thread! Read again the rules of this forum!

So what is exactly Your problem? I see Your using 1Pass encoding with MP2 Audio. When did it stoppes exactly? After the encode or in the encode pass. I seems fine. As I see You found Your mistake in the second post in the QuEnc thread. Once again: Itcth if You want realy quick help go to my page and use ICQ. My number is on the DRPEnc page. And please apologize Your self by Nic. I don't want to run a battle with nic! THX You

BTW: DRPEnc supports only VOB, MPG, AVI (AVS over fakeAVI) as source input.

Batchfile created with DRPEnc 0.2.0.1 - by Avalon

...and why do You still use the old version? Download 0.2.0.5

RobertR
17th March 2004, 21:57
@Amnon82:
I just downloaded and installed your app and noticed one thing (it's about installer so you can start breathing now ;) ). Could you please add some autodetection if AviSynth is already installed? It's kinda confusing when you are dumped in to AviSynth installer. Same goes with ffvwf (or whatever that acronym actually is)
I just received a package from US with Dirty Dancing R1 retail so the victim for the tests has been chosen ;)

Amnon82
18th March 2004, 10:37
Hi RobertR. Good point! I should search for a new installer...

This one is freeware and didn't offer me the right features I need.
Today I release the new version as GUIOnly. So You can update simple.

Newest Version is 0.2.0.5 (http://rj-elektronik.de/avideo/files/DRPENC0205GUIONLY.exe). Added some new features and templates.

RobertR
18th March 2004, 12:53
Actually i think just asking user if he wants to install this-and-that-app (mentioning the version to be installed) will do the trick.
One more thing. I had 0.2.0.1 version installed, during installation it made an icon on desktop (don't remeber if there was option to choose if i want to or not). After instalation of 0.2.0.4 i had two DRPenc icons on my desktop and after checking Program Files\DRPenc\ dir i found out that i have both 0.2.0.1 and 0.2.0.4 there.
As long as old version works with files that have changed between release it's ok with me but those icons on desktop are bothering me. I've installed 0.2.0.4, mindlessly clicked on first DRPenc icon in sight and saw 0.2.0.1. OK i admit i'm beeing picky but well isn't it beta testing just about that? :)
Using of your app is somewhat counterintiutive. I tried to encode some vob with it (small one) and all i got in return was bat file with no commands in -- please understand that i'm long-time unix admin and i do obey to rule: if all else fall read the manual (which i intend to do right now). See your program is probably awsome it's just hard to use for someone that fires it up for the first time. (Yesterday i also tried to play with DVD ReBuild and QuEnc and they are very intuitive to use).
Best regards

Amnon82
18th March 2004, 14:01
@RobertR: Sorry man!

A little howtowork with DRPEnc:

Start DRPEnc. Click at source on supported files.
Choose Your file (VOB/MPEG/AVI)
Go to advanced.
Click on a template.
Go to Encode.
Enter a output filename.
Click on Create BAtchfile
CLick on Save and Encode.

... hmm I think I should add a wizard to the app where these settings are in one window.

@All: The new Version (http://rj-elektronik.de/avideo/files/DRPEncSetup.exe) has now a new installer. I found one which supports uninstall the old version. But this one didn't support choosing packages. Also I coded a little GUI for choosing the needed apps and inplented it into the installer. I hope this will help.

RobertR
19th March 2004, 13:38
@Amnon82:
Nothing to be sorry! You actually did provide documentation for your app. It was just my laziness and faith in my abilities to use computer programs. I just thought you might want to know about this and take it into consideration when changing/creating user interfaces.
Thanks for howto. As for wizard hmm can't deny it could be handy but is it realy needed at this stage? (just point ppl to docs and keep the docs updated)

Haven't check your web page yet. This new version is realy new or just new installer

Amnon82
19th March 2004, 17:06
realy new! In a new version there are always new features added. Today I'll release also a new one. I found a way to speed up mencoder.

stay tuned.

Amnon82
20th March 2004, 19:47
@ECHO off
ECHO Batchfile created with DRPEnc 0.2.0.6 - by Avalon
ECHO Start encoding 1Pass of 2 using 2 percent of movie for prediction
C:\Programme\DRPEnc\Mencoder\mencoder.exe -forceidx -of rawvideo -sws 9
-ovc lavc -lavcopts vcodec=mpeg2video:vqmin=2:vqmax=24:vmax_b_frames=2:sc_threshold=-20000
:ibias=96:pbias=0:vrc_override=3500,4230,200:mbd=2:keyint=15:vpass=1
:aspect=16/9:vbitrate=6500:vratetol=1835:vrc_maxrate=7500:vrc_buf_size=1835
:vb_qfactor=0,8:vi_qfactor=1,2:vb_qoffset=1.25:vi_qoffset=0.0:vqblur=0.3
:vqcomp=0.5:vlelim=-4:vcelim=-7:lumi_mask=0.1:dark_mask=0.15:tcplx_mask=0.2
:scplx_mask=0.1:p_mask=0.1:naq:inter_matrix=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:intra_matrix=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 -vf hqdn3d=4:3:6,crop=720:570,
scale=704:558,expand=720:576 -ofps 25 "F:\bb2\bb2pred.avi" -o "F:\bb2\bbpred0206.m2v"
> "One_FirstPass.LOG"
ECHO Start encoding 2Pass of 2 using 2 percent of movie for prediction
C:\Programme\DRPEnc\Mencoder\mencoder.exe -forceidx -of rawvideo -sws 9 -ovc lavc
-lavcopts vcodec=mpeg2video:vqmin=2:vqmax=24:vmax_b_frames=2:sc_threshold=-20000:ibias=96
:pbias=0:vrc_override=3500,4230,200:mbd=2:keyint=15:vpass=2:aspect=16/9:vbitrate=
6500:vratetol=1835:vrc_maxrate=7500:vrc_buf_size=1835:vb_qfactor=0,8:vi_qfactor=1,2
:vb_qoffset=1.25:vi_qoffset=0.0:vqblur=0.3:vqcomp=0.5:vlelim=-4:vcelim=-7:lumi_mask=0.1
:dark_mask=0.15:tcplx_mask=0.2:scplx_mask=0.1:p_mask=0.1:naq:inter_matrix=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
:intra_matrix=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 -vf hqdn3d=4:3:6,crop=720:570,scale=704:558,expand=720:576 -ofps 25
"F:\bb2\bb2pred.avi" -o "F:\bb2\bbpred0206.m2v"
> "SecondPass.LOG"
exit

This is the new code DRPEnc 0.2.0.6 will create. Now it is possible the encode the Credits with more compression. Also scenechangedetection will be added. Soon I'll release the RC1 with Templatesmode disabled.

Here is the new RC1 Download 0.2.0.6 RC1 (http://rj-elektronik.de/avideo/files/DRPEnc0206RC1.exe)

Amnon82
21st March 2004, 11:41
RC5 is out. Now with deblocking and dering

Check it out (http://rj-elektronik.de/avideo/files/DRPEnc0206RC1.exe) :D

gizmau
21st March 2004, 13:31
is it possible to encode mpeg2 with 10bit dct-precision?

and there is at least one typo in: GOB instead of GOP in general-tab.

Amnon82
21st March 2004, 13:46
@gizmau: I didn't tried it.
I fixed GOB to GOP (THX).

@All: DRPEnc 0.2.0.6 RC6a is out.

Changes in this Build:

Disabled Templates feature (... will come back soon)
Disabled Save Project Settings
Added resizing filter
Added Bias Intra
Added Bias Inter
Added Credit Compression
Added VQSquish
Added Noise
Added Dering
Added Deblocking
Added Brightness/Contrast
Added Flip
Added Rotate
Added DeLogo
Added DCT
Added IDCT
Added CPU Priority

Download it here:

DRPEnc 0.2.0.6 RC6a (7.43 MB) (http://rj-elektronik.de/avideo/files/DRPEncSetup.exe)

Have Fun.

P.S: Please deinstall the old version before. (In the next release the installer will automatically deinstall the older versions...)

Amnon82
22nd March 2004, 00:26
The next final is out.

Download DRPEnc 0.2.0.6 (http://rj-elektronik.de/avideo/files/DRPEncSetup.exe)

I need Your feedback for this release. I added so many features so I must disable the templates support.

Tell me wich filters or options I've missed so I'll add them to the next release.
If I added features who are not needed, tell me also. So I can remove them.

THX

Avalon

Amnon82
22nd March 2004, 22:21
I tested a little the MEncoder builds.

Here the results:

CVS 21.03.04 - SVCD: 2Pass Bufferunderuns - DVD: 2Pass no Bufferunderuns
CVS 19.03.04 - SVCD: 2Pass Bufferunderuns - DVD: 2Pass no Bufferunderuns
CVS 14.03.04 - SVCD: 2Pass no Bufferunderuns - DVD: 2Pass no Bufferunderuns

So I uploaded again the DRPEnc Release now with the old 14.03.04 CVS today compiled with my new tweaks.

tickey
23rd March 2004, 02:24
Your new versions look great however I can't use it anymore.
No matter what version of Mencoder I use I always get: "exiting failed to parse cmdline" error.
It used to work for me so perhaps when I do more effing around with it it will come back.
For now I am having fun with QuEnc, and using the latest combo build of ffdshow/ffvfw build-love that VDUB interface-and the latest combo build is 2-3 times faster than the Feb04 I was using.

Amnon82
23rd March 2004, 12:09
@Tickey Did You tried my MEncoder build in the package? It works fine for me.
Which imput file do You use? fakeAVI or MPEG, VOB, AVI?
Did You downloaded the last version? DRPEnc 0.2.0.6 - 22.03.04 - 20:39 (http://rj-elektronik.de/avideo/files/DRPEncSetup.exe)

Normaly it should work. In my build all codecs are build in. Post me your last Batchfile You created in DRPEnc.

@unplugged: Here is the MatricesEditor. It can only save the matrices till now. The loadingoption I'm on it now.

MatricesEditor 0.2 (http://rj-elektronik.de/avideo/files/MatricesEditor0.2.exe)

Amnon82
23rd March 2004, 17:04
@unplugged: MeD is out (http://forum.doom9.org/showthread.php?s=&threadid=73194)...:D

poerschr
27th March 2004, 09:28
Amazing program Amnon82...however, I am having a bit of trouble getting it to work...I have done alot of experimenting with ffvfw...I actaully gave up on it becasue it is just to damm slow..now, I have started on Memcoder...I installed everything, and setup all the correct directories...the program simply finishes in a second, with "full encode pass done" and "this pass has the filesize of 4095.99999904633 MB"...any suggestions??, I wish I could see the command line error, but it flashes in a split-sec..I installed another build, just memcoder by itself, and I noticed that many of the directories pointing to the codec config files were all wrong...maybe this could be the problem too????

Thanks...

Amnon82
27th March 2004, 13:35
K, I think I must rewrite the whole GUI. I coded a new GUI for FFMPEG and I added some new features to this GUI. So I think I rewrite the MEncoder GUI like the one for FFMPEG.

4095.99999904633 MB

... is shown, when something went wrong. Normaly You can look into the Logfile. It is automatically created by the GUI.

I'll rewrite the GUI over the weekend. lets see if I fix all the bugs I know.

BTW. the wrong path of the directories is right. Cos You don't have the codecs.conf in c:\cygwin\usr\local\bin\MPlayer\etc.

The right codecs.conf is build in.

yaz
29th March 2004, 13:27
@ammon
ifais, the 'basic' options are the same for mencoder and for ffmpeg (names may be different!). why do u think that 2 guis are needed ? besides a properly selected basic set, u should allow to read&pass (extra) command files. this way any extra command would be passed to the coders. am i wrong ?
y

Amnon82
29th March 2004, 22:00
Yes that can I do, but with two guis it is for my easier.
Anyway, I transfered the MEncoder GUI to the DRPEncXP Outfit.

Now also MEncoder has now all features of the new Design.
Now You can see what Your changing in the cmdline.
After the encode it shows You the logfile. So if some mistake apears You can see why.

Test this new version. If You have some suggestions or find bugs, please post here. I think that I soon get final.

Download DRPEncXP ME 0.90 (5 MB) (http://rj-elektronik.de/avideo/files/DRPEncSetup.exe)

ac-chan123
31st March 2004, 16:34
DPREnc XP Me 0.91 Problem. The path to the mencoder ar not in " so that it don´t work with default installpath of WinNT and higher(c:\program files\dprenc). the manual editing of the commandline(inside the GUI) has no effects.

AC-Chan(Robert Vincenz)

Amnon82
31st March 2004, 23:16
Oh then You have a problem! It is still a batchcommand. So there is now " " allowed. Sorry my friend. It is not a bug or something like that! It is the way it is. You have to deinstall the app and reinstall it for example in C:\apps\DRPEnc.

Standard location like C:\Program files don't work.
I don't have it cos in germany it is C:\Programme\DRPEnc.

Thats the only way You can solve it.

... it is still a batch.:D

LigH
31st March 2004, 23:31
Try to install it to "C:\PROGRA~1\DRPEnc" (the same problem is bugging the ffdshow developers, e.g. athos).

Amnon82
31st March 2004, 23:37
LigH du hast wieder mal sowas von Recht! Warum müssen die Amies immer alles so kompliziert machen?

Translation for the people who don't can understand german:

LigH, yes You're right! Man, why can't they (Amies) do it the simple way?:D

ac-chan123
1st April 2004, 00:30
Ich mach mal beim deutsch mit. mann muss doch nur erlauben das man die komandozeile bearbeiten kann. eine anderealternative ist auch den aufruf von mencoder in anführungszeichen zu setzen. man könnte ja vorher auch in den entsprechenden ordner wechseln.

for none german speaker
one alternative is to allow to edit the commandline. Also the call of mencoder can set between '"' or go to the folder where the program is placed.

AC-Chan(Robert vincenz)

Amnon82
1st April 2004, 05:41
eine anderealternative ist auch den aufruf von mencoder in anführungszeichen zu setzen

Sorry Mann. Ich (wir) dachte(n) du sprichst vom Leerzeichen. K, hast recht. Die "-Zeichen Zwischen der Log. K, hab sie vergessen. Generell kannst Du leider in meiner GUI die commandline nicht ändern, weil sobald Du auf Do it!!! klickst erstellt er die commandline nocheinmal. Das muss ich in der source ändern. Manuell kannst Du die line aber doch bearbeiten. Klicke auf Do it!!! und wenn er dich fragt es gleich zu encoden sagts du nein. Das einzige was du dann verlierst ist die CPU priority option, welche du aber auch manuell im Taskmanager einstellen kannst. Die GUI gibt dir dann noch die Message wo du die bat bespeichert hast. Öffne diese und bearbeite sie. Die "-Zeichen sind doch nur bei Quelle, Ziel und Log... oder hab ich eine Option vergessen, welche "-Zeichen benutzt?

English for the rest here:

Sorry man. I/We thougth Your meaning the "Space"-sign. K, You're right. It is the "-signs I forgot. In my GUI You can't edit the commandline, cos in the doit!!!-button is a last recreate routine build in. I must fix it in the source. Shure you can edit the line manually. Do it so: Click on 'Do it!!!' and if the gui ask it 'wanna encode' press no. It will say You where You saved it. Go to this place and edit the bat manually. The only thing You lost is the cpu priority option. But You can do it also manually using the taskmanager. The "-signs are only in Source, Target and Log or missed I one option...?

[Edit:] Ok, ich hab's jetzt in der commandline geändert. Mencoder.exe ist nun auch wischen zwei ". Die Log auch. Du kannst auch die gui only runterladen.

K, I fixed it in the gui. Mencoder.exe is now also between two "-signs. Also the Log. You can download also the GUI only version. BTW, Your english is better to understand than Your german :D Where You came from?

GUI only (337 KB) (http://rj-elektronik.de/avideo/files/DRPEncxpme.exe)

ac-chan123
1st April 2004, 10:36
Germany (Berlin)

AC-Chan(Robert Vincenz)

LigH
1st April 2004, 11:20
I just wondered if you are the same as in the german doom9 / Gleitz forum, just with an additional "123" - but your true name answers this question.

Amnon82
2nd April 2004, 06:38
Is something else to fix now in the 0.92 Build? Or is it now fine ac-chan-123?

ac-chan123
5th April 2004, 12:36
@LigH: ich habe hier auch einen account als ac-chan, aber in dem kann ich nichts machen und ihn auch nicht löschen. Auch das anschreiben der Admins hatte nichts gebracht(haben nicht mal geantwortet). Also habe ich einen neuen account eröffnet und mit hats dann Funktioniert.

@Amnon82: Entschuldige die spähte antwort, aber ich war seit dem 1.April unterwegs und hatte weder Zeit noch zugung zum Internet.

Folgende dinge würde ich mir noch wünschen/sollten geändert werden:
-Hinzufühgen der versionsnummer zu der Download Datei.
-verschiedene icon für DRPenc_XP_Mencoder und _ffmpeg.
-cygwin mit dazupacken und bei der installation fragen ob installiert werden soll, oder besser noch selbst testen ob cygwin schon installiert ist. Ich bekomme immer diesen fehler
Reading config file /cygdrive/c/.mplayer/mencoderfont: can't open file: /cygdrive/c/.mplayer/font/font.desc

english:
@Amnon82:
things to change/correcting:
-add Version Nummer to Downloadfile
-different icon for DPRenc_ xp_Mencoder and _ffmpeg
-add cygwin to install and check for the present of cygwin and install it if not.

AC-Chan(Robert Vincenz)

Amnon82
5th April 2004, 23:00
The final is out now.

Added some new features (Quick Settings).
Fixed some bugs.

Download the final (Http://rj-elektronik.de/avideo/files/DRPEncXPMESetup.exe)

@ac-chan123:

Different Icon: Yes it has a new Icon.
Add Versionnumber: No. For me it is simpler updating the page without editing everytime the link. If I don't have the time to update all 10 links... (I've more than this thread to update!)
CYGWIN: The meencoder build use the cygwin.dll. Normaly it isn't needed to install cygwin. This with the font I can fix maybe. I wanted to add a mingw build, but it crashed on my system. Even the build compiled by the MEncoder Team. I didn't checked the CVS of today.

ac-chan123
6th April 2004, 00:31
For you is it easy to manage your site, but user have much trouble. no one know wich version he find when he download the file or archive it and will use it later again.
you use php on your site with this it is easy to create a script wich change the links to a new file.

AC-Chan(Robert Vincenz)

ac-chan123
6th April 2004, 00:40
I have test the new version and there are are the same error as in all old version. here is the report:

MEncoder dev-CVS-040330-06:00-3.3.1 (C) 2000-2004 MPlayer Team
This Build was proted to WIN32 by Avalon.
Build was compiled with an AMD Athlon CPU.
SSE2 enabled. So a Intel P4 should work.
visit: http://www.dvdr-page.tk

CPU: Advanced Micro Devices Duron Spitfire 948.8 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

Reading /cygdrive/c/.mplayer/codecs.conf: Reading /usr/local/etc/mplayer/codecs.conf: Using built-in default codecs.conf.
Reading config file /cygdrive/c/.mplayer/mencoderfont: can't open file: /cygdrive/c/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
success: format: 0 data: 0x0 - 0xBD4D70
MPEG-ES file format detected.

you must have installed cygwin for a commandline call like /cygwin/drive/folder/file. there for the dll only isn´t enough.

AC-Chan(Robert Vincenz)

Amnon82
6th April 2004, 08:50
First of all. I build the needed files into the MEncoder Build. So there is no external data needed. Work the DRPEnc GUI with this Version of MEncoder or not?

Fixed some bugs. So 1.01 is out. You can also download the GUI only Release. The installer includes the new MINGW Build 06.04.04. :D

ac-chan123
6th April 2004, 12:58
Both, the cygwin and the mingw , won´t work for me. the mingw give me this error:

MEncoder dev-CVS-040406-07:55-3.3.3 (C) 2000-2004 MPlayer Team
This Build was proted to WIN32 by Amnon82.
Build was compiled with an AMD Athlon CPU.
SSE2 enabled. So a Intel P4 should work.
visit: http://www.dvdr-page.tk

CPU: Advanced Micro Devices Duron Spitfire 882.3 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

Reading C:/Program Files/DRPEnc/MEncoder/mplayer/codecs.conf: 64 audio & 172 vid
eo codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file C:/Program Files/DRPEnc/MEncoder/mplayer/mencoder: Permissio
n denied
No file given
Exiting... (error parsing cmdline)

AC-Chan(Robert Vincenz)

Amnon82
6th April 2004, 21:17
Man! the new version was buggie! I'm realy sorry for that! Please forgive me. ;)

Download the new version 1.02. Here is the GUI only DRPEncME.exe 1.02 (333 KB) (http://rj-elektronik.de/avideo/files/DRPEncME.exe)

I was in a rush and released a version I shouldn't release. :D

I hope the new version is now "bugfree". If You find another please post me. The new MINGW version works well. It was the GUI who did the cmdline error...

ac-chan123
6th April 2004, 22:08
und täglich grüsst das Murmeltier ... ähh... die Fehlermeldung.
Irgentetwas stimmt mit deinen mencodern nicht. er versucht ständig eine datei namens frameno.avi zu offen, woran er natürliuch scheitert, denn die gibt es nicht.

english
Something is wrong with ypur mencoder. Mencoder will open a file named frameno.avi. But ther isn´t a files with this name.

AC-Chan(Robert Vincenz)

Amnon82
6th April 2004, 22:25
Ich gib Dir gleich Murmeltier! frameno.avi ist ein bug, welchen ich nicht beheben kann! Der ist im Mencoder dirn. Er scheitert daran nicht, er findet ihn nur nicht. Das passiert nur, wenn du rawvideo encodierst. Hier ein post von dem letzten Encode mit 1.02:

frameno.avi is a bug in MEncoder which I can't fix. He searched only for this file, but he don't find it. This happens only if You encode rawvideo. Here a post of the Log of my last Encode in 1.02:


First pass:
MEncoder dev-CVS-040406-07:55-3.3.3 (C) 2000-2004 MPlayer Team
This Build was proted to WIN32 by Amnon82.
Build was compiled with an AMD Athlon CPU.
SSE2 enabled. So a Intel P4 should work.
visit: http://www.dvdr-page.tk

CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton 1935 MHz (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

Reading C:/Programme/DRPEnc/MEncoder/mplayer/codecs.conf: 64 audio & 172 video codecs
Reading config file C:/Programme/DRPEnc/MEncoder/mplayer/mencoderFont C:/Programme/DRPEnc/MEncoder/mplayer/font/font.desc loaded successfully! (206 chars)
success: format: 0 data: 0x0 - 0x6C00
AVI file format detected.
Generating Index: 1 %
Generating Index: 2 %
Generating Index: 3 %
Generating Index: 4 %
Generating Index: 5 %
Generating Index: 6 %
Generating Index: 7 %
Generating Index: 8 %
Generating Index: 9 %
Generating Index: 10 %
Generating Index: 11 %
Generating Index: 12 %
...
Pos: 35.8s 894f (41%) 27fps Trem: 0min 36mb A-V:0.000 [3569:0]
Pos: 35.8s 895f (41%) 27fps Trem: 0min 36mb A-V:0.000 [3569:0]
Pos: 35.8s 896f (41%) 27fps Trem: 0min 36mb A-V:0.000 [3569:0] Writing AVI index...
Fixing AVI header...

Video stream: 3569.304 kbit/s (446162 bps) size: 15990481 bytes 35.840 secs 896 frames

Second pass:

MEncoder dev-CVS-040406-07:55-3.3.3 (C) 2000-2004 MPlayer Team
This Build was proted to WIN32 by Amnon82.
Build was compiled with an AMD Athlon CPU.
SSE2 enabled. So a Intel P4 should work.
visit: http://www.dvdr-page.tk

CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton 1997 MHz (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

Reading C:/Programme/DRPEnc/MEncoder/mplayer/codecs.conf: 64 audio & 172 video codecs
Reading config file C:/Programme/DRPEnc/MEncoder/mplayer/mencoderFont C:/Programme/DRPEnc/MEncoder/mplayer/font/font.desc loaded successfully! (206 chars)
success: format: 0 data: 0x0 - 0x6C00
AVI file format detected.
Generating Index: 1 %
Generating Index: 2 %
Generating Index: 3 %
...
Pos: 35.8s 894f (41%) 26fps Trem: 0min 37mb A-V:0.000 [3657:0]
Pos: 35.8s 895f (41%) 26fps Trem: 0min 37mb A-V:0.000 [3657:0]
Pos: 35.8s 896f (41%) 26fps Trem: 0min 37mb A-V:0.000 [3657:0] Writing AVI index...
Fixing AVI header...

Video stream: 3657.097 kbit/s (457137 bps) size: 16383795 bytes 35.840 secs 896 frames


So all works fine! :D

Here the Quality Image (http://rj-elektronik.de/avideo/images/emdiem.png)

ac-chan123
6th April 2004, 23:04
Verzei das Murmeltier. Ich wollte damit nicht sagen, das du soeins bist. Ich habe das rawvideo abgestellt auf der "Hauptseite" und diese beiden zeilen bezüglich frameno.avi sind weg. Aber es bleibt dabei das ich aus irgentwelchen gründen kein Video encodieren kann. Als source nutze ich eine MPEG1 Datei, die der mplayer(von mplayerhq.hu) auch ohne probleme abspielt. Wenn ich ihn aber encoden will, bekomme ich ein Fehlerfenster welches sagt das mencoder einen fehler verursacht hat und geschlossen wird.

AC-Chan(Robert Vincenz)

Amnon82
7th April 2004, 00:02
HMM ... Du hast sicher noch ne alte build auf deinem rechner. oder lade dir http://rj-elektronik.de/avideo/files/MENCODERCYGWIN.ace Es ist eine CYGWIN build.

MINGW ist in letzter Zeit buggie. Wenn Du rawvideo abschaltest bekommst du ein mpg welches du demuxen musst. frameno.avi ist nicht wichtig. ist für mpeg4, was eh hier nicht der fall ist. Kannst es ruhig wieder anstellen.

Die fehlermeldungen in CYGWIN builds sind auch unerheblich. Du kannst mit diesen arbeiten. Hast Du einen AMD oder was? Oder doch nen Intel.
Ich teste mal schnell mpg...

For the english guys here:

He has some problems get the mingw build of Mencoder get working. So he can download my last working cygwin of the 01.04.04.

ac-chan123
7th April 2004, 00:26
Ich bin anscheinent zu Blöd. Auch mit der cygwin version bekomme ich es nicht hin. Ich bekomme jetzt zwar eine logdatei, aber kein encodiertes Video.

englisch:
and again. I get a logfile but no output Video.

AC-Chan(Robert Vincenz)

Amnon82
7th April 2004, 01:19
Post me Your commandline You created with my last version.

ac-chan123
7th April 2004, 01:43
Commandline:
"C:\Program Files\DRPEnc\MEncoder\mencoder.exe" -forceidx -of rawvideo -sws 2 -ovc lavc -lavcopts vcodec=mpeg1video:vmax_b_frames=2:keyint=15:aspect=16/9:vbitrate=6500 -vf scale=352:288 -ofps 25 "E:\downloads\animes\done\daicon4adsl.mpg" -o "E:\downloads\animes\done\daicon4adsl_test.mpg" > E:\downloads\animes\done\daicon4adsl_test.mpgOne_FirstPass.LOG

Logfile:
MEncoder dev-CVS-040401-06:00-3.3.1 (C) 2000-2004 MPlayer Team
This Build was proted to WIN32 by Avalon.
Build was compiled with an AMD Athlon CPU.
SSE2 enabled. So a Intel P4 should work.
visit: http://www.dvdr-page.tk

CPU: Advanced Micro Devices Duron Spitfire 801.6 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

Reading /cygdrive/c/.mplayer/codecs.conf: Reading /usr/local/etc/mplayer/codecs.conf: Using built-in default codecs.conf.
Reading config file /cygdrive/c/.mplayer/mencoderfont: can't open file: /cygdrive/c/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
success: format: 0 data: 0x0 - 0xBD4D70
MPEG-ES file format detected.


I use an AMD Duron 800MHz.

AC-Chan(Robert Vincenz)

yaz
7th April 2004, 08:25
@ac-chan:
don't bother with the daily builts! just install drpenc, it works on my athlon (thoroughbred). i've been unable to make any other menc win32 built work cus of this stupid hardcoced pathes. somehow it's possible to configure mencoder for running wout 'installation' (the official win32 builts are simply zipped in a definite structure) but i don't know how. ammon's releases (in drpenc) configure themself properly.
your commandline seems to be ok. maybe that 'brutal' forceidx command makes your system hanging. save the command line & delete that.

@ammon:
i've tested 1.01.
- it crashes at the end of encoding.
- how can i disable resizing ? (i wanna make all filtering in my avs script)
- why do u force idx ? it makes hanging my sys for awhile & drops encoding speed to the half or less. u should make an option for checking the source a/o rebuild the indices if necessary but not more.
- something goes wrong with the encoding as the m2v file generated is 'pumping'. time to time an ugly, blocky frame is generated. otherwise it seems ok.

y

Amnon82
7th April 2004, 08:27
C:\Program Files\DRPEnc\ is the bug. A commandline can't run with a space-sign in it. Did I told You that some posts before? ...

Look into my first post in this thread. I added in BOLD text a information for people using the english version of XP.

Also I changed the standard path of my installer to C:\DRPEnc. This should also fix this problem for noobs. :D If You want, down the new installer version.

I hope You get it now...

... und nochmal Deutsch für Dich:

Du hast ein Leerzeichen in der line. C:\Program Files\DRPEnc\ daran hängts. Hatte ich das nicht schon ein paar posts früher erklärt. Egal, ich hab für Euch Leute die XP US benutzen in Fettschrift eine Information in meinen ersten Post diesen threads hinzugefügt.

Auch hab ich den Standartpfad im Installer zu C:\DRPEnc geändert, damit Ihr Anfänger keine Probleme bekommt. Von mir aus kannste ja die heute neu hochgeladene Version downen. Ich hoffe du hast es nun kapiert...

Amnon82
7th April 2004, 08:32
@yaz: K, I've some time now. I'll fix this and release 1.03.

K, 1.03 is online now. Download the GUI Only

GUI Only release (http://rj-elektronik.de/avideo/files/DRPEncME.exe)

Changes in this build:

Force Index is now unchecked.
Added Disable Resizing/Filter.

Hope this is what You wanted, yaz.

yaz
7th April 2004, 09:42
@ammon
- spaces are not problem if they are quoted (capped in quotation marks) if i put your stuff into 'program files' it worx also fine. program name, file name(s) must be quoted, that's all. pls, do not hardcode any 'default' folder or sg! it's ok as it is/was.
- problems are with other hardcoded 'standard routes' where menc try to achive some runtime support (codec info, fonts, whatever).
i can't understand it. even also the official win32 releases contain some fake, linux-like routes never exist on any win32 system. no such problems with your compiles, anyway. where does your installer register the routes needed ? maybe, i should edit them by hand.
- other problem is with config file. milan has renewed/debugged ffvfw alot and renamed the dlls. making avis with his new makeavis results in crash of menc as there's no ffvfw.dll anymore. this dll is prompted by the config file! i've been playing hours with it but no solution so far. (no problem with your makeavis but it's quite outta date:-) somehow we should (re)edit the config file or what. (other stupidity. menc reads the codec info from a 'dummy' text file instead of scanning the system for it)

wufff ... i'm quite busy at the moment but i will try your new build(s) asap.

thx
y

ac-chan123
7th April 2004, 14:17
The space in the path can´t be the problem, then it find mencoder. I think it is a problem of one of the commandline option or the compile option.

deutsch:
Ja wir hatten das mit dem Leerzeichen schon mal. Und ich hatte dir empfohlen alle Pfadangaben in Anführungszeichen zu setzten. Da du das gemacht hast, stellen Sonderzeichen und Leerzeichen kein Problem mehr da. Es würde dir auch helfen mal die Helfedatein von Windows betreffen der Kommandozeile zu lesen.

Das Problem was ich habe muss mit den kommandozeilen Optionen oder den Compile Optionen zu tun haben.

Mich als Anfänger zu bezeichnen ist eine beleidigung. Ich habe seit meinem 10 Lebensjahr(1990) mit Computern zu tun und seit 1998 beschäftige ich mich mit Videos.

AC-Chan(Robert Vincenz)

ac-chan123
7th April 2004, 14:23
I have test the version 1.03 and there is the same problem as evry preview version. the commandline output:

COMMANDLIST created by DRPEnc XP ME v.1.03
_______________________________________
ENCODING MOVIE. PLEASE WAIT...
Can't open '/cygdrive/c/.mplayer/codecs.conf': No such file or directory
Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
File not found: 'frameno.avi'
Failed to open frameno.avi
: No such file or directory
5 [main] mencoder 752 handle_exceptions: Exception: STATUS_ILLEGAL_INSTRUTION
653 [main] mencoder 752 open_stackdumpfile: Dumping stack trace to mencoder.exe.stackdump


AC-Chan(Robert Vincenz)

yaz
7th April 2004, 14:24
dearrydearrydears, pls keep it in english ! not to say more, you'r violating forum rule(s) continuously. in add, i can't follow, as my german needs a heavy brush up now :-)
y

ac-chan123
7th April 2004, 14:40
i have open a new threat in the german gleitz/doom9 Forum and talk there about this problem. i only write the result into this Forum.

AC-Chan(Robert Vincenz)

yaz
7th April 2004, 14:53
@ac-chan
imho, you're got some compatibility problems. ammon's compiles need a p4 compatible cpu. maybe, yours is not that. try different win32 compiles from the official site (http://www.mplayerhq.hu/MPlayer/releases/win32-beta/) or from the/an unofficial (sunset) site (http://mplayer.sunset-utopia.homeip.net/)
the bests
y
[EDIT]just checked 1.03, it worx for me.

ac-chan123
7th April 2004, 15:08
Thanks yaz. The mencoder-win32-mingw-dev-cvs20040317.exe builf from mplayer.sunset-utopia.homeip.net work at my machine. Amnon82 has say that he use a AMD so i don´t have think that the CPU is the problem.

AC-Chan(Robert Vincenz)

ac-chan123
7th April 2004, 15:37
I´m again. The old testvideo has no audio so i wasn´t wondering that the audiomenu is deadth. But my next Video has and the audiomenu is also deadth. It´s a avi file with xvid and mp3. isn´t it supported or muast i somewhere check somethink to encode also the audio?

AC-Chan(Robert Vincenz)

Amnon82
7th April 2004, 20:43
You have to disable rawvideo then the audiomenu is enabled. Click on the comboboxes and choose the settings. Anyway it isn't good encode audio with mencoder, cos the mpeg will be mpeg1 without audiopadding, even if You use MPEG2.

Encode the audio seperatly. I'm working with tickey on a new audioencoder based on ffmpeg. For the mencoder build I'm realy sorry. On my machine it works. I've a AMD XP 2800+ and enabled SSE2 for a P4.

The other builds yaz posted You is compiled with cpudetection. I can also build this kind of, but with cpudectection it is slower...

at yaz: nice to here that. (It works for You ... 1.03) :D

at all: I reupped the 1.03 Installer with the new CVS 07.03.04 of MEncoder. this time I enabled CPU Detection. Tell me if this is better for You guys.

Lycaon
8th April 2004, 21:09
Just read your thread and look foward to trying your program tonight. One question:

-Does anyone know what colorspace (RGB24, RGB32, YUY2, YV12) MEncoder's internal filters (-rotate, -scale, etc.) use?

yaz
9th April 2004, 09:56
Originally posted by Lycaon
... what colorspace (RGB24, RGB32, YUY2, YV12) MEncoder's internal filters (-rotate, -scale, etc.) use? the internals work in yv12 (common for all encoder i know). the first step on encoding is converting to yv12. so u musn't bother too much about the input colorspace.

@ammon
just to make it clear. i've never ever has been able to use your guis. they always seem to hang/crash right after starting. i use your mencoder compiles as they work much quicker on my athlon then the other 'general' win32 stuffs so i stay with the previous built (no cpu detection).
i plan to make a step by step investigation on your command line(s) but it needs a lot of time (which i haven't got now). what i know so far is that the problem is not with forceidx. with or wout it's the same.
btw, does anyone know how over/under flow is controlled? i mean, which options should i tweak?

the bests
y

Amnon82
9th April 2004, 11:36
@yaz, when did it exactly crash? Starting the GUI or using the GUI?
I coded the GUI in Delphi7Enterprise and used upx to get a smaller size.
For U I uppload the original exe in his original size. Try this one (http://rj-elektronik.de/avideo/files/DRPEncme2.exe).

It is normal that it the first time freeze for some sec. This is cos DRPEnc search for his EXE in your pc. On the second start it reads the ini out which was created during the search of the first start. If I change the name of the GUI it searched for the new name. This is normal.

yaz
9th April 2004, 12:12
@ammon
no problem with the gui. i have the ini file too. when i start encoding, a dos win pops in only with some lines (taken from the bat generated by drpenc) & then comes an error msg (access denied ...) & then nothing. maybe i was too unpatient. what should i see when drpenc worx (properly:-).
hmmm ... now i see u redirect the ouputs to a log file. i got it. wufff ... maybe it worked all the time ? ok, i try it again. anyway, sg else than that error msg would be more pleasant during the operation. maybe that mislead me :-)
a short quest. is it possible to set the encoder different than mpeg2video (say, mpeg2)? if yes ... how ?
the bests
y

Amnon82
9th April 2004, 16:46
DRPEnc creates a batfile. This is what the gui do.

Here is my last bat for example:

@ECHO OFF
ECHO COMMANDLIST created by DRPEnc XP ME v.1.03
ECHO _______________________________________
ECHO RUNNING 1PASS OF 2. PLEASE WAIT...
ECHO _______________________________________
"C:\Programme\DRPEnc\MEncoder\mencoder.exe" -forceidx -of rawvideo -sws 2 -ovc lavc -lavcopts vcodec=mpeg2video:vqmin=2:vqmax=2:vmax_b_frames=2:keyint=15:vpass=1:aspect=4/3:vbitrate=6500:vratetol=1500:vrc_maxrate=9500:vrc_minrate=3500:vrc_buf_size=1835:gray:inter_matrix=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:intra_matrix=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 -vf hqdn3d=3:2:4,crop=720:570,scale=704:558,expand=720:576 -ofps 25 "D:\sample2.avi" -o "D:\sample2103.m2v" > D:\sample2103.m2vOne_FirstPass.LOG
ECHO RUNNING 2PASS OF 2. PLEASE WAIT...
ECHO _______________________________________
"C:\Programme\DRPEnc\MEncoder\mencoder.exe" -forceidx -of rawvideo -sws 2 -ovc lavc -lavcopts vcodec=mpeg2video:vqmin=2:vqmax=2:vmax_b_frames=2:keyint=15:vpass=2:aspect=4/3:vbitrate=6500:vratetol=1500:vrc_maxrate=9500:vrc_minrate=3500:vrc_buf_size=1835:inter_matrix=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:intra_matrix=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 -vf hqdn3d=3:2:4,crop=720:570,scale=704:558,expand=720:576 -ofps 25 "D:\sample2.avi" -o "D:\sample2103.m2v" > D:\sample2103.m2vSecondPass.LOG
ECHO FINISHED ENCODING
D:\sample2103.m2vOne_FirstPass.LOG
D:\sample2103.m2vSecondPass.LOG
ECHO FINISHED

Normaly You should see all, excluded the lines without ECHO.

mpeg2 I can't change cos it is build in in Mencoder. My gui creates a batch and uses MEncoder for encoding the movie. The most error messages You can ignore, cos it is still a CVS build of MEncoder.

NathanX
27th June 2006, 15:50
Hm, is DRPEnc still available?

buzzqw
27th June 2006, 19:34
let's try it:

1) click on SEARCH at top of this page

2) write DRPenc

3) i think that the second thread is what you want (http://forum.doom9.org/showthread.php?t=110495&highlight=DRPEnc)


BHH

NathanX
28th June 2006, 06:44
let's try it:

1) click on SEARCH at top of this page

2) write DRPenc

3) i think that the second thread is what you want (http://forum.doom9.org/showthread.php?t=110495&highlight=DRPEnc)


BHH
Not that I want to be rude, I am capable of searching for a certain topic by typing some characters in a certain field, but thank you for your link anyway. The link that you provided leads me to a thread with a non working link which led me to the previous question. ;-)

buzzqw
28th June 2006, 07:21
well in that case better to bump Amnon for relinking the package ;)

BHH

NathanX
28th June 2006, 07:32
well in that case better to bump Amnon for relinking the package ;)

BHH
Thought so, too, thanks.

Amnon82
28th June 2006, 09:55
ups I forgot to update the link:

Download Amnons OldXoolToolZ Year 2004 Collection (http://home.arcor.de/autoq2_amsoft/files/releases/OldXoolToolZ_Year2k4.zip)

... sorry ...

NathanX
28th June 2006, 10:10
ups I forgot to update the link:

Download Amnons OldXoolToolZ Year 2004 Collection (http://home.arcor.de/autoq2_amsoft/files/releases/OldXoolToolZ_Year2k4.7z)

... sorry ...
Thanks a lot for your convenience.

Amnon82
30th June 2006, 15:30
btw DRPEncME is an old build. If you need some changes let me know. When you can code Delphi you can also have the sourcecode, if you want to develop it further.

@ac-chan123: I'm using an AMD64 3500+ which uses SSE2 >> P4 compatible build of MEncoder was used here. Sorry but the program is form the year 2004.

Also read this:

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/)[/color]

btw I updated the release. Removed a bug in all three ME-Builds:

Download OXTY2k4-30.06.06 (http://home.arcor.de/autoq2_amsoft/files/releases/OldXoolToolZ_Year2k4.zip)

... tell me if it works