I've seen numerous examples on the web on using profiles in your config files, and i've read it in mplayer's docs, but i never found ANY ONE stating the name of the file to place it in. I noticed that the ~/.mplayer/config file said something about adding custom options there, but when i did, i got several errors. I will paste the config (well, a snippet of it), and the resulting errors:


Code:
[x264-1.6]
profile-desc="Standard Widescreen Settings, from Standard DVD (NOT Blu Ray or HD)"
vf=pullup,softskip,harddup,dsize=1.6
ofps=25
aspect=1.6
force-avi-aspect=1.6
ffourcc=h264
passlogfile=log.log
oac=faac
faacopts=br=128
ovc=x264
x264encopts=partitions=all:8x8dct:weight_b

Code:
[^v^] mplayer video.avi -profile help;
MPlayer dev-SVN-r27514-4.3.2 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ (Family: 15, Model: 107, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Warning unknown option ofps at line 4
Warning unknown option force-avi-aspect at line 6
Warning unknown option ffourcc at line 7
Warning unknown option passlogfile at line 8
Warning unknown option oac at line 9
Warning unknown option faacopts at line 10
Warning unknown option ovc at line 11
Warning unknown option x264encopts at line 12
Warning unknown option x264encopts at line 20
Warning unknown option x264encopts at line 25
Warning unknown option x264encopts at line 34
Warning unknown option x264encopts at line 39
Warning unknown option x264encopts at line 48
Warning unknown option x264encopts at line 53
Warning unknown option x264encopts at line 62
Warning unknown option x264encopts at line 67
Warning unknown option x264encopts at line 76
Warning unknown option x264encopts at line 81
Warning unknown option x264encopts at line 90
Warning unknown option x264encopts at line 95
Warning unknown option x264encopts at line 104
Warning unknown option x264encopts at line 109
Warning unknown option x264encopts at line 118
Warning unknown option x264encopts at line 123
Warning unknown option x264encopts at line 132
Warning unknown option x264encopts at line 137
Available profiles:
...
Does anyone know what could be causing this?

Thanx


===EDIT===
Part of the problem is because i said "mPLAYER" and not "mENCODER". But now that i've corrected that, i get a new error:
Code:
[^v^] mencoder video.avi -profile help;
MEncoder dev-SVN-r27514-4.3.2 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ (Family: 15, Model: 107, Stepping: 2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
No profiles have been defined.
Suddenly, there are no profiles? Does it read from a separate file for mencoder, as opposed to mplayer?




==EDIT==
Nevermind. I finally got it: "mencoder.conf" is the required file name. That was the problem.

Someone should probably just delete this thread...