Bug 320996 - duplication of content of short FLAC file in the next FLAC file
Summary: duplication of content of short FLAC file in the next FLAC file
Status: RESOLVED DUPLICATE of bug 308705
Alias: None
Product: phonon-backend-gstreamer
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 4.6.3
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: 4.7
Assignee: Rohan Garg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-10 12:50 UTC by Łukasz Konieczny
Modified: 2013-07-24 07:15 UTC (History)
5 users (show)

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


Attachments
Terminal output of running Amarok (72.76 KB, text/plain)
2013-06-11 13:22 UTC, Łukasz Konieczny
Details
Amarok screenshot while making terminal output (447.28 KB, image/png)
2013-06-11 13:23 UTC, Łukasz Konieczny
Details
New output, from running amarok --debug (308.78 KB, text/plain)
2013-06-11 19:45 UTC, Łukasz Konieczny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Łukasz Konieczny 2013-06-10 12:50:20 UTC
When you play for example an album in FLAC, and there are short, about 10s - 20s, FLAC files, which are not in the beginning of the album (playlist), and you came to that short file automatically from previous track (not manually skipping), the content of this short track will be played once again in the beginning of the next track, to which you will come also automatically.

Reproducible: Always

Steps to Reproduce:
1. Play an album in FLAC, which contains short FLAC files (for example M.O.P. - To The Death, which contains short skits).
2. Do not play with skipping tracks manually, let the album plays from the beginning to the end.
3. See, that every short track (that isn't the first in album) will be duplicated in the beginning of the track, which follows after it.
Actual Results:  
FLAC albums with short tracks do not play properly.

Expected Results:  
No duplication of short FLAC tracks.

Tested on Amarok 2.5, 2.6, 2.7 . Problem exists on Fedora 18 (probably also on 17 and previous) and Debian (testing, but problem existed also when Debian transisted from Squeeze to Wheezy).
Comment 1 Myriam Schweingruber 2013-06-10 12:54:05 UTC
Could you please test with Amarok 2.7.1 only or directlxy with 2.7-git (everything else is outdated), but with different phonon backends? You use the gstreamer one by default, please try with the vlc backend instead.
Comment 2 Łukasz Konieczny 2013-06-10 19:57:04 UTC
(In reply to comment #1)
> Could you please test with Amarok 2.7.1 only or directlxy with 2.7-git
> (everything else is outdated), but with different phonon backends? You use
> the gstreamer one by default, please try with the vlc backend instead.

I actualised my Fedora, didn't do that for a while because I use Debian as my primary system. Amarok was actualised to 2.7.1 . Problem still exist while using GStreamer, but doesn't exist while using VLC .
Comment 3 Myriam Schweingruber 2013-06-11 09:17:42 UTC
(In reply to comment #2)
> I actualised my Fedora, didn't do that for a while because I use Debian as
> my primary system. Amarok was actualised to 2.7.1 . Problem still exist
> while using GStreamer, but doesn't exist while using VLC .

Then this is a problem with the gstreamer backend, as I suspected. Reassigning.

Please provide a debug output with the relevant information as requested in this wiki page:  http://techbase.kde.org/Development/Tutorials/Debugging/Phonon
Comment 4 Łukasz Konieczny 2013-06-11 11:47:53 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > I actualised my Fedora, didn't do that for a while because I use Debian as
> > my primary system. Amarok was actualised to 2.7.1 . Problem still exist
> > while using GStreamer, but doesn't exist while using VLC .
> 
> Then this is a problem with the gstreamer backend, as I suspected.
> Reassigning.
> 
> Please provide a debug output with the relevant information as requested in
> this wiki page: 
> http://techbase.kde.org/Development/Tutorials/Debugging/Phonon

I noticed, that for example clementine works properly with GStreamer. So I think problem is in Amarok.
Comment 5 Łukasz Konieczny 2013-06-11 12:02:15 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > I actualised my Fedora, didn't do that for a while because I use Debian as
> > my primary system. Amarok was actualised to 2.7.1 . Problem still exist
> > while using GStreamer, but doesn't exist while using VLC .
> 
> Then this is a problem with the gstreamer backend, as I suspected.
> Reassigning.
> 
> Please provide a debug output with the relevant information as requested in
> this wiki page: 
> http://techbase.kde.org/Development/Tutorials/Debugging/Phonon

JuK also works properly with GStreamer. And it uses Phonon.
Comment 6 Łukasz Konieczny 2013-06-11 13:20:38 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > I actualised my Fedora, didn't do that for a while because I use Debian as
> > my primary system. Amarok was actualised to 2.7.1 . Problem still exist
> > while using GStreamer, but doesn't exist while using VLC .
> 
> Then this is a problem with the gstreamer backend, as I suspected.
> Reassigning.
> 
> Please provide a debug output with the relevant information as requested in
> this wiki page: 
> http://techbase.kde.org/Development/Tutorials/Debugging/Phonon

I set environmental variables as in this article, ran "script -a" and ran Amarok from terminal. I played three FLAC tracks, of which first is 3 min 27 s long, second is 13 s long, and third is 3 min 51 s long, but I stopped the third. GStreamer backend was used, content of second track was duplicated in the beginning of third track. Terminal output is attached in the file "gugen". I also made screenshot of Amarok ("gugen.png").
Comment 7 Łukasz Konieczny 2013-06-11 13:22:48 UTC
Created attachment 80450 [details]
Terminal output of running Amarok

Made using script command
Comment 8 Łukasz Konieczny 2013-06-11 13:23:49 UTC
Created attachment 80451 [details]
Amarok screenshot while making terminal output
Comment 9 Myriam Schweingruber 2013-06-11 18:21:56 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > I actualised my Fedora, didn't do that for a while because I use Debian as
> > > my primary system. Amarok was actualised to 2.7.1 . Problem still exist
> > > while using GStreamer, but doesn't exist while using VLC .
> > 
> > Then this is a problem with the gstreamer backend, as I suspected.
> > Reassigning.
> > 
> > Please provide a debug output with the relevant information as requested in
> > this wiki page: 
> > http://techbase.kde.org/Development/Tutorials/Debugging/Phonon
> 
> I noticed, that for example clementine works properly with GStreamer. So I
> think problem is in Amarok.

Which is not comparable, as Clementine doesn't use Phonon but Gstreamer directly.
Comment 10 Myriam Schweingruber 2013-06-11 18:25:15 UTC
Comment on attachment 80450 [details]
Terminal output of running Amarok

Did you see the line that says that you need to run Amarok in debug mode? Apparently not...

Quote from the debug output:
*********************************************************************************
** AMAROK WAS STARTED IN NORMAL MODE. IF YOU WANT TO SEE DEBUGGING INFORMATION, PLEASE USE: ** 
** amarok --debug                                                                           ** 
*********************************************************************************
Comment 11 Łukasz Konieczny 2013-06-11 19:32:24 UTC
(In reply to comment #9)
> (In reply to comment #4)
> > (In reply to comment #3)
> > > (In reply to comment #2)
> > > > I actualised my Fedora, didn't do that for a while because I use Debian as
> > > > my primary system. Amarok was actualised to 2.7.1 . Problem still exist
> > > > while using GStreamer, but doesn't exist while using VLC .
> > > 
> > > Then this is a problem with the gstreamer backend, as I suspected.
> > > Reassigning.
> > > 
> > > Please provide a debug output with the relevant information as requested in
> > > this wiki page: 
> > > http://techbase.kde.org/Development/Tutorials/Debugging/Phonon
> > 
> > I noticed, that for example clementine works properly with GStreamer. So I
> > think problem is in Amarok.
> 
> Which is not comparable, as Clementine doesn't use Phonon but Gstreamer
> directly.

In the next comment I also wrote about JuK. It uses Phonon and FLAC playback works properly in it, maybe it's important.
Comment 12 Matěj Laitl 2013-06-11 19:35:54 UTC
On 11. 6. 2013 Łukasz wrote:
> In the next comment I also wrote about JuK. It uses Phonon and FLAC playback
> works properly in it, maybe it's important.

It depends on the fact whether Juk uses queued (gapless) Phonon playing. 
Amarok does, if Juk doesn't, this still may be pgst bug.
Comment 13 Łukasz Konieczny 2013-06-11 19:44:20 UTC
(In reply to comment #10)
> Comment on attachment 80450 [details]
> Terminal output of running Amarok
> 
> Did you see the line that says that you need to run Amarok in debug mode?
> Apparently not...
> 
> Quote from the debug output:
> *****************************************************************************
> ****
> ** AMAROK WAS STARTED IN NORMAL MODE. IF YOU WANT TO SEE DEBUGGING
> INFORMATION, PLEASE USE: ** 
> ** amarok --debug                                                           
> ** 
> *****************************************************************************
> ****

I apologize, I'm not very smart. I did it once again (amarok --debug), results in new attachment.
Comment 14 Łukasz Konieczny 2013-06-11 19:45:50 UTC
Created attachment 80455 [details]
New output, from running amarok --debug
Comment 15 Myriam Schweingruber 2013-06-11 20:24:41 UTC
Thank you for the fast feedback.
Comment 16 Myriam Schweingruber 2013-07-24 07:15:57 UTC

*** This bug has been marked as a duplicate of bug 308705 ***