| Summary: | Amarok playing short flac tracks multiple times | ||
|---|---|---|---|
| Product: | [Applications] amarok | Reporter: | Conrad <conrad_bugtracker> |
| Component: | Playback | Assignee: | Amarok Bugs <amarok-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | dvratil, ftefrjbhfvasf32, matej, myriam, romain.perier, tdfischer |
| Priority: | NOR | ||
| Version First Reported In: | 2.8-git | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/multimedia/amarok/-/commit/0d212b37a135d7a3573aea1deeaf634bb321dd3a | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | debug log file of bug | ||
|
Description
Conrad
2012-10-20 12:34:34 UTC
Created attachment 74672 [details]
debug log file of bug
my play list contained two tracks:
1. Alestorm - Rumpelkombo [FLAC] (0:06)
2. 1. Mai '87 - Mord bleibt Mord [FLAC] (3:18)
When starting, amarok immediately started with "Mord bleibt Mord" (I seeked to the end of the track). It then played "Rumpelkombo" three times before beginning to play "Mord bleibt Mord" again.
Just tested with 2.6.0 ( ebuild media-sound/amarok-2.6.0). The bug also occurs. Could you please test with both the phonon-backend-gstreamer 4.6.2 and the phonon-backend-vlc 0.6.0? SInc Amarok is not handling the playback itself but relies on Phonon for it, it would be interesting to know which backend is responsible for that. switching from phonon-backend-gstreamer to phonon-backend-vlc in fact solved the issue for me. Seems to be a bug in the gstreamer backend. did some testing, bug did not trigger any more with vlc backend Thank you for the fast feedback, reassigning to the phonon-backend-gstreamer. *** Bug 320996 has been marked as a duplicate of this bug. *** Closing as the current version 4.7.2 uses the newer gstreamer 1.x libraries anyway. This is still an issue with Amarok 2.8.0 and gstreamer 1.2.4. Additional note: pulseaudio does not influence this behaviour. Amarok-Version: 2.8.0 KDE-Version: 4.12.5 Qt-Version: 4.8.5 Phonon-Version: 4.6.0 Phonon-Backend: GStreamer (4.6.3) PulseAudio: Ja I fear that you misunderstood, this is not about Amarok, but about the version of the phonon-backend-gstreamer, version 4.6.3 is rather old now, and it does not work with gstreamer 1.x, but only with version 0.10.x, you need version 4.7.2, and the branch for the gstreamer 1.x port to test. It certainly works fine for me in Kubuntu which uses the patched version from that branch. Just upgraded to Phono-Gstreamer 4.7.2. Issue got slightly more annoying but is not fixed. Playback now stops completely after the short track has been played once. Not sure what you mean with "branch for the gstreamer 1.x". Is this a different version than the 1.2.4 I have currently installed? Amarok-Version: 2.8.0 KDE-Version: 4.12.5 Qt-Version: 4.8.5 Phonon-Version: 4.7.2 Phonon-Backend: GStreamer (4.7.2) PulseAudio: Ja No, there is version 4.7.2 of the phonon-backend-gstreamer that still uses the 0.10.x gstreamer librarires, so just installing the 1.x ones is not enough, as those will not be used at all. There is a development branch where the port of the backend to use the 1.x libraries is in the git repository of the phonon backend (not the master branch), and that version is already patched in Kubuntu 14.04, apparently not in other distributions yet. I just realised I have gstreamer 0.10 and 1.2.4 installed and phonon-gstreamer is linked against 0.10. Just installed the "1.0-porting-for-merge" branch of phonon-gstreamer, now correctly linked against gstreamer v1.2.4 but the [new] problem persists. As soon as the short track has been played once amarok completely stops playback. This seems to be a problem in Amarok and aboutToFinish handling: when the track is very short (shorter than the aboutToFinish interval), Amarok seems to simply skip the track and go to the next one, because the queue is empty. Git commit 0d212b37a135d7a3573aea1deeaf634bb321dd3a by Tuomas Nurmi. Committed on 08/06/2025 at 16:44. Pushed by nurmi into branch 'master'. Drop Phonon, replace with GStreamer GStreamer code mostly based on the abandoned phonon-gstreamer backend. Playing local files works, even gapless. Still TODO: Fix volume control & mute. CDs, cue files etc. ReplayGain. Equalizer. Visualizer. M +26 -10 CMakeLists.txt M +1 -0 ChangeLog M +1 -1 README A +2 -0 cmake/modules/FindGSTREAMER_PLUGIN_AUDIO.cmake A +1 -0 cmake/modules/FindGSTREAMER_PLUGIN_PBUTILS.cmake A +101 -0 cmake/modules/FindGStreamer.cmake A +112 -0 cmake/modules/FindGStreamerPlugins.cmake M +15 -1 src/CMakeLists.txt M +158 -146 src/EngineController.cpp M +12 -21 src/EngineController.h A +978 -0 src/EngineGstPipeline.cpp [License: GPL (v2+)] A +125 -0 src/EngineGstPipeline.h [License: GPL (v2+)] M +4 -4 src/context/applets/analyzer/plugin/AnalyzerBase.cpp M +0 -2 src/context/applets/analyzer/plugin/AnalyzerBase.h M +3 -3 src/context/applets/analyzer/plugin/AnalyzerWorker.cpp M +1 -3 src/context/applets/analyzer/plugin/AnalyzerWorker.h M +2 -54 src/dialogs/DiagnosticDialog.cpp M +17 -31 src/playback/DelayedDoers.cpp M +4 -17 src/playback/DelayedDoers.h M +24 -30 src/playback/EqualizerController.cpp M +2 -6 src/playback/EqualizerController.h M +7 -15 src/playback/Fadeouter.cpp M +1 -9 src/playback/Fadeouter.h M +7 -0 tests/CMakeLists.txt https://invent.kde.org/multimedia/amarok/-/commit/0d212b37a135d7a3573aea1deeaf634bb321dd3a |