Version: unspecified (using KDE 4.5.1)
selct a mp4 video
then there is no embeded player in the data panel to play the video
no pb for a *.mov for example
dragon player is embeded and you can play the video
OS: Linux (i686) release 22.214.171.124-desktop-69mib
Mandriva 2010.1 32 bit
in the contextual menu there is an option to play the video with dragon player
in the data panel there is a thumbnail of the video
Phonon is not used for thumbnailing (which is bug of its own). Moving to kdemultimedia since supposedly ffmpegthumbs or mplayerthumbs is responsible.
(In reply to comment #3)
> Phonon is not used for thumbnailing (which is bug of its own). Moving to
> kdemultimedia since supposedly ffmpegthumbs or mplayerthumbs is responsible.
there is a misunderstanding.
it is not a thumbnail pb there is a thumbnail for mp4 movie
if you select a .mov then in the data panel (the right one) under the the thumbnail there is a player to view the movie see the attachment mov.png
if you select a .mp4 then in the data panel (the right one) under the the thumbnail there is no player to view the movie see the attachment mp4.png
Created attachment 72551 [details]
Created attachment 72552 [details]
Created attachment 72553 [details]
mov.png is a bad capture.ignore it
use mov_1.png instead
const bool usePhonon = Phonon::BackendCapabilities::isMimeTypeAvailable(mimeType) &&
(mimeType != "image/png"); // TODO: workaround, as Phonon
// thinks it supports PNG images
Please note my comments in bug 291438 and bug 303253#c13
The reason this "workaround" is needed is because Phonon *actually* supports PNG (i.e. if you were to load a PNG in either VLC or GStreamer you would actually get the PNG displayed). As I mentioned numerous times just about everywhere the mimetype API is just silly and should not be used.
If you simply offer the playback for both audio/* and video/* you will get by a magnitude better results as both support Phonon backends basically support all the possible formats that there are.
Thanks for the explanation, Harald! If I understand you correctly, the best approach would be to replace the lines you quoted above with
const bool usePhonon = mimeType.startsWith("audio/") || mimeType.startsWith("video/")?
fixed in 2fb4419de053c43a0a70ffb21920db687fa87b6e
Git commit d1808d56ec856162dd285ca9e3f8f067b8f474f3 by Jekyll Wu, on behalf of Martin Sandsmark.
Committed on 09/08/2012 at 03:27.
Pushed by jekyllwu into branch 'KDE/4.9'.
Use a saner check for multimedia files in infopanel.
Don't rely on the reported supported mimetypes from Phonon,
Phonon supports more than just video and audio, but if it is
video or audio there's a very good chance Phonon supports it.
(If the mime type isn't in the list returned by Phonon there's
still a good chance it supports it, because mime types are stupid.)
(cherry picked from commit 2fb4419de053c43a0a70ffb21920db687fa87b6e)
M +1 -3 dolphin/src/panels/information/informationpanelcontent.cpp
Thanks to everyone who helped to fix this bug!
*** Bug 206312 has been marked as a duplicate of this bug. ***
*** Bug 309607 has been marked as a duplicate of this bug. ***