Bug 191696

Summary: Video in Plasma::VideoWidget not working with xine, only with gstreamer backend
Product: [Frameworks and Libraries] Phonon Reporter: Simon ESNEAULT <simon.esneault>
Component: Xine backendAssignee: Matthias Kretz <kretz>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: andresbajotierra, emdeck, info, jagarni1983, martin.sandsmark
Priority: NOR    
Version: 4.4.0 (KDE 4.4.2)   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Simon ESNEAULT 2009-05-05 17:01:09 UTC
Version:            (using KDE 4.2.2)
Compiler:          gcc 
OS:                Linux
Installed from:    Ubuntu Packages

Hi,
The nice plasmoid here :
http://www.kde-look.org/content/show.php?content=95501
Is not working with xine backend. It use the incoming Plasma::VideoWidget which just embed a Phonon::VideoWidget inside a QGraphicProxyItem so that one can render a video inside a QGraphicScene.

It works rather nicely with gstreamer but doesn't with xine, only the sound works, no video...

Dragon player works fine with xine, no pb.

On irc, someone said it is not possible to have a xvideo working in a QGraphicScene. How come it works with gstreamer ?
Don't let gstreamer win the battle :D

Some people told us to have a look at VideoDataOutput from Phonon experimental, but render a video with this must be very slow, no ?
Anyone has a solution ? 

Simon
Comment 1 Cyril Brosch 2009-05-17 14:12:17 UTC
I can confirm, but the gstreamer backend doesn't work for me either - no matter whether desktop effects are en- or disabled.
The same problem appears with the media player widget in KDE 4.3

OpenSuse 11.1, Kernel 2.6.27.21-0.1-default i686 resp. _64
KDE 4.2.85 (KDE 4.2.85 (KDE 4.3 Beta1)) "release 3.4" resp. 4.2.2 "release 114"
1.5.8 NVIDIA 96.43.10 graphics driver resp. ATI (catalyst 9.3)
Comment 2 Cyril Brosch 2009-08-05 13:40:15 UTC
Update: In the new version 1.0 there is an option to show the video within the pop-up dialog, and there the video shows up.
If you disable the option, there still is no video visible on the desktop.
Comment 3 Dario Andres 2009-08-19 19:00:32 UTC
*** Bug 194450 has been marked as a duplicate of this bug. ***
Comment 4 ShadowKyogre 2009-10-25 00:15:34 UTC
*** This bug has been confirmed by popular vote. ***
Comment 5 Myriam Schweingruber 2010-04-05 12:09:17 UTC
Simon or Cyril, could you please test with the phonon-vlc backend and a newer KDE?
Comment 6 Cyril Brosch 2010-04-05 12:19:51 UTC
Can't test with vlc backend, as compiling all the stuff from git exceeds my mediocre skills, but I just tested with KDE 4.2.2, Phonon 4.3.80 and Xine backend (Xine 1.1.18.1) and guess what: It works!
I'll have to make one-two test in order to check whether there are conditions.
Comment 7 Cyril Brosch 2010-04-05 16:02:46 UTC
OK, it is NOT fixed with Xine. It simply seems, that Plasma doesn't catch up the change in the Phonon settings, so after changing from gstreamer to Xine backend the video player (also with new videos!) keeps on using gstreamer (and the other way around), but after new login it doesn't work, as Xine is used now. 
Should I file a bug report for that?
Comment 8 Myriam Schweingruber 2010-04-06 10:01:42 UTC
Cyril, how about testing with a newer KDE? AFAIK, OpenSuSE 11.2 has repositories for KDE SC 4.4.2
No need to file a new bug for now, we just need to know if this is also valid with a more recent version of Phonon, KDE 4.2.2 is pretty old now.
Comment 9 Cyril Brosch 2010-04-06 10:21:33 UTC
Sorry, that was a typo, my KDE SC version of course is 4.4.2 (inofficial Mandriva packages).

I just tested it on my Suse machine (with 4.4.2), too, with the same negative result.
Comment 10 Myriam Schweingruber 2010-04-09 09:00:02 UTC
Thank you for the feedback.
Comment 11 Simon ESNEAULT 2010-05-04 16:05:59 UTC
Hi Myriam,

I've just built vlc and phonon-vlc backend, but the video didn't show up.
 
That still has to be implemented, as it is explained here :
http://osdir.com/ml/kde-devel/2010-04/msg00035.html

Apparently mplayer backend should be able to render a video within a QGraphicsView (or at least a developer was able to do it :
http://code.google.com/p/phonon-vlc-mplayer/issues/detail?id=18

Other than that, the only last valid alternative is the gstreamer backend :/

Simon
Comment 12 Myriam Schweingruber 2011-06-07 23:26:53 UTC
Please use another backend, the xine backend is deprecated as the upstream development is stalled. 

You can choose between the gstreamer backend or the vlc backend, both are actively developed and maintained.