The simple solution to worrying about the need to optimise the code for your cpu is to look at the output from top. (I am actually interested in seeing the %CPU each of your processes take up.)
Are both your CPUs fully loaded? Yes - multi threading is not needed but you could always optimise the heaviest hitting process to increase FPS. And then the next heaviest etc etc. No - The heaviest hitting process is causing the bottle neck. Look at optimising this process to better utilise your machine, multithreading may help. There is no point optimising the low %CPU processes if this is the case. Mark On 14/11/2010, at 11:15 AM, E Chalaron wrote: > Hello all > Just a quick question : using mjpegtools through ffmpeg piping. > are they (or not) multi threaded ? > > ffmpeg -threads 2 -y -i - -f yuv4mpegpipe - | \ > yuvdenoise -t 2,8,8 -m 2,8,8 | > y4munsharp |\ > ffmpeg -y -threads 2 -i - -b 220000k -vcodec dnxhd -threads 2 $fichier > > On (for say) a dual core (AMD or Intel) the gkrellm histogram shows a > smaller activity on 1 core then alternates to the other core from time > to time. > > > Thanks a lot > Edouard > > ------------------------------------------------------------------------------ > Centralized Desktop Delivery: Dell and VMware Reference Architecture > Simplifying enterprise desktop deployment and management using > Dell EqualLogic storage and VMware View: A highly scalable, end-to-end > client virtualization framework. Read more! > http://p.sf.net/sfu/dell-eql-dev2dev > _______________________________________________ > Mjpeg-users mailing list > Mjpeg-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mjpeg-users ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users