Quantcast Mencoder: Mencoder for Windows - Page 5 - digitalFAQ.com Forums [Archives]
  #81  
02-16-2004, 05:58 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
@ vmes,

Quote:
@vhelp
Nice you found out about a config file, even for WinXP users, editing the command-line
can be very confusing sometimes! It's also great to know you're writing a GUI.
Yes my friend, my goal.. is to create in interface similar to TMPG
But, right now, it looks like Mr McGoo (spelling)

-vhelp
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #82  
02-16-2004, 06:01 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Agree with most of your post VM.
But where did you come up with that beautifull codec.conf file of yours?
I've browsed the whole internet looking for it as we may find more needed files next to it but I really can't find it...
Like that font file that vhelp mentioned.
I also agree with him where "the lesser the trash on screen the better".
Thanks and C ya
__________________
Rui
Reply With Quote
  #83  
02-16-2004, 06:07 PM
Hydeus Hydeus is offline
Free Member
 
Join Date: Dec 2003
Location: Omicron Persei 8
Posts: 322
Thanks: 0
Thanked 0 Times in 0 Posts
@Vmesquita
Probably you're right, but I've read (I somewhere in doom9) that lates ffvfw build is very alpha/beta/gama/delta/night-build and was not optimised for speed, also few bugs included for free

@vhlep
Create subfolder \mencoder\mplayer\font and create in it empty file font.desc. But this still produces two lines in cmd window, reporting succes of find, and zera data
__________________
Go for SECAM =)
Reply With Quote
  #84  
02-16-2004, 06:11 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
Update guys...

I did some more "what if's" and now the line looks like thus:


Next, we have the following INI script that I'm working on:

Filename: men.ini

Quote:
lavcopts:vcodec=mpeg2video:mbd=1:vqscale=3:vrc_min rate=64:vrc_maxrate=5000:vrc_buf_size=1835:keyint= 250:vlelim=-4:vcelim=7:aspect=4/3:vmax_b_frames=1:
ofps=23.976
o=5.m2v
Now, when you run the BAT script inside a DOS window, this is what you'll
get if all goes well (substitute your .AVI source file)

The above works, and no more error message as previously demonstrated.

Here is the new DOS screen (similar to prev one)

Quote:
MEncoder 1.0pre3-3.2.3 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino 1467 MHz (Family: 6,
Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading H:/MENCODER/mplayer/codecs.conf: 61 audio & 170 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file H:/MENCODER/mplayer/mencoder: No such file or directory
Reading config file h:\mencoder\men.ini
font: can't open file: H:/MENCODER/mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
success: format: 0 data: 0x0 - 0x496F000
AVI file format detected.
AVI_NI: No audio stream found -> no sound.
AVI: No audio stream found -> no sound.
VIDEO: [HFYU] 720x480 24bpp 23.976 fps 68684.2 kbps (8384.3 kbyte/s)
[V] filefmt:3 fourcc:0x55594648 size:720x480 fps:23.98 ftime:=0.0417

No video encoder (-ovc) selected. Select one (see -ovc help).
Exiting...
...
mencoder is Finished !!
Press any key to continue . . .
Do I have everything correctly layout for an MPEG-2 encode ??
I ask because this script snip was based on an intial MPEG-1 and I only just
copied it and thanced it to mpeg2video - that's it

We're definately making some headway here
But, I'm really getting bushed and there's no help from any else here
So, I'll do what I can for you all because its for everyone's best interest

-vhelp
Reply With Quote
  #85  
02-16-2004, 06:43 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
Update !! !! !!

Guys, I MIGHT have it

stay tuned

FWIW.. the last hurdle w/ the (-ovc) error. It's looking for the encoder

-vhelp
Reply With Quote
  #86  
02-16-2004, 06:48 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Hang in there buddy. I can only try your way tomorrow.
You see I've been messing with the vrc_minrate&vrc_maxrate and the vqmin&vqmax to see if we can have a "average" quality mode between 3 and 5 or something.
We have to be able to constrain the bitrate a bit otherwise we'll end up with a super encoder, super GUI, super encoded video, but that is out of DVD specs and is not playable at all.
Anyway you haven't told me if you tested the ReactOS command.com.
I tried it today at work and I liked it so much that I'll start using it on the company's laptop that is running W98SE since it's a Celeron 300 with only 64Mb
Really neat features in ReactOS
And that way everybody could just use a loooong batch file without any problems.
Cheers
__________________
Rui
Reply With Quote
  #87  
02-16-2004, 06:49 PM
Dano Dano is offline
Free Member
 
Join Date: Apr 2003
Location: Brockton, MA
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
Hi VHelp,

A couple of suggestions, change vrc_minrate to at least 300, keyint to 18 and maybe vmax_b_frames to 2.
__________________
-Dano
Reply With Quote
  #88  
02-16-2004, 07:00 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
@ rds,

I scrapped ReactOS because I thought it was a TSR. TSR's require a user
intervention, and you can't close those down from a shell - not w/out having
a "leak".

Is this a TSR app ??
You can tell, because when you exit your DOS window, an TSR screen will
pop, asking you to press Ctrl+C to finally leave it.

If not, I'll give it a try What is required to install this.. where and how ?
-vhelp
Reply With Quote
  #89  
02-16-2004, 07:07 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Hi vhelp,
Also download and try this ReactOS that is a substitute for the command.com that is brought on Win98/ME.
ReactOS shell
Here is the site hosting the file with some explanation ReactOS site
Hope it helps
C ya

Note:sorry for double posting
And it's not a TSR. You can exit it with a simple "exit" command or by closing it's window. Give it a shot. I'm pretty sure it won't let u down.
Edit: just copy the exe file to your folder of choice (best where mencoder exe is located and rename it to Cmd.exe.
Double click it "Et voilá":nice windows 2000 like shell
Cheers
__________________
Rui
Reply With Quote
  #90  
02-16-2004, 07:20 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
@ rds,

ut-oooo. looks like reactOS does not accept initial params. Looks like it
won't work

My delphi app can call it up, but when I pass it a simple param string (below)
only a dos window pops up.

Quote:
s:=od1.FileName;
s:='h:command.com ' + od1.filename;
WinExec(StrPlCopy(pc,s,4096),SW_ShowNormal);
** Note, I renamed the .exe to "command.com"
** Note 2, the od1.filename is my .BAT file.

I'm totally stumped !!
-vhelp
Reply With Quote
  #91  
02-16-2004, 07:22 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Hey,
Where are Karl, Inc., Phil, Razor, Krassi these days?
These guys can really twist encoder options.
I sure would like to have them around so we could try something.
It seams that ffvfw problem got everybody on the downside...
But that's just temporary guys.
If we can't do it with ffvfw or mencoder, heck we'll find something even better, faster and predictable.
We were born to put 3 seasons of the simpsons on one zip drive like SansGrip said
Come on guys, cheer up.
C ya
__________________
Rui
Reply With Quote
  #92  
02-16-2004, 07:24 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
@ rds,

I revised my post above yours.
-vhelp
Reply With Quote
  #93  
02-16-2004, 07:25 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Code:
s:=od1.FileName; 
s:='h:command.com ' + od1.filename; 
WinExec(StrPlCopy(pc,s,4096),SW_ShowNormal);

Man I really don't know what that means...
You could be right.
Anyway the docs say we have to rename it to Cmd.exe specifically.
Else we better discard it
C ya
__________________
Rui
Reply With Quote
  #94  
02-16-2004, 07:29 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
ok, will do. CMD.EXE it is
-vhelp
Reply With Quote
  #95  
02-16-2004, 07:30 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Aaaannnndddd, does it work now???
__________________
Rui
Reply With Quote
  #96  
02-16-2004, 07:51 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
So far, when I call CMD.EXE and my param string, the only thing that
happens, is that a DOS window pops upon and a screen full of CMD's nonsense

I'm still working on trying to get CMD to accept parameter string ie,

CMD h:\mencoder\mencoder.exe

Just doesn't want to happen. Perhaps CMD does not have param capabilities ??

-vhelp
Reply With Quote
  #97  
02-16-2004, 08:10 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
Ok, here is (hopefully) the last place that I'm having trouble with. Because
I'm not familiar w/ mencoder's params and MPEG1 or MPEG2 intricicies, I
am flying blindly w/ errors. So, please guide me a little, with the proper
MEPG-2 settings

It looks like my mpeg2video is in error somewheres. Perhaps its a mixture
of mpeg1 and mpeg2. I don't know. But, I'm asking for an MPEG-2 specific
set of param strings.

Quote:
Cannot find codec 'mpeg2video:mbd=1:vqscale=3:vrc_minrate=64:vrc_max rate=5000:vr
c_buf_size=1835:keyint=250:vlelim=-4:vcelim=7:aspect=4/3:vmax_b_frames=1:' in li
bavcodec...
Couldn't open video filter 'lavc'.
Failed to open the encoder.
Exiting...
Any help would be much appreciated,
-vhelp
Reply With Quote
  #98  
02-16-2004, 09:30 PM
Amenophis Amenophis is offline
Free Member
 
Join Date: Feb 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
the parameters seems to be ok, but if you have not changed the commandline (or ini) you mentioned some posts ago, this could be the reason:

Quote:
Originally Posted by vhelp

Filename: men.ini

Quote:
lavcopts:vcodec=mpeg2video:mbd=1:vqscale=3:vrc_min rate=64:vrc_maxrate=5000:vrc_buf_size=1835:keyint= 250:vlelim=-4:vcelim=7:aspect=4/3:vmax_b_frames=1:
ofps=23.976
o=5.m2v
the syntax of something like this would be better:

Quote:
-of mpeg -ovc lavc -lavcopts vcodec=mpeg2video:mbd=1:vqscale=3:vrc_minrate=64:v rc_maxrate=5000:vrc_buf_size=1835:keyint=250:vleli m=-4:vcelim=7:aspect=4/3:vmax_b_frames=1
-ofps 23.976 -o 5.m2v
additionally, i would suggest the following settings:

Quote:
-of mpeg -ovc lavc -lavcopts vcodec=mpeg2video:mbd=0:vqscale=3:vrc_minrate=64:v rc_maxrate=5000:vrc_buf_size=1835:keyint=15:vlelim =-4:vcelim=7:aspect=4/3:vmax_b_frames=2
-o 5.m2v
Reply With Quote
  #99  
02-16-2004, 10:15 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
@ Amenophis,

Yes, at first, that is what I did too

But, then I realize, for configuration files, they (the '-') has to be amitted
from the lines. Also, there seems to be a ass-backwards about its format
or syntax. Things don't add up the same, as when you write your command
line params. That's why I've had nothing but trouble w/ this configuration
file (aka, my men.ini file syntax) But, just believe me, the '-' has to be
amitted, and the file (for the most part) has to be line-delemited. I think
it's more stricker, but doesn't make any sense

@ rds,

Sorry chap, CMD.EXE is a bomb. I figured out how to execute it w/ a param
string. Unfortunately, it crashes out w/ Exception Errors

Still, becauase I'm under W98, I truley believe that mencoder does not work
w/ W98 (and probably W98SE/ME too) If it works at all, its only minor or the
simple things, that it can do. But, throw a long and cryptic param string at
it, as in our futile attempts, and it wines like a tight-ass baby

@ rds, I think CMD is ok for minor scripts, but that's about it.

Also to note, until a proper configuration file can be standardized,
or known for its proper syntax, we are looking at a dead horse (us W98/SE/ME)
goe'ers

I might play around w/ it for a little while longer, but that's about it. Also,
because of this, looks like my GUI will freeze for the time being

I'm really pretty pooped now
-vhelp
Reply With Quote
  #100  
02-17-2004, 06:21 AM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by vhelp
@ rds,

Sorry chap, CMD.EXE is a bomb. I figured out how to execute it w/ a param
string. Unfortunately, it crashes out w/ Exception Errors

Still, becauase I'm under W98, I truley believe that mencoder does not work
w/ W98 (and probably W98SE/ME too) If it works at all, its only minor or the
simple things, that it can do. But, throw a long and cryptic param string at
it, as in our futile attempts, and it wines like a tight-ass baby
Gee, sorry that. I'll give it a try today with my laptop running W98 and see if at least I can throw a big command line. Should I experience the same probls we should abandon it.
Quote:
Originally Posted by vhelp
@ rds, I think CMD is ok for minor scripts, but that's about it.

Also to note, until a proper configuration file can be standardized,
or known for its proper syntax, we are looking at a dead horse (us W98/SE/ME)
goe'ers

I might play around w/ it for a little while longer, but that's about it. Also,
because of this, looks like my GUI will freeze for the time being

I'm really pretty pooped now
-vhelp
That's understandable big guy. I just would feel very sad if you had to leave us because of this W98 issue. You are a good programmer and a nice GUI could appear but that can only happen if at least you can use the encoder on your system...
I still remember using your nice GUI for bbmpeg. I still use it once in a while. It's really nice.
I'll keep you updated on my tests tonight.
Cheers and thanks
__________________
Rui
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Mencoder para Windows, último lanzamiento (pre6). Prodater64 Convertir y Codificar Video (Español) 6 12-24-2004 10:26 PM
MeWig - new mencoder GUI for Windows Hydeus Video Encoding and Conversion 8 11-09-2004 10:32 AM
Mencoder para Windows com suporte de scripts Avisynth rds_correia Conversão e Codificação de Vídeo (Português) 3 05-16-2004 06:58 PM
Mencoder process Priority limits in Windows? Jellygoose Video Encoding and Conversion 4 04-30-2004 02:32 AM
MEncoder under Windows 98 / 98SE / ME ? vhelp Video Encoding and Conversion 51 04-29-2004 05:08 AM

Thread Tools



 
All times are GMT -5. The time now is 03:28 AM  —  vBulletin © Jelsoft Enterprises Ltd