Thursday, July 14, 2011

Make all output formats available in Kdenlive

In Kdenlive more often than not I had found that many render options are grayed out. Particularly the flv formats. It would say "unsupported video codec" when the mouse is hovered over each crossed and grayed out item. This means that these codes are unavailable in the system. Most probably all codecs are correctly installed but some are in the restricted section hence not installed by default. For example, the extra codecs. To install them first we have to turn on the "multiverse" and "Medibuntu" repos. See medibuntu.org to find out how to add that repo. (Medibuntu is not needed for what we are going to install now, but add it anyways as it has lot of good useful codecs). Then we can proceed to install all possible extra codecs needed by Kdenlive.

Depending on the system or OS version the following must be installed


libavcodec-extra-52 libavdevice-extra-52 libavfilter-extra-0 libavformat-extra-52 libavutil-extra-49 libpostproc-extra-51 libswscale-extra-0

OR

libavcodec-unstripped-52 libavdevice-unstripped-52 libavfilter-unstripped-0 libavformat-unstripped-52 libavutil-unstripped-49 libpostproc-unstripped-51 libswscale-unstripped-0

To install in Natty just type

sudo apt-get install libavcodec-extra-52 libavdevice-extra-52 libavfilter-extra-0 libavformat-extra-52 libavutil-extra-49 libpostproc-extra-51 libswscale-extra-0

Now restart Kdenlive and goto Settings -> Run config wizard.

The codecs should be available now. If not then restart Kdenlive. If there is still an issue then try closing Kdenlive and then renaming the

./.kde/share/apps/kdenlive          to       ./.kde/share/apps/old-kdenlive
./.kde/share/config/kdenliverc    to       ./.kde/share/config/old-kdenliverc

Restart Kdenlive and run config wizard again. If the codecs are still not available, then have to install ffmpeg, gstreamer-plugins-bad,  etc. afresh. Look into Medibuntu help on how to install the video codecs.

1 comment:

François Chiausa said...

Thanks a lot for your explication.
I am trying to activate the hd264 codec in kdenlive, and I succed reading your explanation.

:-)

OK GOOGLE on Samsung Galaxy S7 doesn’t work

To make Ok Google detection work on Galaxy S7 (Galaxy series phones) we need to perform a couple of steps. 1. As long as Samsung S vo...