Kdenlive/Manual/Installation/zh-tw: Difference between revisions

From KDE UserBase Wiki
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 29: Line 29:
The switch between 0.9.10 and 15.04.0 is quite major with respect to the development work required.  Testing of the new 15.04.0 version has been limited.  For critical work I would recommend '''not''' upgrading to 15.04.0 unless you have a good backout strategy. It seems that the standard 15.04 Ubuntu repositories have a version 0.9.10 of '''Kdenlive''' running against KDE Frameworks 4 so you might be able to back out from 15.04.x to  0.9.10 by purging the ppa version of '''Kdenlive''' and re-installing the one in the standard repos.  
The switch between 0.9.10 and 15.04.0 is quite major with respect to the development work required.  Testing of the new 15.04.0 version has been limited.  For critical work I would recommend '''not''' upgrading to 15.04.0 unless you have a good backout strategy. It seems that the standard 15.04 Ubuntu repositories have a version 0.9.10 of '''Kdenlive''' running against KDE Frameworks 4 so you might be able to back out from 15.04.x to  0.9.10 by purging the ppa version of '''Kdenlive''' and re-installing the one in the standard repos.  


<span class="mw-translate-fuzzy">
==== Debian ====
==== Debian, Ubuntu 和延伸的版本 ====
</span>


''Debian'' 專案  從 "squeeze" (6.0) 版開始搭載 '''Kdenlive''' , 可是如果想要得到最新的更新和修正您還是要考慮一下升級到 "testing" 版或 "sid".
''Debian'' 專案  從 "squeeze" (6.0) 版開始搭載 '''Kdenlive''' , 可是如果想要得到最新的更新和修正您還是要考慮一下升級到 "testing" 版或 "sid".
Line 39: Line 37:
Sunab's PPA (see below) is not recommended for Debian because ''Debian uses a different lib layout for multiarch'' (reference: this [https://forum.kde.org/viewtopic.php?f=269&t=123425#p322708 post] from vpinon).
Sunab's PPA (see below) is not recommended for Debian because ''Debian uses a different lib layout for multiarch'' (reference: this [https://forum.kde.org/viewtopic.php?f=269&t=123425#p322708 post] from vpinon).


<span class="mw-translate-fuzzy">
==== Ubuntu and derivatives ====
''Ubuntu'' 也從 從"gutsy" (7.10)開始提供 '''Kdenlive''', 基於相同的理由最好是升級到最新的 釋出版比較好.
''Ubuntu'' also has offered '''Kdenlive''' since "gutsy" (7.10). However, to benefit from recent updates and bugfixes, you should consider upgrading to the latest release.
</span>


Sunab offers a stable release of Kdenlive (KF 5 version 15.04.x) from [https://launchpad.net/~sunab/+archive/kdenlive-release this] PPA.
[https://launchpad.net/~kdenlive/+archive/ubuntu/kdenlive-master ppa:kdenlive/kdenlive-master] is the development branch, with the very latest features additions.
 
[https://launchpad.net/~kdenlive/+archive/ubuntu/kdenlive-testing ppa:kdenlive/kdenlive-testing] is the feature-frozen branch, starting from the first beta, with bugfix updates as soon as solutions are found
 
[https://launchpad.net/~kdenlive/+archive/ubuntu/kdenlive-stable ppa:kdenlive/kdenlive-stable] is the last robust official release
 
Sunab offers a stable release of Kdenlive (version 15.12.1 as at 2nd March 2016) from [https://launchpad.net/~sunab/+archive/kdenlive-release this] PPA.


He maintains a ppa with the previous release  [https://launchpad.net/~sunab/+archive/ubuntu/kdenlive-release-old here]. As at June 2015 it has the ver 0.9.10 of '''Kdenlive''' , 1.4.0 of Frei0r and 0.9.3 of melt
He maintains a ppa with the previous release  [https://launchpad.net/~sunab/+archive/ubuntu/kdenlive-release-old here]. As at June 2015 it has the ver 0.9.10 of '''Kdenlive''' , 1.4.0 of Frei0r and 0.9.3 of melt
Line 65: Line 68:
==== Fedora, RedHat 和延伸的版本 ====
==== Fedora, RedHat 和延伸的版本 ====


<span class="mw-translate-fuzzy">
RPM packages are not yet maintained in an official branch, so you must go through an unofficial repository such as [http://rpmfusion.org/ RPM Fusion] or [http://packman.links2linux.de/package/kdenlive packman] (Has ver 15.12.0 29 Dec 2015). Follow the site's recommendations to make them available and end with <code>yum install kdenlive</code>.
RPM 套件目前並不在正式的發行版維護, 所以你須到非正式的套件倉庫裏去找,如 [http://rpmfusion.org/ RPM Fusion] 或是 [http://packman.links2linux.de/package/kdenlive packman]. 依照這些網站的建議去取得
然後輸入指令 <code>yum install kdenlive</code>
</span>


==== Gentoo, Arch, BSD ports ====
==== Gentoo, Arch, BSD ports ====
Line 76: Line 76:
==== Windows ====
==== Windows ====


<span class="mw-translate-fuzzy">
There is no native Windows version of '''Kdenlive''' yet. However, you can use some virtualized [[Special:myLanguage/What_is_a_distribution|Linux distribution]] to run '''Kdenlive''' on '''Windows'''. Some advice can be found on [http://www.kdenlive.org/forum/kdenlive-windows this page].
目前沒有'''Kdenlive''' 的原生Windows 版本。然而你可使用一些虛擬化技術
[[Special:myLanguage/What_is_a_distribution|Linux distribution]] 即可在  '''Windows'''執行 '''Kdenlive'''. [http://www.kdenlive.org/forum/kdenlive-windows this page]這裏可以找到一些忠告.
</span>


There is also the [http://sourceforge.net/projects/kdenlive-on-win/ kdenlive on win] project on SourceForge which "consists of an Ubuntu VirtualBox image that is preconfigured to run '''Kdenlive'''". The project was last updated 2012-08-09.
There is also the [http://sourceforge.net/projects/kdenlive-on-win/ kdenlive on win] project on SourceForge which "consists of an Ubuntu VirtualBox image that is preconfigured to run '''Kdenlive'''". The project was last updated 2012-08-09.
Line 87: Line 84:
'''Kdenlive''' 和 '''MLT''' 可在在 Mac OS X之上編譯及執行. 套件可以在 [http://www.macports.org/ MacPorts] 專案取得.
'''Kdenlive''' 和 '''MLT''' 可在在 Mac OS X之上編譯及執行. 套件可以在 [http://www.macports.org/ MacPorts] 專案取得.


<span class="mw-translate-fuzzy">
MacPorts is a source-based system &mdash; there is not a binary app bundle for '''Kdenlive'''. Therefore, '''Kdenlive''' and all of its numerous dependencies, including multimedia libraries, KDE, and Qt, must be compiled. This can take a long time and much disk space! Furthermore, it is not unusual for something not to build correctly; it is definitely not something for the novice, impatient, or "faint of heart".
MacPorts 是源碼為主(source-based )的系統- 那裏沒有Kdenlive的二進位程式打包. 因此 '''Kdenlive''' 和它數量龐大的相依套件,如多媒體庫,KDE, Qt 都必須編譯過. 這過程會發很長的時間及佔用很多磁碟空間! 更麻煩的是, 一些套件沒有正確的建構是蠻常見的; 對初學者來說不是簡單的任務,過程會令人不耐煩或灰心 "faint of heart."
</span>


更多細節可參閱 [http://www.kdenlive.org/user-manual/downloading-and-installing-kdenlive/pre-compiled-packages/mac-os-x-packages-macports this]
更多細節可參閱 [http://www.kdenlive.org/user-manual/downloading-and-installing-kdenlive/pre-compiled-packages/mac-os-x-packages-macports this]
Line 101: Line 96:
您可以使用您發行版的套件建構程序來配合軟件管理系統處理安裝/升級/移除(install/upgrade/remove) 二進位檔和資料, 最後分享你的建構檔 (或貢獻給套件維護 - 請分別參考各發行版的使用手冊).
您可以使用您發行版的套件建構程序來配合軟件管理系統處理安裝/升級/移除(install/upgrade/remove) 二進位檔和資料, 最後分享你的建構檔 (或貢獻給套件維護 - 請分別參考各發行版的使用手冊).


<span class="mw-translate-fuzzy">
If you prefer you can build & install '''Kdenlive''' to a local area (preferably not <tt>/usr</tt>, but rather <tt>/usr/local</tt> or <tt>$HOME/my_local_builds/kdenlive-last-release</tt> or similar).
假如您偏愛自行建構和安裝 '''Kdenlive''' 到你的本機 (不喜歡在 <tt>/usr</tt>, 比較偏好在 <tt>/usr/local</tt> <tt>$HOME/my_local_builds/kdenlive-last-release</tt> 或其他位置).
You could try using  [https://community.kde.org/Kdenlive/Development/KF5#A_build_script  this] build script to build the latest version from the sources. Or you could use the [http://www.mltframework.org/twiki/bin/view/MLT/BuildScripts#Kdenlive this] build script to build kdenlive ver 0.9.10 <ref>on distributions older than ''Debian 6'' or ''Ubuntu 10.04'' and derivatives, you need to set <code>ENABLE_SWFDEC=0</code> in the config variables of the script. Modify the INSTALL_DIR in the script to  something like <code>INSTALL_DIR="$HOME/my_local_builds/kdenlive-last-release"</code> to make it match where you want this local build to install. </ref> (Follow the instructions under "show kdenlive". These instructions will build '''Kdenlive''' and its dependancies [e.g. melt, ffmpeg] in a "sandbox").
特例推薦使用[http://www.mltframework.org/twiki/bin/view/MLT/BuildScripts#Kdenlive build script] 腳本<ref>若是您的發行版比 ''Debian 6'' ''Ubuntu 10.04'' 及延伸版還舊, 你必須把腳本裏的設定變數設成 <code>ENABLE_SWFDEC=0</code> </ref>
</span>


<span id ="nstalling from Sunab's PPA"></span>
<span id ="nstalling from Sunab's PPA"></span>


<span class="mw-translate-fuzzy">
===Installing from Sunab's PPA ===
===從Sunabs PPA安裝 ===
Olivier Banus (AKA Sunab) provides a personal package archive (PPA) of the latest '''development''' trees of Frei0r-plugins, MLT and '''Kdenlive'''. For details on how to install '''Kdenlive''' using this bleeding edge source see [https://launchpad.net/~sunab/+archive/kdenlive-svn launchpad.net - kdenlive-git (unstable).Testing only! ]
Olivier Banus (AKA Sunab) 提供了個人的套件倉庫(PPA)給最新的開發樹使用如Frei0r-plugins, MLT and '''Kdenlive'''. 如何使用這個來源來安裝 Kdenlive 可參閱[https://launchpad.net/~sunab/+archive/kdenlive-svn launchpad.net]
</span>


As of 2 Dec 2015 Sunab has included a build for Ubuntu 15.10&mdash;the wily werewolf.
As of 2 Dec 2015 Sunab has included a build for Ubuntu 15.10&mdash;the wily werewolf.
Line 122: Line 113:
* enable the  [https://launchpad.net/~sunab/+archive/ubuntu/kdenlive-release-old  ppa:sunab/kdenlive-release-old]  in the package manager/software sources
* enable the  [https://launchpad.net/~sunab/+archive/ubuntu/kdenlive-release-old  ppa:sunab/kdenlive-release-old]  in the package manager/software sources
* install '''Kdenlive''' from ppa:sunab/kdenlive-release-old
* install '''Kdenlive''' from ppa:sunab/kdenlive-release-old
===Installing from Vpinon's PPA ===
As of 2 Dec 2015, Vpinon has a ppa with a build for Ubuntu 15.10&mdash;the wily werewolf&mdash;packages to test the latest beta and bugfixes from the "release branch" of the development tree. As of  25 Jan 2016 this has version 15.12.1 of Kdenlive
(see [https://launchpad.net/~vpinon/+archive/ubuntu/kdenlive-testing ppa:vpinon/kdenlive-testing]).
As of 20 Jan 2016 there is also a [https://launchpad.net/~kdenlive/+archive/ubuntu/kdenlive-master ppa:kdenlive/kdenlive-master] which is the branch for development of future version 16.04.


===Installing from pre-built binary packages ===
===Installing from pre-built binary packages ===

Revision as of 16:10, 7 April 2016

關於安裝

安裝二進位套件

Most linux distributions provide recent binary packages of Kdenlive that can be installed from your Package Manager. However, in some cases you can find more recent versions in private repositories.

ThisKdenlive 官網裏有指示如何依據你所偏好的Linux來使用一些最新的源碼或二進位包. 這些教學包含 Debian, Fedora Gentoo, OpenSUSE, Slackware 及 Ubuntu 這些主要的發行版.


As of May 2015, obtaining and installing the latest version of Kdenlive has gotten a little complicated. Development of Kdenlive up to this point has used a technology known as KDE Frameworks 4. And the last stable release using this technology is version 0.9.10, released 25th September 2014.
To use this you need to have recent versions of frei0r, Kdenlive , mlt and libvidstab, e.g.:

  • frei0r = 1.4.0+git20140826.72e51041
  • Kdenlive = 0.9.10
  • mlt = 0.9.3+git20141005.22abed67
  • libvidstab=2:0.98b


As of June 2015, this PPA has version 0.9.10 of Kdenlive , 1.4.0 of Frei0r and 0.9.3 of melt.

Development of Kdenlive has now switched to a new version of the KDE Frameworks called KF5 (KDE Frameworks 5). To install versions of Kdenlive using this underlying technology, you need to be on a Linux distribution which supports KF5. Ubuntu and its derivatives versioned 15.04 and higher support KF5. It is not possible to install KF5 on distributions earlier than 15.04 (except by chrooting your system). Versions using KF5 are distributed by the Kubuntu-CI Team. The sunab ppa (see below) now also distributes KF5 versions.
Version numbers of the KF5 flavour start at 15.04.0.
This author recommends using the sunab ppa to install Kdenlive rather than the Kubuntu-CI Team because the Kubuntu-CI Team PPA has many other packages in it which will attempt to uprade all sorts of things on your system—with the potential of breaking it.

The switch between 0.9.10 and 15.04.0 is quite major with respect to the development work required. Testing of the new 15.04.0 version has been limited. For critical work I would recommend not upgrading to 15.04.0 unless you have a good backout strategy. It seems that the standard 15.04 Ubuntu repositories have a version 0.9.10 of Kdenlive running against KDE Frameworks 4 so you might be able to back out from 15.04.x to 0.9.10 by purging the ppa version of Kdenlive and re-installing the one in the standard repos.

Debian

Debian 專案 從 "squeeze" (6.0) 版開始搭載 Kdenlive , 可是如果想要得到最新的更新和修正您還是要考慮一下升級到 "testing" 版或 "sid".

Once your package management tool is pointed at an appropriate release, a simple apt-get install kdenlive should then work.

Sunab's PPA (see below) is not recommended for Debian because Debian uses a different lib layout for multiarch (reference: this post from vpinon).

Ubuntu and derivatives

Ubuntu also has offered Kdenlive since "gutsy" (7.10). However, to benefit from recent updates and bugfixes, you should consider upgrading to the latest release.

ppa:kdenlive/kdenlive-master is the development branch, with the very latest features additions.

ppa:kdenlive/kdenlive-testing is the feature-frozen branch, starting from the first beta, with bugfix updates as soon as solutions are found

ppa:kdenlive/kdenlive-stable is the last robust official release

Sunab offers a stable release of Kdenlive (version 15.12.1 as at 2nd March 2016) from this PPA.

He maintains a ppa with the previous release here. As at June 2015 it has the ver 0.9.10 of Kdenlive , 1.4.0 of Frei0r and 0.9.3 of melt


Not all the packages in the ppa are necessary. Install or upgrade the following to get a 15.04 release (version numbers as at 13 July 2015)

  • kdenlive (15.04.2-0ubuntu0-~sunab~vivid4)
  • kdenlive-data (15.04.2-0ubuntu0-~sunab~vivid4)
  • libmlt++3 (0.9.6-0ubuntu0~sunab~vivid1)
  • libmlt-data (0.9.6-0ubuntu0~sunab~vivid1)
  • libmlt6 (0.9.6-0ubuntu0~sunab~vivid1)
  • libvidstab1.0 (2:0.98b-0ubuntu0~sunab~vivid1)
  • melt ( 0.9.6-0ubuntu0~sunab~vivid1)

Non-Kubuntu users will need to install the kde-runtime package to fix missing buttons and icons.

Note that Sunab's PPA is built against the avconv multimedia libraries which Ubuntu/Lubuntu/Kubuntu et al. ship with. It is not built against the "alternative" ffmpeg multimedia libraries that other distros might have. So using this PPA for non-avconv-utilizing distributions might be problematic. (Thanks avconv/ffmpeg schism !!!!).

Fedora, RedHat 和延伸的版本

RPM packages are not yet maintained in an official branch, so you must go through an unofficial repository such as RPM Fusion or packman (Has ver 15.12.0 29 Dec 2015). Follow the site's recommendations to make them available and end with yum install kdenlive.

Gentoo, Arch, BSD ports

最新的( up-to-date )系統已經準備好建構的腳本, 所以分別執行emerge kdenlivepacman -S kdenlivepkg_add kdenlive, 等等.

Windows

There is no native Windows version of Kdenlive yet. However, you can use some virtualized Linux distribution to run Kdenlive on Windows. Some advice can be found on this page.

There is also the kdenlive on win project on SourceForge which "consists of an Ubuntu VirtualBox image that is preconfigured to run Kdenlive". The project was last updated 2012-08-09.

MacOS

KdenliveMLT 可在在 Mac OS X之上編譯及執行. 套件可以在 MacPorts 專案取得.

MacPorts is a source-based system — there is not a binary app bundle for Kdenlive. Therefore, Kdenlive and all of its numerous dependencies, including multimedia libraries, KDE, and Qt, must be compiled. This can take a long time and much disk space! Furthermore, it is not unusual for something not to build correctly; it is definitely not something for the novice, impatient, or "faint of heart".

更多細節可參閱 this

You may have some success getting support for the MacPort of Kdenlive on the Mac Ports forum on MacOS Forge.

從源碼安裝

假如你想測試最近被提交的源碼或是您個人的修正(patches), 你必須自己建構 Kdenlive (有時可能包含 MLT) .

您可以使用您發行版的套件建構程序來配合軟件管理系統處理安裝/升級/移除(install/upgrade/remove) 二進位檔和資料, 最後分享你的建構檔 (或貢獻給套件維護 - 請分別參考各發行版的使用手冊).

If you prefer you can build & install Kdenlive to a local area (preferably not /usr, but rather /usr/local or $HOME/my_local_builds/kdenlive-last-release or similar). You could try using this build script to build the latest version from the sources. Or you could use the this build script to build kdenlive ver 0.9.10 [1] (Follow the instructions under "show kdenlive". These instructions will build Kdenlive and its dependancies [e.g. melt, ffmpeg] in a "sandbox").

Installing from Sunab's PPA

Olivier Banus (AKA Sunab) provides a personal package archive (PPA) of the latest development trees of Frei0r-plugins, MLT and Kdenlive. For details on how to install Kdenlive using this bleeding edge source see launchpad.net - kdenlive-git (unstable).Testing only!

As of 2 Dec 2015 Sunab has included a build for Ubuntu 15.10—the wily werewolf.

Note: Sunab also maintains a PPA of the offical current release of Kdenlive (as noted above) as well as the current release minus one at ppa:sunab/kdenlive-release-old.

If you need to back out a release to the previous release then:

  • delete all packages (kdenlive, mlt, ...) from the kdenlive-release ppa (manually or with ppa-purge)
  • disable ppa:sunab/kdenlive-release in the package manager/software sources
  • enable the ppa:sunab/kdenlive-release-old in the package manager/software sources
  • install Kdenlive from ppa:sunab/kdenlive-release-old

Installing from pre-built binary packages

Kdenlive developer Vpinon is making available compressed pre-built binary files for installing from http://files.kde.org/kdenlive/.

You can test these packages without changing your system. Just download the package and extract it to a folder of your choice. Inside that folder is a "start-kdenlive" executable that will start for you a recent version of Kdenlive.

Execute this by typing ./start-kdenlive in a terminal.

Pre-built binary packages are often an easy solution if you are having troubles with your install and can be preferable to building your own because you don't need to install a build environment.

The potential downside is that the pre-built binary packages are built from the unstable development stream and may contain bugs. On the plus side, your pre-built binary packages version and your main version of Kdenlive can live simultaneously on your machine.

Another downside is that these packages have been built with a version of ffmpeg that only has the free video codecs. The type of files you can render your video to is limited. Choosing the Theora profile in the Web Sites rendering destination does work.

Installing from daily builds - Old Versions

Dan Dennedy of the Melt project used to provide automatic daily builds that contained the latest git versions of Kdenlive, MLT, Frei0r, FFmpeg and some other important libraries. However, the melt project's daily builds have not switched over to the 15.xx branch of Kdenlive so these instructions will not give you the bleeding edge code.

You can test these packages without changing your system. Just download the package and extract it to a folder of your choice. Inside that folder is a "start-kdenlive" executable that will start for you the latest Kdenlive.

Execute this by typing ./start-kdenlive in a terminal.

Daily builds are currently provided for Ubuntu (should be compatible with OpenSUSE 12 and Debian 7) .

See the daily builds rss feed which provides links to the builds for the above mentioned distributions.

Be sure to choose the correct download for the bitness your system:

kdenlive-debian7-x86_64-YYYYMMDD.tar.bz2 is for 64-bit Debian or Ubuntu-based distros. (As at October 2015 this is still a 0.9.10 version of Kdenlive).
kdenlive-ubuntu14.04-x86-YYYYMMDD.tar.bz2 (no 64 in the name ) is for 32-bit Ubuntu—(release 14.04 or higher) or other Debian-based distros.

Daily builds are often an easy solution if you are having troubles with your install and can be preferable to building your own because you don't need to install a build environment (which can be problematic on old distros).

Daily builds are likely to work even if your distro doesn't match the reference ones, as these references are older (with ascendant compatibility libs) and the important libs are embedded—they normally work without a problem.

The potential downside is that the daily builds are built from the unstable development stream and may contain bugs. On the plus side, your daily build version and your main version of Kdenlive can live simultaneously on your machine.

或參閱 Kdenlive homepage

  1. on distributions older than Debian 6 or Ubuntu 10.04 and derivatives, you need to set ENABLE_SWFDEC=0 in the config variables of the script. Modify the INSTALL_DIR in the script to something like INSTALL_DIR="$HOME/my_local_builds/kdenlive-last-release" to make it match where you want this local build to install.