04-21-2004, 04:09 PM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by vmesquita
To make the executable half its size, you can
And to make it half of the half smaller:
But you need the UPX package installed in cygwin for this to work.
|
In my case I need to type
cd X:/Path to extracted Mplayer CVS folder where compiled mencoder.exe resists
upx mencoder exe
./upx mencoder.exe ... wont work
1.529 kb the smallest mencoder I ever had
BTW for readers of this thread.
Whe I did download the CygWin ... I did NOT download the whole thing!
I just downloaded the base install (default) and checked also "gcc", "make" and also "upx" ... that was enough and by this less MBs for downloading ... well for the purpose of the intention to just compile mencoder
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
04-21-2004, 04:11 PM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
@ Fozzieb
DID you set the option in the ./configure line as quoted by VMesquita above?
Did you change BEFORE processing ./configure the codecs.config in the "etc" Folder of "MPlayer-XXXXX" Folder to the one VMesquita suggested??
@ Vmesquita
Can the UPX'ed version of the mencoder.exe be just provided to other who do not have UPX, neither CygWin installed??
|
04-21-2004, 04:17 PM
|
Free Member
|
|
Join Date: Sep 2002
Location: Scotland
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
@incredible
I have done both and still no joy, I'll do once more to be sure
cheers
|
04-21-2004, 05:23 PM
|
Free Member
|
|
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Hi guys,
I think this needs to have a sticky here.
@Inc.,
Please post as much as you can on your method since you are one of the latest most succefull guys compiling mencoder.
Pls state which Cygwin packages you downloaded.
Also which methods used for a general CPU compilation.
We'll add CPU optimizations later
Cheers
__________________
Rui
|
04-21-2004, 05:58 PM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Well even I did set the right path to the "mplayer" dir where the config files are placed ...
./configure --enable-largefiles --enable-static --confdir=mplayer/ -- enable-win32
.... I still get that "not found" error in the log.
I did one compiling using just "mplayer/" and one compiling using the whole path "C:/Programme/MPlayer/mplayer/".
As you see on the first try "he" cant recognise it, ..... and on the second try he finds the codecs.conf (although the codecs.config is set before compiling in the "etc" Folder of "MPlayer CVS XXXX").
So mencoder still gots not the correct path
Code:
Reading /home/Administrator/.mplayer/codecs.conf: Can't open '/home/Administrato
r/.mplayer/codecs.conf': No such file or directory
Reading C:/Programme/MPlayer/mplayer//codecs.conf: 61 audio & 170 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/Administrator/.mplayer/mencoder: No such file or direc
tory
Reading config file C:\Programme\MPlayer\templates\MakeAVISnew.conf
font: can't open file: /home/Administrator/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
It would make more sense if he just recognises the path "mplayer/" as its not possible to provide compilings to others where a special user system path is set.
Another Point....
VMesquita ... where can I find a list of all ./configure ... settings which could be added for compiling??
Cause that could be VERY helpful for others reading this and for shure for me for tweaking purposes when doing the compiling
Thanks a lot!
Inc.
@ riu
Well ... until I dont know the whole list of possible configure parameters it would not make sense to post a clear "howto" ... so lets get into this a bit more and the result will be a sticky Ill make for all
|
04-21-2004, 06:09 PM
|
Free Member
|
|
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Hi Inc.,
Fair enough buddy.
Hope you post a sticky in the next 12 hours
Gotta rush
Cheers
__________________
Rui
|
04-21-2004, 09:44 PM
|
Invalid Email / Banned / Spammer
|
|
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
@inc
This is wierd... Using that setting works for me... Please try --confdir=./mplayer/ (notice the dot).
To get a complete list of setting, just do:
|
04-22-2004, 12:30 AM
|
Free Member
|
|
Join Date: Mar 2003
Location: Germany
Posts: 390
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by vmesquita
Quote:
Originally Posted by Krassi
i'm sitting in front of an Intel machine now, so i've compiled it with all cpu optimisations.
|
I think this won't run in any CPU
Because if you compiled with all optimization, it means that you binary is optimized for 3dnow! and SSE2 at the same time, and there's no CPU capable of handling this.
|
Hi, maybe your right.
I thought mencoder is able to detect the right opts:
Code:
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
|
04-22-2004, 01:35 AM
|
Free Member
|
|
Join Date: Mar 2003
Location: Germany
Posts: 390
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Maybe i've missed something yesterday, but is that codecs.conf error really important
Isn't it using the default codecs.conf which we have already patched
This is the log vmesquita's build is giving me:
Code:
CPU: Intel Pentium 4/Xeon/Celeron Foster 2741 MHz (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading /cygdrive/c/.mplayer/codecs.conf: Can't open '/cygdrive/c/.mplayer/codec
s.conf': No such file or directory
Reading mplayer//codecs.conf: Can't open 'mplayer//codecs.conf': No such file or
directory
Using built-in default codecs.conf.
|
04-22-2004, 03:46 AM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Reading mplayer//codecs.conf: Can't open 'mplayer//codecs.conf':
|
Do you got in the same folder where mencoder.exe is another folder "mplayer" where the codecs.conf file exists ??
|
04-22-2004, 05:52 AM
|
Free Member
|
|
Join Date: Sep 2002
Location: Scotland
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
using Cygwin to compile, my exe is 6Mb, after "strip mencoder.exe" it is 5Mb,
why is it so big?
I think I will install linux on my other drive and have a bash (feeling brave)
any news on the gui front (allowing to change crop settings)?
|
04-22-2004, 06:02 AM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
fozzieb,
Yep, mencoder.exe will take about 5.1xx kb when its compiled (not yet stripped!). So stripping should result in less MBs.
BUT as you can read VMesquitas suggestions more above you also can download the UPX package for CygWin which allows you a REAL compression to almost 1-2 MBs! So read the thread in here carefully
To add packages to a ready installed CygWin .. just open the setup.exe ... choose a download server from the list and then enter the package options/choosing in the Setup.exe Window. There you will see by hitting "View" the packages which are avaiable.
So you don't need to download that whole CygWin system
(BTW: I also did download the whole Win32 codec package and installed it to my CygWin system manually! before I did compile ... maybe thats also necessary!? maybe the compiler refers also to them?!)
According to cropping .... seems that MencoderME DOES NOT crop! even its mentioned in the GUI ... there are only Scale and Expand set in the commandline which means (IMHO) resize & addborders.
Best would be to use :Crop:scale:Expand .And also these parameters to set in the GUI .... in the GUI you only have to enter the values which will be outputted by FitCD or Moviestacker.
Also there could be "ready made" choices for i.E. 720To704 (only cropping)
Watch my posting in the GUI Thread, there I did post a Commandline where only the needed Crop: is used for 720 to 704 conversion much faster
|
04-22-2004, 07:27 AM
|
Invalid Email / Banned / Spammer
|
|
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
The win32 codec pack is not needed in windows, if I recall correctly.
MencoderMe does not crop, because it doesn't detect the cropping parameters (yet). The names "cropped width and height" can be a little misleading.
This. and "detect that we going from 720 to 704 and just crop" is in my to-do list. Unfortunatelly right now I have to finish a command-line mail client for university... I hate this stupid projects where every student creates exactly the same project with the same strict rules so the teacher can verify and them throw in the garbage can...
|
04-22-2004, 08:47 AM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by vmesquita
This. and "detect that we going from 720 to 704 and just crop" is in my to-do list. Unfortunatelly right now I have to finish a command-line mail client for university...
|
That was no "hurry up" (and I think you didnt understand it like that), just an advice as the config files can be tweaked manually.
So we should also take note that this is a newbie from scratch GUI which allows (already in this state) very good automatisms.
So if someone is a bit in mencoder line programming (which is easy), he just can add/delete what he wants so it fits personal purposes.
|
04-22-2004, 08:50 AM
|
Free Member
|
|
Join Date: Aug 2003
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
@incredible
would u ever make your compile(s) available or it's all just for fun. i'd love if i'd get well maintained athlon compile(s).
thx
y (the selfish)
ps. u wouldn't keep 'old' makeavis. milan has heavily debugged this part of ffdshow too but there's no ffvfw.dll anymore. the codec.conf should be sg like this:
videocodec makeavis
info "FFdshow makeavis"
status untested
fourcc AVIS
driver vfw
dll "(path)/ffdshow.ax"
out YV12
|
04-22-2004, 09:09 AM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
As you can read above my last compile is still not perfect.
I want that there doesn't have to be a codecs.conf WITHING the compiling so the codecs.conf will be found in the folder "mplayer" within the folder where mencoder will exist on the HD
By this you can tweak yor codecs.conf manually "independent" from the compiling ----> That's exact your purpose
Also I first want to see which configure options are also avaiable for compiling.
Whats about that "...there's no ffvfw.dll anymore..." ???
Whats the issue or whats the advantage if set to .../ffdshow.ax ???
Quote:
I wouldn't do that as if for example I feed makeavis using a YUY2 source I leave it as it is as mencoder Commandwindows also says "prefered planar YUY2"! So as mencoder already wants finally a YUY2 why should I do another colorspace conversion?
|
04-22-2004, 09:20 AM
|
Free Member
|
|
Join Date: Aug 2003
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by incredible
Whats about that "...there's no ffvfw.dll anymore..." ???
Whats the issue or whats the advantage if set to .../ffdshow.ax ???
|
the new ffdshow releases do not install any ffvfw.dll (the 'decoder' for .avis) anymore. ffdshow.ax is used also for serving avis.
advantage? u can use the debugged makeavis. that's all. i just noted it cus i see always quite old makeavis recommended for mencoder.
the bests
y
|
04-22-2004, 09:25 AM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I do see in our old used codecs.conf only YV12 is still used
Code:
videocodec makeavis
info "FFvfw makeavis"
status untested
fourcc AVIS
driver vfw
dll ffvfw
out YV12
I ll try tonight
out YV12,YUY2
... yep youre rigth I still got that makeavis which refers to ffvfw.dll ... but if everything works, is there a reason why I should upgrade to thenewest makeavis? Whats debugged? (I do not remember now)
|
04-22-2004, 09:33 AM
|
Free Member
|
|
Join Date: Aug 2003
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
@inc.
yv12 is ok. afaik, it's native to menc. if u feed sg different menc will convert it. (at least, it should)
why to change? why not to change ? )) till u got no problem, there's no reason, really. but if u have, u can never tell whether it's the source, it's avisynth, it's the serving or it's mencoder. i'm just taming mencoder so i'd like to keep other source of error as minimal as can. that's my point.
the bests
y
|
04-22-2004, 09:49 AM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hey yaz
Quote:
yv12 is ok. afaik, it's native to menc. if u feed sg different menc will convert it.
|
Thats the problem ... everytime I do start encding .. the command window gives me besides the whole lines a line where mencoder says ".... planar YUY2 prefered..."
Thats why I was " " when I saw that only YV12 is set to the codecs.conf file in the "ffvfw makeavis" part.
Till now I dont know any encoder who likes yv12 as input c.space, also CCE uses YUY2.
So thats waht I will find out if its really native cause if yv12 would not be native this would mean more speed consumption for a not needed YUY2 to YV12 and then back to YUY2 conversion slower encoding and less quality
In case of DVD source no matter as it will so or so be in yv12, but if you do use mjpeg sources which are in YUY2 or going into makeavis using YUY2 in your AVS script (maybe as some filters need it) it would be better to keep it IF in mencoder YUY2 would be native. And that would also be responsable for less encoding speed by using makeavis compared to direct VOB input (although VOBs are yv12)
|
All times are GMT -5. The time now is 09:13 AM — vBulletin © Jelsoft Enterprises Ltd
|