amikey / winff

Automatically exported from code.google.com/p/winff
0 stars 0 forks source link

No means to specify how many threads to start #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There doesn't seem to be any way to configure the number of threads being
run.  Though there is a checkbox for dualcore processors, though no means
to tell WinFF how many threads ffmpeg should be running.

Otherwise this is amazing software!

What steps will reproduce the problem?

N/A

What is the expected output? What do you see instead?

I would like some means of specifying how many processors my machine has. 
Currently I'm only using 2/8 processors since it seems that this is
hardcoded into WinFF (and hence being passed on to ffmpeg).  At the moment
I'm only getting a quarter of the performance I would expect.

What version of the product are you using? On what operating system?

0.42 Windows 2003

Please provide any additional information below.

N/A

Original issue reported on code.google.com by r...@keynetworks.co.uk on 17 Oct 2008 at 3:37

GoogleCodeExporter commented 9 years ago
it's an ffmpeg limitation. There is only "-threads 2". And that's it.

Original comment by bgg...@gmail.com on 18 Oct 2008 at 12:17

GoogleCodeExporter commented 9 years ago
Actually, it seems that it is possible to run ffmpeg with -threads 4 and with
-threads 8 also.  See this thread -
http://ubuntuforums.org/archive/index.php/t-783185.html

Original comment by r...@keynetworks.co.uk on 29 Nov 2008 at 1:06

GoogleCodeExporter commented 9 years ago
Apparently, according to the mail-list at ffmpeg upstream [1], ffmpeg can use 
as many
threads as you want, but this requires that the video codec that you select has
multithreading capabilities. For example in H.264 decoder you can
decode with multiple threads if the input video has slices. Also ffmpeg needs
threading compiled in, but it already needs that for 2 threads.

[1] https://lists.mplayerhq.hu/pipermail/ffmpeg-user/2008-February/014256.html

Original comment by poipodec...@hotmail.com on 6 Jul 2009 at 9:01

GoogleCodeExporter commented 9 years ago
Yes they have finally upgraded it. They went to -threads auto, which didn't 
work at
all and then they went back to -threads 2 only. Now it can be specified, but 
still
not all codecs support multithread yet. I will add it in the preferences in the 
next
version or two.

Original comment by bgg...@gmail.com on 2 Aug 2009 at 9:07

GoogleCodeExporter commented 9 years ago
The libx264 encoder allows you to use "-threads 0".  This will automatically 
select
the appropriate number of threads.  Other encoders that support threads need 
the user
to specify the number of threads.

Original comment by hungryhu...@gmail.com on 29 Sep 2009 at 6:08

GoogleCodeExporter commented 9 years ago
added a edit box to specify number of threads. Will come out with next release

Original comment by bgg...@gmail.com on 18 Dec 2009 at 1:30