Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Alternative Computing > Linux Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Linux Support Linux - Operating Systems and Applications Support

Reply
 
LinkBack Thread Tools
Old 12-28-2007, 03:21 AM   #1 (permalink)
Registered User
 
Join Date: Dec 2007
Posts: 3
OS: Vista Home Premium


ultra slow xvid encoding with mencoder

Hello,
I think mencoder is encoding video unusually slow. I'm in the process of digitalising some of the DVD's I bought, so firstly I ripped the movie to the hard drive using mplayer and redirecting the output to a file.

Then I am running the following command.

mencoder movie.vob -oac mp3lame -lameopts abr:br=128 -ovc xvid -xvidencopts bitrate=900 -o movie.avi

This is encoding at around 8fps.

I have a Core 2 duo E6850 (3.0GHz) and 4GB of DDR800 ram. I am running gentoo amd64.

Granted that xvid is probably only using one of the cores, 8fps seems extrordinarily slow to me. I've never encoded under linux before but I thought my old P4 3.2Ghz used to encode at around 30-40fps under windows.

Can anyone shed some light on the problem.

Thanks
mrpringle is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 01-01-2008, 06:22 AM   #2 (permalink)
Registered User
 
hal8000's Avatar
 
Join Date: Dec 2006
Location: UK
Posts: 229
OS: PCLinux2009/Ubuntu/XP


Re: ultra slow xvid encoding with mencoder

Thats an awesome machine spec!

8fps does seem pretty slow are you using one pass or two pass encoding?

There is a howto on the gentoo wiki:

http://gentoo-wiki.com/HOWTO_Mencode...coding_Options

to save you typing the same options everytime you can setup a mencoder.conf file.

Other clues I would look for is the output of /var/log/messages, use either gkrelllm, qps or top to see the actual CPU usage, you may be able to renice the process for higher piority.

Hope that helps.
hal8000 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-01-2008, 03:41 PM   #3 (permalink)
Registered User
 
Join Date: Dec 2007
Posts: 3
OS: Vista Home Premium


Re: ultra slow xvid encoding with mencoder

Thanks for the post, but I was already using the examples from the gentoo mencoder howto wiki.
I'll check /var/log/messges, but top shows about 50% CPU utilisation.

I've tried one pass and two pass encoding, but it doesn't make much of a difference.

I've also tried H.264 which encodes the same video at about ~25fps, compared to ~8fps for xvid.
mrpringle is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 10:49 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85