KPhotoAlbum Video Support

From KDE Wiki Sandbox
Revision as of 18:59, 5 September 2008 by Annew (talk | contribs) (New page: The upcoming KPhotoAlbum has support for categorizing videos along with its usual support for categorizing images. Getting KPhotoAlbum to show thumbnails for videos and actually showing th...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The upcoming KPhotoAlbum has support for categorizing videos along with its usual support for categorizing images. Getting KPhotoAlbum to show thumbnails for videos and actually showing the videos can be tricky. This page will give you some hints.

Building Thumbnail Support

KDE has packages for generating the thumbnails for videos. If the correct packages are installed then you should see the thumbnails. Below is a list of packages required for different distributions:

Kubuntu/Ubuntu:

Note for Ubuntu users : Ubuntu is a Debian which has been slightly modified (apt-get for example, is the killer-app coming from Debian). So maybe try the Debian advice below if you can't see videos on your system.

Debian:

  • libarts1-xine
  • kmplayer-plugin

Note : if I install kaffeine in addition, then KPA opens a black screen with just the sound for the video, and next time I open the search dialog, KPA crashes violently. Simply removing (apt-get remove kaffeine --purge) Kaffeine worked just fine for me.

(In Ubuntu 8.04 Hardy, it's kmplayer-konq-plugins that you need to make video playable.)

Suse:

Improved Thumbnail Support

The real problem with the thumbnail package which comes with KDE is that they take the first image in the video sequence and uses that as the thumbnail. This is often just an intro screen which do not reveal the content of the video. An alternative is MPlayerThumbs which works great with KPhotoAlbum.

Showing Videos

KPhotoAlbum will show the videos in the viewer if the right support packages are installed (Again KPhotoAlbum doesn't do the real work of showing the videos, but relies on the KDE subsystem to do so. Below you can see which package are needed for your system:

(K)Ubuntu

See Setting up Restricted formats

Still Doesn't Play Videos?

If you believe you have all the right packages installed, and it still doesn't play videos, then itis time to check your KDE configuration.

Open up Konqueror, choose Settings->Configure Konqueror and choose the File Association tab. Open up the video branch, and choose the item you can't get working (e.g mpeg). The screen show now show a tab widget for configuring that item. First check that the extention you have in mind is listed in the Filename Patterns.

{img src="img/wiki_up/general.jpg" }

Next choose the Embedding tab, and check that it shows any services in the Service Preference Order listbox.

What Do the Errors Really Mean?

One way to get to this page is from trying to play a video, with the result that KPhotoAlbum shows you an error box with the different actions it tried before failing. Here is a list of the errors:

  • Finding mime type
  • Getting a KPart for the mime type
  • Getting a library for the part
  • Instantiating Part
  • Fetching Widget from part

If any of these fails it is very likely that you need to go back up and look carefully at the settings in the previous section. If you see one of these fail, and fix it. Please add a bit of description above.