Help - Search - Members - Calendar
Full Version: Plugin Req: SMP (sort of) CLI encoding
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Monster fUnC
Let me start out by pleading noob-ness. I'm a first-time user here, so don't slay me completely. tongue.gif

Well, I'll cut to the bone right away. I have been wondering if it would be possible to add "fake" SMP-support to the CLI-encoder (or pretty much any diskwriter-plugin available). Instead of just using one session of Lame (for instance) at a time, it could double it, so that SMP-enabled systems can encode two files at once. Then an option to enable 4 instances could be added too.

I don't know if this sounds realistic at all, or if there's a demand for this (I seriously doubt it) but I just thought that it seemed like a relatively small addition. I could be wrong, but it doesn't seem as if it takes tons of coding to make a feature like that.

Thank you for your time.

Peace.
Gnerma
Welcome to the forums Monster fUnC.

Being the proud owner of a dual I try to find and use multi-threaded apps as often as possible. And if apps are not multi-threaded, I look for a way to cheat (i'm sure you're the same way). You can cheat with foobar conversion/encoding and replaygain scanning. Just select half the files --> convert. Then select the other half and --> convert. Each conversion runs in its own thread so all your CPU power is used.

I've found that most any programmer would sooner write most any other feature than SMP related stuff such as this. Believe me, I ask all the time rolleyes.gif
Monster fUnC
Thank you!

Ahh, yes, that's indeed a simple cheat, but I guess it'll work out quite alright. Thanks for pointing it out ( although I'm currently in the process of kicking myself because I didn't get that idea myself blink.gif )
I've been in the search for SMP-enabled encoders for various formats (mainly because it's fun to use the entire power of the system - not really because I *need* it) and I've had to revert to the good old 2x technique (running every app twice at the same time).

Again, thank you for pointing it out.
It's also my experience that developers don't exactly loooove SMP-features, and that might be why there are so few SMP-enabled apps out there, but with the 2x technique (which is a name I've invented myself) it'll work out in many cases.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.