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. For sound, KPhotoAlbum uses Phonon. It is possible to change the Phonon backend, but it is usually better to stick with the backend that your distro has configured.
Building Thumbnail Support
KDE has packages for generating the thumbnails for videos. If the correct packages are installed then you should see the thumbnails. KPhotoAlbum uses mplayerthumbs, so you must have this package installed.
Below is a list of packages required for different distributions:
In Ubuntu 10.04 the package phonon-backend-xine along with libxine1-all-plugins appears to be working.
With Ubuntu 10.10 it is worth trying phonon-backend-gstreamer if the video is not good.
Naturally appropriate codecs must also be installed.
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:
Still Doesn't Play Videos?
If you believe you have all the right packages installed, and it still doesn't play videos, then it is time to check your KDE configuration.
Open up Konqueror, choose . Open up the branch, and choose the item you can't get working (e.g mpeg). The screen now shows a tab widget for configuring that item. First check that the extension you have in mind is listed in the Filename Patterns.
Next choose the , 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 possible failures:
- 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 to help other users.