Bug 9926 - amarok can't handle short tracks when using phonon-gstreamer
Summary: amarok can't handle short tracks when using phonon-gstreamer
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: KDE maintainers
QA Contact:
URL:
Whiteboard: MGA5TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-29 23:33 CEST by David Walser
Modified: 2021-07-06 17:21 CEST (History)
7 users (show)

See Also:
Source RPM: phonon-gstreamer-4.6.3-1.mga3.src.rpm
CVE:
Status comment:


Attachments

Description David Walser 2013-04-29 23:33:23 CEST
For example, if you add /usr/share to your collection, then add the tracks it finds there to your playlist, and try to play it, it seems to handle tracks that are at least 6 seconds or so fine, but the shorter ones cause all sorts of issues.  It often will just stop, sometimes it'll go into a loop, there's all sorts of visual artefacts, etc.  It doesn't matter whether you use pulseaudio or not, or whether you use phonon-gstreamer, phonon-vlc, or phonon-xine.

Reproducible: 

Steps to Reproduce:
David Walser 2013-04-29 23:33:46 CEST

CC: (none) => balcaen.john, fundawang, nicolas.lecureuil

Comment 1 David Walser 2013-05-12 23:39:45 CEST
I have a build of our amarok 2.7.0 package that I use on Mageia 2, so I installed it in my Mageia 2 VM and it handles short tracks just fine, so some other component is causing the problem.  I have no idea what it could be.
Comment 2 David Walser 2013-08-11 02:39:51 CEST
Is this a gstreamer bug like in Bug 10762?

CC: (none) => juan.baptiste, shlomif

Comment 3 Shlomi Fish 2013-08-11 11:55:27 CEST
Hi David,

just to clarify, did you log into KDE and logged out of it after switching the Phonon backend? Also, does it also happen in x86-64? I can try checking.

Regards,

-- Shlomi Fish
Comment 4 Shlomi Fish 2013-08-11 12:02:03 CEST
With amarok-2.7.90-1.mga4 on x86-64 Cauldron I can play all the sounds from /usr/share/sounds fine one after the other - without Pulseaudio. Are you using Pulseaudio by any chance?

Regards,

-- Shlomi Fish
Comment 5 David Walser 2013-08-11 14:40:47 CEST
Hi Shlomi,

As I recall, I didn't log out of KDE after switching the phonon backend, but I should be able to try it again at work this week now that we finally have an empty classroom.  I don't have x86-64 mirrored, so I won't be able to try that.  I did try it with and without pulseaudio, I do remember that.
Comment 6 David Walser 2013-08-13 19:37:35 CEST
Shlomi,

Thanks for the tip of logging out of KDE when switching phonon backends.

With amarok 2.7.1 and phonon-vlc, it works perfectly (amarok 2.7.0 crashed).

With amarok 2.7.1 and phonon-xine, it doesn't play any sound and crashes quickly.

With amarok 2.7.1 and phonon-gstreamer, it doesn't work very well, as described in the initial bug report.
David Walser 2013-08-13 19:40:05 CEST

Summary: amarok can't handle short tracks => amarok can't handle short tracks when using phonon-gstreamer
Source RPM: amarok-2.7.0-1.mga3.src.rpm => phonon-gstreamer-4.6.3-1.mga3.src.rpm
Version: Cauldron => 3
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=10762

Comment 7 Juan Luis Baptiste 2013-08-25 20:07:07 CEST
So it seems this is a phonon bug and not amarok ?
Comment 8 David Walser 2013-08-25 20:20:38 CEST
phonon-gstreamer specifically (of course the problem could lie in gstreamer itself, technically)
Comment 9 Nicolas Lécureuil 2013-08-25 21:49:19 CEST
where can we find such a file ?
Comment 10 David Walser 2013-08-25 21:51:48 CEST
/usr/share, as I said in Comment 0.  Just add that directory to your collection, and then right-click on your collection on the left and choose Add to playlist.
Comment 11 David Walser 2013-12-18 16:32:02 CET
This bug still persists in Cauldron.  Maybe not quite as bad as Mageia 3, but still doesn't work very well with phonon-gstreamer.  It's still fine with phonon-vlc.

There are newer versions of the relevant software out there, though I haven't built them so I don't know if they help:
gstreamer1.0 1.2.1 upstream
phonon 4.7.0 mdv/debian
phonon-gstreamer 4.7.0 mdv
phonon-vlc 0.7.0 mdv
qt-gstreamer 0.10.3 fedora

Version: 3 => Cauldron
Whiteboard: (none) => MGA3TOO

Comment 12 Samuel Verschelde 2015-04-25 10:12:56 CEST
Hi David (again :)), can you check if it's still valid in current cauldron?

Keywords: (none) => NEEDINFO

Comment 13 David Walser 2015-04-25 11:46:23 CEST
Sure.  I'll check hopefully this weekend or at the very least at work next week.
Comment 14 David Walser 2015-05-01 00:47:35 CEST
Sorry for the delay.  Trying to switch to gstreamer on my VM at home corrupted my Amarok settings to the point where it would no longer launch Amarok without crashing and I didn't have time to fix it.

I was able just now to confirm this issue still exists in Cauldron on a physical machine at work.

Keywords: NEEDINFO => (none)
Whiteboard: MGA3TOO => MGA4TOO, MGA3TOO

Comment 15 Shlomi Fish 2015-05-01 07:38:50 CEST
Replacing "MGA3TOO" with "MGA5TOO" because MGA3 was End-of-Lifed.

Whiteboard: MGA4TOO, MGA3TOO => MGA4TOO, MGA5TOO

Comment 16 Samuel Verschelde 2016-10-15 22:28:34 CEST
What's the status in latest cauldron?

Keywords: (none) => NEEDINFO

Comment 17 Marja Van Waes 2016-11-03 10:01:32 CET
(In reply to Samuel Verschelde from comment #16)
> What's the status in latest cauldron?

No reply.... is it still valid in Mga5?

Whiteboard: MGA4TOO, MGA5TOO => MGA5TOO
CC: (none) => marja11

Comment 18 David Walser 2016-11-03 11:32:45 CET
Yes.  This seems to me to be unlikely to get fixed.  Fortunately phonon-vlc (now the default) avoids the problem.
Comment 19 Marja Van Waes 2017-01-07 10:10:48 CET
@ shlomi

I don't know why we forgot to assign this bug. Doing so, now.

Assignee: bugsquad => shlomif
Keywords: NEEDINFO => (none)

Comment 20 David GEIGER 2020-05-02 09:39:24 CEST
Is this bug still valid?

CC: (none) => geiger.david68210

David Walser 2020-12-27 23:50:12 CET

Assignee: shlomif => kde

Comment 21 David Walser 2021-07-03 20:41:23 CEST
In Mageia 8 now, I can't even figure out how to get to the Phonon settings.  Also, while aplay works, Amarok has no sound.  For this VM if I choose ICH97, nothing works, but with Intel HD Audio I can get some sound.  ogg123 on the console is extremely choppy.  The new default Plasma mixer (and systemsettings) doesn't see any audio devices, but KMix still works.  What a mess.
Comment 22 David Walser 2021-07-06 17:11:14 CEST
It appears that Qt5 phonon-vlc and the default Plasma mixer do not work in Mageia 8 when PulseAudio is not in use, confirmed on a VM and physical machine.  I can't find where to change the Phonon backend.
Comment 23 David Walser 2021-07-06 17:21:28 CEST
In Strawberry you can select the Phonon backend, and while you do get messages in the console about the VLC backend not being able to connect to Pulse, it still plays sound.

Note You need to log in before you can comment on or make changes to this bug.