-   Linux - Software (
-   -   MEncoder: Whats wrong with this command? (

flamesrock 07-15-2004 05:46 PM

MEncoder: Whats wrong with this command?

mencoder -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video 'video.avi' -oac output.mpg
which returns this:


MEncoder 1.0pre4-3.3.3 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium 4/Xeon/Celeron Foster 2400 MHz (Family: 8, Stepping: 4)
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 /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 66 audio & 176 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /root/.mplayer/mencoder: No such file or directory
Option oac: Unknown suboption output.mpg
Exiting... (error parsing cmdline)

Any ideas?


flamesrock 07-15-2004 07:03 PM

Ok, I figured it out (see below, fellow newbies), but have a few more questions:

1) It looks like I've lost some information in the resultant 'mpg'. Is there any way to retain all or most of it?
2) Will my DVD player accept any other codecs other than mpeg1? For example, could I use DivX5 or something else (anything that could make higher quality video?)


mencoder -of mpeg -oac copy -ovc lavc -lavcopts vcodec=mpeg1video '/file/video.avi' -o output.mpg

All times are GMT -5. The time now is 08:31 PM.