Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 ASP

Reply
 
Thread Tools Display Modes
Old 5th January 2005, 09:49   #1  |  Link
Buzz Lightyear
to infinity...
 
Buzz Lightyear's Avatar
 
Join Date: Dec 2001
Location: deep space
Posts: 48
XviD and Multi-Processor Systems (SMP)

I searched the forum, but couldn't find any recent threads on the SMP capabilities of XviD.
So here I go:
Does XviD support Multiprocessor Systems? (It doesn't look like it, right now...)
If not, is it planned for future releases?

(Btw, I'm not talking about HT. My brand-new Dual Xeon needs something to do, until I finished my FE models...)
Buzz Lightyear is offline   Reply With Quote
Old 5th January 2005, 14:34   #2  |  Link
708145
Professional Lemming
 
708145's Avatar
 
Join Date: Dec 2003
Location: Stuttgart, Germany
Posts: 357
Well, I'm currently developing ELDER.
A parallEL encoDER for XviD. Look here for current status.

edit 2005-07-08: ELDERchap V1.0RC1 released. http://www.iti.uni-stuttgart.de/~ber...p1.0RC1.tar.gz

bis besser,
T0B1A5
__________________
projects page: ELDER, SmoothD, etc.

Last edited by 708145; 8th July 2005 at 13:54. Reason: ELDERchap V1.0RC1 released
708145 is offline   Reply With Quote
Old 5th January 2005, 20:34   #3  |  Link
mikeX
yakisoooobaaa!!
 
mikeX's Avatar
 
Join Date: Sep 2003
Location: Greece
Posts: 329
AFAIK XviD does not take advantage of SMP (or HT) systems. The only benefit you can have from what I've heard so far, is that you can leave decoding/filtering etc for one CPU and encoding for the other...
The only way you can split encoding on more than one CPU is the way TOB1A5 mentioned, which is btw very similar to transcode's 'cluster mode' (I don't know how that one handles scene changes/chunk borders however)
mikeX is offline   Reply With Quote
Old 7th January 2005, 17:32   #4  |  Link
Buzz Lightyear
to infinity...
 
Buzz Lightyear's Avatar
 
Join Date: Dec 2001
Location: deep space
Posts: 48
Alright. Thanks for the answers!
I guess, SMP for XviD isn't really trivial....
Buzz Lightyear is offline   Reply With Quote
Old 28th January 2005, 13:28   #5  |  Link
Buzz Lightyear
to infinity...
 
Buzz Lightyear's Avatar
 
Join Date: Dec 2001
Location: deep space
Posts: 48
Yesterday I discovered something strange.
I was encoding a movie with Koepis XviD-1.0.3-20122004 build and to my great surprise both (!) CPUs were used! Both at 100%! (Vdubmod had 100% CPU usage)
Is it possible that XviD supports SMP in the end?
I don't undestand that. I like it, but I don't understand it....
Buzz Lightyear is offline   Reply With Quote
Old 28th January 2005, 14:49   #6  |  Link
708145
Professional Lemming
 
708145's Avatar
 
Join Date: Dec 2003
Location: Stuttgart, Germany
Posts: 357
Well, unfortunately SMP code does not materialize randomly and by itself

So my guess is that avisynth used one CPU and xvid the other. If you didn't use avisynth (or other filters for that matter) then I don't know

bis besser,
Tobias
__________________
projects page: ELDER, SmoothD, etc.
708145 is offline   Reply With Quote
Old 28th January 2005, 16:42   #7  |  Link
BigDid
Actually in reserve
 
Join Date: Oct 2004
Posts: 1,603
Quote:
Originally posted by 708145
Well, I'm currently developing ELDER.
A parallEL encoDER for XviD. Look here for current status.

bis besser,
T0B1A5
Hello 708145,

Link down ?

Did
__________________
Having a problem with AutoGK? Read & use the FAQ & MORE FAQ first
Want to exchange on AutoGK? try doom10.org
In reserve (inactive) for an undefined period of time.
BigDid is offline   Reply With Quote
Old 28th January 2005, 17:48   #8  |  Link
708145
Professional Lemming
 
708145's Avatar
 
Join Date: Dec 2003
Location: Stuttgart, Germany
Posts: 357
Quote:
Originally posted by BigDid
Hello 708145,

Link down ?

Did
The server was quite busy. It's resolved now.

bis besser,
Tobias
__________________
projects page: ELDER, SmoothD, etc.
708145 is offline   Reply With Quote
Old 31st January 2005, 14:33   #9  |  Link
Buzz Lightyear
to infinity...
 
Buzz Lightyear's Avatar
 
Join Date: Dec 2001
Location: deep space
Posts: 48
Quote:
Originally posted by 708145
Well, unfortunately SMP code does not materialize randomly and by itself
Well... that's too bad!
Quote:

So my guess is that avisynth used one CPU and xvid the other. If you didn't use avisynth (or other filters for that matter) then I don't know
My mistake. I should have written that I use GordianKnot to setup my encodes. So that means that you're probably right with XviD + Avysynth. I'll check that...

EDIT1:
...looks like you're right. I've set up a new encode with different setting, and now CPU1 is at 100% and CPU2 is at 40%. So my previous results (both CPUs at ~100%) was purely coincidental.

EDIT2:
What the h***? At around 85% of pass 1, suddenly CPU2 jumped to ~100%, too! And for pass 2, both CPUs are constantly at ~80-100%! I don't understand that....

Last edited by Buzz Lightyear; 1st February 2005 at 14:47.
Buzz Lightyear is offline   Reply With Quote
Old 2nd April 2005, 19:51   #10  |  Link
tdsfan
Registered User
 
Join Date: Mar 2005
Posts: 7
How far along are you with ELDER? Is there anything to download?
tdsfan is offline   Reply With Quote
Old 3rd April 2005, 02:50   #11  |  Link
tdsfan
Registered User
 
Join Date: Mar 2005
Posts: 7
I just found this page, it mentions you can compile xvid for smp, is this true??

http://www.discdude.net/xvid/compile.html
tdsfan is offline   Reply With Quote
Old 11th April 2005, 16:24   #12  |  Link
708145
Professional Lemming
 
708145's Avatar
 
Join Date: Dec 2003
Location: Stuttgart, Germany
Posts: 357
Quote:
Originally posted by tdsfan
How far along are you with ELDER? Is there anything to download?
Well, I've been in holidays for 5 weeks and just returned yesterday. Lots of work was piling up here, so => It will take some time till I can have a look at it.

Just bug me often enough, it helps for motivation and "finding" time.

bis besser,
T0B1A5
__________________
projects page: ELDER, SmoothD, etc.
708145 is offline   Reply With Quote
Old 11th April 2005, 17:04   #13  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,245
im bugging you...
Sharktooth is offline   Reply With Quote
Old 13th April 2005, 03:36   #14  |  Link
Ice =A=
Registered User
 
Join Date: Jan 2004
Location: Heidelberg, Germany
Posts: 150
I'm bugging you, too...

@Buzz Lightyear:
Any new insights on your case?
Ice =A= is offline   Reply With Quote
Old 13th April 2005, 04:22   #15  |  Link
Shinigami-Sama
Solaris: burnt by the Sun
 
Shinigami-Sama's Avatar
 
Join Date: Oct 2004
Location: /etc/default/moo
Posts: 1,932
I'll ginf hte heard I guess
BAAAAAA~
I wish I knew how to help I realy do..
__________________
Quote:
Originally Posted by benjust View Post
interlacing and telecining should have been but a memory long ago.. unfortunately still just another bizarre weapon in the industries war on image quality.
Shinigami-Sama is offline   Reply With Quote
Old 22nd April 2005, 17:51   #16  |  Link
708145
Professional Lemming
 
708145's Avatar
 
Join Date: Dec 2003
Location: Stuttgart, Germany
Posts: 357
Just a small question for all the ELDER-lovers in here:

Which platforms do you use? I guess mainly Win32(maybe HT or SMP).
If so, I'll implement the Win32 version first.
*hint* I have some free time tomorrow. *hint*

bis besser,
Tobias
__________________
projects page: ELDER, SmoothD, etc.
708145 is offline   Reply With Quote
Old 22nd April 2005, 19:24   #17  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,245
Win32, linux and BSD... but mainly Win32.
Sharktooth is offline   Reply With Quote
Old 22nd April 2005, 20:01   #18  |  Link
Shinigami-Sama
Solaris: burnt by the Sun
 
Shinigami-Sama's Avatar
 
Join Date: Oct 2004
Location: /etc/default/moo
Posts: 1,932
win 32
lunix when I get a second pc maybe
__________________
Quote:
Originally Posted by benjust View Post
interlacing and telecining should have been but a memory long ago.. unfortunately still just another bizarre weapon in the industries war on image quality.
Shinigami-Sama is offline   Reply With Quote
Old 12th May 2005, 17:55   #19  |  Link
Buzz Lightyear
to infinity...
 
Buzz Lightyear's Avatar
 
Join Date: Dec 2001
Location: deep space
Posts: 48
@Ice =A=:
I haven't had time to look closer into that, but I think that 708145 is right and that XviD uses one CPU and Avisynth the other.
That's not "real SMP" but I don't care. There are 2 processes (XviD and Avisynth) and 2 CPUs and it's damn fast, so why bother?

@708145:
auch ein www.nichtlustig.de Fan, wie ich sehe
Buzz Lightyear is offline   Reply With Quote
Old 16th May 2005, 16:49   #20  |  Link
movmasty
Registered User
 
Join Date: Feb 2002
Posts: 815
Quote:
Originally posted by Buzz Lightyear
EDIT1:
...looks like you're right. I've set up a new encode with different setting, and now CPU1 is at 100% and CPU2 is at 40%. So my previous results (both CPUs at ~100%) was purely coincidental.

EDIT2:
What the h***? At around 85% of pass 1, suddenly CPU2 jumped to ~100%, too! And for pass 2, both CPUs are constantly at ~80-100%! I don't understand that....
Tell us about frame rate please...
movmasty is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT +1. The time now is 09:26.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.