1 |
On 03/28/2010 04:02 AM, 7v5w7go9ub0o wrote: |
2 |
> On 03/27/10 21:17, Nikos Chantziaras wrote: |
3 |
>> On 03/28/2010 02:40 AM, 7v5w7go9ub0o wrote: |
4 |
>>> Some ffmpeg-using applications (e.g. mplayer) allow you to pass |
5 |
>>> numbers of threads (e.g. I use 6 on my Core-I7) to ffmpeg; others |
6 |
>>> (e.g. chromium) do not. |
7 |
>> |
8 |
>> First, mplayer uses its own bundled ffmpeg. It doesn't use |
9 |
>> media-video/ffmpeg at all. |
10 |
>> |
11 |
>> Furthermore, this is not what the "threads" USE flag does for |
12 |
>> ffmpeg. |
13 |
> |
14 |
> |
15 |
> |
16 |
> Thank you for replying!!! |
17 |
> |
18 |
> What would you guess the "threads" parameter is for ffmpeg? I've not |
19 |
> found an explanation, and thought it might be the author catching up |
20 |
> with Alexander Strange. |
21 |
> |
22 |
> <http://ffmpeg.org/ffmpeg-doc.html> |
23 |
The "normal" ffmpeg probably (just guessing here) uses threads for |
24 |
asynchronous i/o, buffering etc.. |
25 |
ffmpeg-mt includes a H.264 codec that decodes (and encodes?) HD videos |
26 |
with multiple threads. Maybe there are even more codecs that they have |
27 |
multithreaded, and probably a lot of infrastructure code had to be |
28 |
changed as well. |
29 |
|
30 |
Bye, |
31 |
Daniel |
32 |
|
33 |
|
34 |
>> Those applications that allow you to specify an amount of threads |
35 |
>> assume you're using ffmpeg-mt instead of normal ffmpeg. ffmpeg-mt is |
36 |
>> a fork of ffmpeg and is not in Portage because it's still considered |
37 |
>> non-stable upstream. |
38 |
> |
39 |
>> There's an ebuild in Gentoo Bugzilla for ffmpeg-mt and an mplayer |
40 |
>> that uses ffmpeg-mt as its bundled ffmpeg version. The mt mplayer |
41 |
>> ebuild can also be found in the wirelay overlay (it's in layman.) |
42 |
> |
43 |
> AH! I had switched from bugzilla to the overlay for mplayer (thank you for |
44 |
> providing it); but was unaware that ffmpeg-mt had a separate ebuild. |
45 |
> Where is it, please? |
46 |
> |
47 |
> So the same question, then, for ffmpeg-mt; if I replace ffmpeg with |
48 |
> ffmpeg-mt after setting a default of 6, can you imagine any problems |
49 |
> (other than it is not stable)? |
50 |
> |
51 |
> Thanks for the help! |
52 |
> |
53 |
> |
54 |
|
55 |
|
56 |
-- |
57 |
PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887&op=get |
58 |
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887 |