Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-15-2004, 05:46 PM   #1
Registered: Aug 2003
Distribution: Gentoo 2006.1
Posts: 405

Rep: Reputation: 30
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?

Old 07-15-2004, 07:03 PM   #2
Registered: Aug 2003
Distribution: Gentoo 2006.1
Posts: 405

Original Poster
Rep: Reputation: 30
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mencoder command in C salahuddin_66 Programming 1 10-18-2005 10:18 AM
Mondrian OLAP+JAVA: whats wrong with my command line? zakidad Programming 4 06-14-2005 03:40 AM
mencoder: DVD to avi. What did I do wrong? J_Szucs Linux - Software 10 04-12-2004 03:22 PM
mencoder ripping wrong audio Gill Bates Linux - Software 4 01-08-2004 10:25 AM
Whats wrong with this? OlRoy Programming 2 05-28-2003 01:21 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration