Bug 205930 - Playback does sometimes not start in video widget
Summary: Playback does sometimes not start in video widget
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: Xine backend (show other bugs)
Version: 4.3.1 (KDE 4.4)
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Matthias Kretz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-01 23:24 UTC by René Krell
Modified: 2011-12-01 09:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description René Krell 2009-09-01 23:24:20 UTC
Version:           1.0.0-beta4 (using 4.3.1 (KDE 4.3.1) "release 163", KDE:KDE4:Factory:Desktop / openSUSE_Factory)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.31-rc7-4-desktop

I have an album in Digikam with several AVI videos.
Sometimes, on clicking on the video or navigating between them by page-up / page-down, the playback does not start automatically. It simply hangs. Navigating to the next or previous one and back sometimes helps, sometimes I have to repeat it more times for getting a video automatically played back.

Open with from Digikam in an external KDE4 DragonPlayer works fine each time. There seems to be seomething bad in initializing the widget.
Comment 1 René Krell 2009-09-01 23:25:30 UTC
BTW: This problem exists already a long time, I remember it in Digikam 0.10.0, too.
Comment 2 caulier.gilles 2009-09-02 06:26:38 UTC
This is not a digiKam problem, but from KDE4 video player (Phonon)

Here alll work fine. I just installed right sub component as xine library to see Phonon working fine.

Gilles Caulier
Comment 3 Andi Clemens 2009-09-02 09:42:24 UTC
Yes, I can confirm.
The switch to gstreamer as a backend in KDE 4.3 made a lot of problems here.

For example amarok didn't play a song for 5!!! minutes, I don't know why it waited so long but when I skipped to the next song in my playlist, nothing happened. I also was not able to fast-forward the song.

KMail didn't play my notification sound anymore.
etc...

So as Gilles said, switching back to xine fixed it. You should try this, too.
Comment 4 Andi Clemens 2009-09-02 09:43:43 UTC
PS: Yes, I know that GStreamer is plugin based, and I had installed ALL of them, even the "bad" ones. It didn't help...
Comment 5 René Krell 2009-09-02 10:11:34 UTC
Thanks.
Just got to note that I haven't never used the Phonon GStreamer backend, but Xine (currently 1.1.16.3).
Comment 6 René Krell 2009-09-02 10:13:53 UTC
I think there are issues open with Xine also. I only wanted to be sure that the video widget initialization is done right in Digikam. As I mentioned above, opening the hanging file in an external Dragonplayer works reliably, of course also in VLC (all Xine-driven).
Comment 7 caulier.gilles 2010-01-28 13:05:56 UTC
Problem still here with digiKam 1.0.0 ???

Gilles Caulier
Comment 8 René Krell 2010-01-28 14:21:34 UTC
(In reply to comment #7)
> Problem still here with digiKam 1.0.0 ???
> 
> Gilles Caulier

Definitely yes, using KDE 4.4 RC2 + Qt 4.6.1, now.

I don't know, how I can help you, is there a possibility to make a stackdump of all open threads or so? I'm not so familiar with gdb, is gdb able to produce something also outside of a crash?
Comment 9 René Krell 2010-01-28 14:57:18 UTC
Here is an example output in GDB after pressing two times PgDown when it is hanging again:

minscanline 1
digikam(9157)/KEXIV2 KExiv2Iface::KExiv2Priv::printExiv2ExceptionError: Cannot
load metadata using Exiv2   (Error # 11 : 
/home/rkrell/Pictures/Závody/2008-06-21 Mirošov/2008-06-21 14.21.56.avi: The
file contains data of an unknown image type                                     
minscanline 1                                                                   
minscanline 1                                                                   
[New Thread 0x7fffca6a7910 (LWP 10772)]                                         
minscanline 1                                                                   
... (repeated several times)
minscanline 1                                                                   
digikam(9157)/KEXIV2 KExiv2Iface::KExiv2Priv::printExiv2ExceptionError: Cannot
load metadata using Exiv2   (Error # 11 : 
/home/rkrell/Pictures/Závody/2008-06-21 Mirošov/2008-06-21 15.00.20.avi: The
file contains data of an unknown image type                                     
minscanline 1                                                                   
... (repeated several times)
minscanline 1                                                                   
[Thread 0x7fffca6a7910 (LWP 10772) exited]                                      
minscanline 1                                                                   
minscanline 1                                                                   
minscanline 1                                                                   
[New Thread 0x7fffca6a7910 (LWP 10774)]                                         
minscanline 1                                                                   
... (repeated several times)
minscanline 1                                                                   
[Thread 0x7fffca6a7910 (LWP 10774) exited]
Comment 10 Myriam Schweingruber 2010-02-09 23:46:04 UTC
Setting version and component correctly.
Comment 11 Myriam Schweingruber 2011-01-28 12:03:05 UTC
Is this still valid with a current version?
Comment 12 Myriam Schweingruber 2011-12-01 09:01:52 UTC
We are sorry, but the xine backend is unmaintained: http://lists.kde.org/?l=kde-announce&m=130744384419151
Please use the phonon-backend-gstreamer or thre phonon-backend-vlc instead.