Bug 379871 - Amarok doesn't play some files, due to a phonon problem
Summary: Amarok doesn't play some files, due to a phonon problem
Status: RESOLVED WORKSFORME
Alias: None
Product: phonon-backend-gstreamer
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.9.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 4.8
Assignee: Daniel Vrátil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-15 19:56 UTC by draffin
Modified: 2022-12-18 05:15 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
One file amarok won't play (2.72 MB, video/ogg)
2017-05-15 19:56 UTC, draffin
Details
output of amarok -d --nofork while trying to play 4 files (12.78 KB, text/plain)
2017-05-16 06:05 UTC, draffin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description draffin 2017-05-15 19:56:21 UTC
Created attachment 105568 [details]
One file amarok won't play

Amarok doesn't play some files in my collection (exclusively ogg files). I don't see the common point between those files. Sometimes a complete album can't be played, sometimes just a part of it. Most of those files have been successfully played before...
Comment 1 Myriam Schweingruber 2017-05-15 23:03:03 UTC
Please run amarok in debug mode and check the output in the konsole when you try to play the file.
Running Amarok in debug mode is done by starting amarok from a konsole with

amarok -d --nofork

What might also be helpful is to know where those files are located, and of course to check the permissions of those files, they should be readable AND writeable for the user.
Comment 2 draffin 2017-05-16 06:05:30 UTC
Created attachment 105578 [details]
output of amarok -d --nofork while trying to play 4 files

The first 3 files won't play. The fourth plays normally. All four are located in the same repertory (same album). All four have already been played.
Comment 3 draffin 2017-05-16 06:07:51 UTC
[miman@dauphin Magnificat - Herreweghe]$ ls -l
total 31384
-rwxrwxrwx 1 miman users 3580133  6 févr.  2016 '01 - Magnificat -I- Magnificat anima mea Dominum.ogg'
-rwxrwxrwx 1 miman users 2854891  6 févr.  2016 '02 - Magnificat -II- Et exultavit spiritus meus.ogg'
-rwxrwxrwx 1 miman users 2985789  7 févr.  2016 '03 - Magnificat - III. Quia respexit humilitatem.ogg'
-rwxrwxrwx 1 miman users 1503629  6 févr.  2016 '04 - Magnificat - IV. Omnes generationes.ogg'
-rwxrwxrwx 1 miman users 2207170  6 févr.  2016 '05 - Magnificat - V. Quia fecit mihi magna.ogg'
-rwxrwxrwx 1 miman users 4088861  6 févr.  2016 '06 - Magnificat -VI- Et eisericordia eius.ogg'
-rwxrwxrwx 1 miman users 2165229  6 févr.  2016 '07 - Magnificat -VII- Fecit potentiam.ogg'
-rwxrwxrwx 1 miman users 2255480  6 févr.  2016 '08 - Magnificat - VIII. Deposuit potentes.ogg'
-rwxrwxrwx 1 miman users 3499594  6 févr.  2016 '09 - Magnificat -IX- Esurientes.ogg'
-rwxrwxrwx 1 miman users 2038139  6 févr.  2016 '10 - Magnificat - X. Suscepit Israel.ogg'
-rwxrwxrwx 1 miman users 1747379  6 févr.  2016 '11 - Magnificat - XI. Sicut locutus est.ogg'
-rwxrwxrwx 1 miman users 2704126  6 févr.  2016 '12 - Magnificat -XII- Gloria.ogg'
-rwxrwxrwx 1 miman users  482646  1 mars   2008  cover.png

In this album, I can't play the first three files. The others work fine.
Comment 4 Myriam Schweingruber 2017-05-16 13:45:00 UTC
Thank you for the fast feedback.

From the output it looks like Phonon doesn't want to play them, are those tracks very short? I'll reassign this to Phonon, I doubt this is actually an Amarok problem. Which Phonon backend do you use?

FWIW: the question about where the tracks were located was to know if those were local or on a remote share. Some Samba shares have lags that don't cope well with short tracks
Comment 5 draffin 2017-05-16 16:34:54 UTC
(In reply to Myriam Schweingruber from comment #4)
> Thank you for the fast feedback.
> 
> From the output it looks like Phonon doesn't want to play them, are those
> tracks very short?

I have other longer files that Amarok doesn't play either (more than 10 minutes long).

> I'll reassign this to Phonon, I doubt this is actually an
> Amarok problem. Which Phonon backend do you use?
> 
GStreamer

> FWIW: the question about where the tracks were located was to know if those
> were local or on a remote share. Some Samba shares have lags that don't cope
> well with short tracks

My collection is local.

Thanks for fast answers too !
Comment 6 draffin 2017-05-17 17:27:18 UTC
I've tried the vlc backend for phonon and it works. But the problem is temporary solved because I want to switch back to gstreamer backend, that handles the gapless playback (witch is important for the opera lover I am...).
Comment 7 Myriam Schweingruber 2017-05-19 08:40:50 UTC
FWIW: the file plays without problems here on Amarok 2.8.0 and Amarok 2.8-git, using phonon-backend-gstreamer v4.9.0-1 on Kubuntu 17.04
Comment 8 draffin 2018-03-25 09:47:00 UTC
Due to that problem, I switched for vlc backend but I'm not satisfied : I miss the gapless playing provided buy gstreamer backend.

Still, a small part of my collection can't be played by amarok with gstreamer backend and it's annoying ! I'm making a directory with a set of problematic files : https://www.dropbox.com/sh/ju5ks8xtrxb92t0/AAC2KCd-vEa1FrUEdZ9YF97ea?dl=0
I can't see any link between them (well, they were all made a few years ago... while all my recent files are correctly played). I tried to erase every tags of one of those files but it didn't solve the problem.

I'm using phonon-qt4-gstreamer 4.9.0 and my system is up-to-date.

Thanks in advance.
Comment 9 Justin Zobel 2022-11-18 04:30:33 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 10 Bug Janitor Service 2022-12-03 05:17:25 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Bug Janitor Service 2022-12-18 05:15:31 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!