View Full Version : Daily MEncoder Builds
Amnon82
13th March 2004, 00:46
Hi there! I started to port the linux mencoder version to windows.
I'll do this everyday (... if I found some time).
Here is the latest version:
Download Mencoder CVS 01.04.04 MinGW Build optimized for AMD and Intel (ca. 1.50 MB) - fast download server 80k! (http://rj-elektronik.de/avideo/files/MEncoderMinGW.ace)
Download Mencoder CVS 01.04.04 CygWIN Build optimized for AMD and Intel (ca. 2.00 MB) - fast download server 80k! (http://rj-elektronik.de/avideo/files/MENCODERCYGWIN.ace)
All builds are upxed and in WinACE 2.5 packed.
itcth
13th March 2004, 03:52
@Amnon92,
Below are my commandline to encode to VCD
REM #################################################################
mencoder.exe -of mpeg -ovc lavc -lavcopts
vcodec=mpeg1video:intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,12,14,18,27,29,34,37,38,22,26,27,31,36,37,38,40,26,27,29,36,39,38,40
,48,27,29,34,37,38,40,48,58,29,34,37,38,40,48,58,69,34,37,38,40,48,58,69,79:inter_matrix=16,18,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22,24,
26,28,30,32,34,22,24,26,30,32,32,34,36,24,26,28,32,34,34,36,38,26,28,30,32,34,36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44:vratetol=1
000:vbitrate=1150:vrc_maxrate=1150:vrc_minrate=1150:vrc_buf_size=328:vqmin=2:vqmax=24:vb_qfactor=1.2:vi_qfactor=0.8:vqblur=0.3:keyint=15:aspe
ct=4/3:vmax_b_frames=3 -vf scale=352:288 -ofps 25 -oac lavc -lavcopts acodec=mp2:abitrate=224 -srate 44100 "C:\1.avi" -o D:\Test\TestVCD.mpg
PAUSE
REM ##################################################################
First, i try with old mencoder (5.64 MB or 5,918,208 bytes ) .I can craete file D:\TestVCD.mpg but Nero deny to burn this file(Non compatible issue).
Later,i try the latest MencoderDRPEncBuild120304.exe.Encodeing stop at the beginning and report error(For WinXP).
Kindly look into my commandline if there is any thing gone wrong.
Best regards,
Amnon82
13th March 2004, 16:23
@itcth I checked Your script. It was ok. I used -no sound.
So here is the screenshot of your script using CVS 12.03.04:
http://rj-elektronik.de/avideo/lastmencoder/runvcd.jpg
I got a 6.347 KB file.
then I used my DRPEnc 0.2.0.1 to create a VCD script.
Here the screenshot of the 1pass script:
http://rj-elektronik.de/avideo/lastmencoder/runvcddrp.jpg
I got a 2.569 KB file with the same quality like Yours...
Here the screenshot of the 2pass script:
http://rj-elektronik.de/avideo/lastmencoder/runvcddrp2p.jpg
I encoded it without my special filters.
Then I got a file with 3.884 KB. This file has the best quality and blows Yours strait away.
I uploaded all the scripts and the sample I created with DRPEnc to my server.
You can download it here (http://rj-elektronik.de/avideo/lastmencoder/vcddrp.exe).
Try it out. On my AMD it works! Maybe You have a Intel and my builds don't work there...
unplugged
14th March 2004, 18:17
Can we expect a Pentium4 build soon, I will appreciate very much this.
:D My P4 @ 3500/1000FSB give me 77fps with CCE, so I waiting the other...
Thanks!
itcth
14th March 2004, 18:42
@Amnon82
Very exciting.I will test it now and let you know the results.
Best regards,
itcth
14th March 2004, 19:06
@Amnon82
Report #1..
I test vcd compatibility of your encoded file "vcd2pass.mpg.m1v" by mutilplexing in TMPGEnc(Without any new encoding of course) and burn with Nero.Hey,it does work.This is the first time i ever burn VCD with Nero without complain after many encoding with menocder.
I am to going to test further by enccoding with my Intel Pentium 4.
Best regards,
Amnon82
14th March 2004, 19:34
I've only a AMD Athlon XP 2800+ (Batron)
So my builds are with MMX, MMX2, 3DNow, 3DNowEx, SSE Support.
I can't add SSE2 to this build. Otherwise I can build a build with
CPU-Selfdetection. But this will be slower.
Also I can create a guide for compiling MEncoder. So everybody can compile it.
Also it is possible that I host this builds.
itcth
14th March 2004, 20:34
@Amonn82
Report #2
Below are script,
REM ============================================================
@ECHO on
ECHO Batchfile created with DRPEnc 0.2.0.1 - by Avalon
ECHO Start encoding movie...
mencoder.exe -forceidx -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video:vqmin=2:vqmax=24:vmax_b_frames=2:mbd=0:keyint=15:aspect=4/3:vbitrate=1150:vratetol=1000:vb_qfactor=1.2:vi_qfactor=0.8:vb_qoffset=1.25:vi_qoffset=0.0:vqblur=0.3:vqcomp=0.5:vlelim=-4:vcelim=7:dark_mask=0.15:tcplx_mask=0.1:scplx_mask=0.2:p_mask=0.1:trell: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=336:206,expand=352:288 -ofps 25 -nosound "C:\1.avi" -o "C:\1.mpg"
ECHO Demuxing now M1V-file...
BBDMUX.EXE C:\1.mpg 0xe0 C:\1.m1v
pause
REM ==============================================================
Encoding stop after encoding for a while.Please see details here;
http://www.itctechnology.com/picanswer/Report1.JPG
itcth
14th March 2004, 20:40
Follows by this picture;
http://www.itctechnology.com/picanswer/Report2.JPG
After encoding for a while this error occurs.
http://www.itctechnology.com/picanswer/Report3.JPG
Do you think there are some problem with my Intel CPU ?
celtic_druid
14th March 2004, 20:42
--enable-sse2, compiles fine on my XP.
Amnon82
14th March 2004, 21:28
@ itcth: Download DRPEnc 0.2.0.2 and it will be fine.
@ celtic_druid: THX, I'll check it right now!
@ all: compiling guide is out.
I got it:
./configure --enable-largefiles --enable-mmx --enable-mmx2 --enable-3dnow
--enable-3dnowex --enable-sse --enable-sse2 --enable-static --with-codecsdir=F:/mplayer/codecs
I upload the newest build with SSE2 enabled.
itcth
14th March 2004, 21:35
@Amnon82
Yes,now everything work like magic.You are the man.
Many thanks.
(Do you know it is almost 4.00 am here?)
Amnon82
14th March 2004, 21:54
I'm running to 21:55:D
can You wait for the new version of mencoder?
Amnon82
14th March 2004, 22:07
Uploading new MEncoder Version optimized for AMD and Intel.
Added the new MEncoder Version to the installer version of DPREnc 0.2.0.2.
Have fun with it.
... and I know that I'm the MAN:D ...
unplugged
15th March 2004, 00:42
Thank you Amnon, I see you are working much actively :)
Amnon82
15th March 2004, 00:55
Yes so I'm...:D
workaholic...
Amnon82
15th March 2004, 21:38
The last working MEncoder Build is still 14.03.04 - 20:55.
I tried today two builds. Both crashed on my system.
Tomorrow is also a day.
Lets see what 16.03.04 will do;)
unplugged
15th March 2004, 23:13
What you mean, are you trying more aggressive code/CPU optimizations?
BTW, do you know if recent GCC (3.3 ?) can generate code that take advantage of HyperThreading?
Amnon82
16th March 2004, 10:07
I did it like the last build. But it crashed. I didn't changed my configure line. Lets see what happend today. For Hyperthreading is till now nothing build in. Maybe they add this feature. I'll check again the source.
Amnon82
16th March 2004, 15:36
No new CVS Version at ftp://ftp.mplayerhq.hu/MPlayer/cvs/.
Something strange is going on...
Amnon82
16th March 2004, 20:02
Also 16.03.04 crashed on my System. So I'm still on my last stable release 14.03.04 - 20:55!
I realy don't know whats going wrong. If somebody compiled a newer working version than 14.03.04 - 20:55 tell me.
celtic_druid
16th March 2004, 20:06
CVS works fine though. Compiles fine to.
Amnon82
16th March 2004, 20:36
celtic_druid what did I wrong? Post Your configureline please.
This was the one I used:
./configure --enable-largefiles --enable-mmx --enable-mmx2 --enable-3dnow --enable-3dnowex --enable-sse --enable-sse2 --enable-static --with-codecsdir=F:/mplayer/codecs
Amnon82
17th March 2004, 11:14
K, first I test the new MEncoder version before adding it to my GUI. The new Version 17.03.04 - 9:30 sucks!
Why You ask me? Its cos of the quality!
I upload to moviecutouts where I used exactly the same settings. Only thing I changed was the Mencoder version. The new version is 10% faster in encoding and produces a bigger file as the 14.03.04 Version. 2% More filesize for a lasier quality! This is not the good way!
Encode with 14.03.04:
Screenshot of Encode with 14.03.04 (http://rj-elektronik.de/avideo/lastmencoder/quality14.03.04-20.55.jpg)
Sample encoded with 14.03.04 - 20:55 (2.03 MB) (http://rj-elektronik.de/avideo/lastmencoder/samples/quality_14_svcd.m2v)
Encode with 17.03.04:
Screenshot of Encode with 17.03.04 (http://rj-elektronik.de/avideo/lastmencoder/quality17.03.04-09.30.jpg)
Sample encoded with 17.03.04 - 09:30 (2.50 MB) (http://rj-elektronik.de/avideo/lastmencoder/samples/quality_17_svcd.m2v)
I hope they fix this in the next version!
unplugged
17th March 2004, 16:00
Amnon82, I think its best to have a little contact (if not yet) with one of main ffmpeg/libavcodec (or mencoder) programmers to know which CVS package is advised ATM, at least the most recent/less critical CVS.
Then, focus on the rest, like optimal compiler switches and best encoding quality settings.
(I will post my current nice settings, feedback will be important...)
Isn't good to afford regularly on CVS, they could be picked up just in the middle of deep changes.
Regards,
unplugged
Amnon82
17th March 2004, 19:13
Yes I know unplugged. I wait for Your post...
... I checked again the newest Version. This time 17.03.04 - 20:33. Also the same result like in the samples I linked 2 posts above.
itcth
18th March 2004, 04:51
@AMnon82,
(I hope i put my question in the right thread)
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.mpg 0xe0 C:\Temp\1.m1v
BBDMUX.EXE C:\Temp\1.mpg 0xc0 C:\Temp\1.mp2
DEL C:\Temp\1.Mpg
pause
REM -----------------------------------------------------------------
Can i use .avs as input file instead of .avi in the commandline.
Best regards,
Amnon82
18th March 2004, 10:28
ARRRGGHHH! Wrong thread!!!!
Man itcth! What is the problem with You? Read the titles of the threads!
Is there written 'DRPEnc - GUI for MEncoder'? Or is this the thread where we talk about my new MEncoder builds?
I see You need help: go to this thread! (http://forum.doom9.org/showthread.php?s=&threadid=71131&perpage=20&pagenumber=3)
BTW DRPEnc only supports VOB, MPEG and AVI as input. Why in the hell did I add the function 'makeAVIS' to my GUI? For supporting AVS over a fakeAVI.
unplugged
18th March 2004, 22:39
This is the script that I'm using currently, for testing ATM, the argument that I'm trying to point is "highest quality with libavcodec but without pain too slow or buggy switches".
(in batch file called "DVD.bat")
mencoder.exe -forceidx -of mpeg -ovc lavc -nosound -lavcopts vcodec=mpeg2video:mbd=2:trell:cbp:subcmp=2:cmp=2: precmp=2:
preme=2: predia=2:dia=2:vmax_b_frames=2:keyint=15:aspect=16/9:vrc_buf_size=1835:
intra_matrix=8,16,19,22,26,27,29,34,16,16,22,24,27,29,34,37,19,22,26,27,29,34,34,38,22,22,26,27,29,34,37,40,22,26,27,29,32,35,40,48,26,27,29,32,35,40,48,58,26,27,29,34,38,46,56,69,27,29,35,38,46,56,69,83:
inter_matrix=16,17,18,19,20,21,22,23,17,18,19,20,21,22,23,24,18,19,20,21,22,23,24,25,19,20,21,22,23,24,26,27,20,21,22,23,25,26,27,28,21,22,23,24,26,27,28,30,22,23,24,26,27,28,30,31,23,24,25,27,28,30,31,33:
vratetol=2000:vpass=%5:vbitrate=%3:vrc_maxrate=%4:vrc_minrate=4 %1 -o %2
(syntax)
DVD input.avi output bitrate maxbitrate pass
The intra/inter matrix model is taken from CCE's default (I love it!), the other MPEG encoder options are collected/sorted on my limited information basis so everyone is invited to criticize :D.
The three cmp switches are set to 2 to use SATD (more precise search routine than faster SAD), but... if anyone know how much it's worth (or at all) or if there's a setting that give similar precision as XviD's motion search 6 please post.
:script:
Amnon82
19th March 2004, 10:57
One more question unplugged: which CVS do You using now?
Amnon82
19th March 2004, 12:05
I changed to cygwin. Lets see what happend...
unplugged
19th March 2004, 15:51
Originally posted by Amnon82
One more question unplugged: which CVS do You using now?
I'm using your build 20040314, but sometimes with certain conditions unknown to me it crashes so it use build 20040227 (from http://mplayer.sunset-utopia.homeip.net).
Is there any costant called TOO_SMALL_LIMIT into libavcodec, some impression of its image quality remember me when XviD has that threshold variable (or constant) set too high... frames seem to be a bit blurred together on flat areas.
Or there is something bad about _detail detection_. (even at quant 2-3)
Amnon82
19th March 2004, 15:54
I compiled a working 19.03.04 Build but it has the new libavcodec inside. It produces bad quality. I'll change the libavcoded with the build of 14.03.04 and see what is then...
@unplugged: Did You compile a MEncoder build by Your self?
Amnon82
19th March 2004, 17:07
So I compiled a new release. A special one! Added the new codecs into the build. Changed the compiler. Speeded it up! Work like a clock...
grab it here (http://rj-elektronik.de/avideo/lastmencoder/MEncoderSetup.exe)
unplugged
19th March 2004, 21:22
Speeded it up? :)
I see its cygwin compiled, aren't quite similar MinGW and Cygwin?
Does QPRD switch work? checking...
Originally posted by Amnon82
Did You compile a MEncoder build by Your self?
no I meant using binaries based on CVS
Amnon82
20th March 2004, 10:03
No Cygwin is better. In MinGW I can't compile it. I'll update the compiling guide if I have the time...
Amnon82
21st March 2004, 16:59
I play a little with the new CVS 21.03.04 ...
Amnon82
1st April 2004, 06:11
new version out. the mingw build crashes on my system. Crash it also on other AMD systems? Cygwin works on my machine...
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.