This forum has been archived. All content is frozen. Please use KDE Discuss instead.

ffmpeg-mt (multithreading)

Tags: None
(comma "," separated)
kgoerbig
Registered Member
Posts
4
Karma
0

ffmpeg-mt (multithreading)

Fri Apr 01, 2011 1:04 am
I'm using ubuntu 10.04, but this should be simular for other distros. ffmpeg has a multithread version out. Speeds up encoding 2-4x faster if using a dual, triple, or quad cpu. Here is what I did:

git clone git://git.libav.org/libav.git
cd libav
./configure
make

git clone git://gitorious.org/~astrange/ffmpeg/ffmpeg-mt.git

cd ffmpeg*

./configure --enable-nonfree --disable-stripping --enable-avfilter --enable-version3 --enable-shared --enable-gpl --enable-libfaac --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-x11grab --enable-libx264 --enable-libtheora --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libopencore-amrnb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab

make


Run the kdenlive Config Wizard
jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: ffmpeg-mt (multithreading)

Fri Apr 01, 2011 7:34 am
From ffmpeg homepage:
Seems like FFmpeg-mt is now part of the official FFmpeg branch.

<== quote
March 21, 2011 Today FFmpeg-mt, the multithreaded decoding branch, has been merged into FFmpeg. This has been a long awaited merge, and we would like to thank Alexander Strange for his patience and hard work.
==>

There was attempt to fork ffmpeg these last days.
The main team accepted ffmpeg-mt two days later.
Maybe it is related :)

The acceptance of the mt patch as a great enhancement for the future.
It could open the door to other developments like CUDA or the like.

Great.
sicomoro
Registered Member
Posts
36
Karma
0

Re: ffmpeg-mt (multithreading)

Fri Apr 01, 2011 3:16 pm
Hi. how are you?

That means that building from latest libav git repository there is no need to build ffmpeg-mt?

How can I know if ffmpeg it's transcoding with multiple cores?

Thanks
drosky
Registered Member
Posts
56
Karma
0

Re: ffmpeg-mt (multithreading)

Sun Apr 03, 2011 3:21 am
You should be able to tell by running top in a command shell.

Dave


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient