After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 581863 - gnonlin has problems when mixing between two audio tracks using adder operation
gnonlin has problems when mixing between two audio tracks using adder operation
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gnonlin
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
Edward Hervey
Depends on:
Blocks:
 
 
Reported: 2009-05-08 13:17 UTC by Thomas Vander Stichele
Modified: 2013-08-13 18:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thomas Vander Stichele 2009-05-08 13:17:58 UTC
The test case, and full report is here: https://thomas.apestaart.org/thomas/trac/browser/tests/gnonlin/endbug

The test files are here:
http://thomas.apestaart.org/download/tmp/

Summary of the report:

Failure modes:
        A: doesn't link
        B: goes to PLAYING but does not actually play
        C: glitch at 10 seconds when track 1 ends (slight dropout or repeat)
        D: glitch at 5 seconds when track 2 starts, repeats small part of first
        E: error at 10 seconds, track 2 stops as well
        F: output drops out at 5 seconds, when track 2 starts, comes back slightly after that (around 7 seconds) with track 1 gone and track 2 playing where it would be expected
        G: no mix, at 5 secs track 1 stops and track 2 starts playing but is 5 seconds far already, so not at correct offset; and stops at 10 seconds instead of 15
        H: error at 5 seconds, track 1 stops and nothing plays anymore
        

Summary:
                  AudioSource  gnlfilesrc singledecodebin uridecodebin
flac   - flac     5/5 C        2/5 C      3/5 C           1/5 C
mp3    - mp3      0/5          0/5        0/5             0/5
vorbis - vorbis   0/5          0/5        0/5             0/5
mp3    - flac     5/5 C        5/5 F      5/5 F           5/5 F
flac   - mp3      2/5 G, H     5/5 G      5/5 G           5/5 G
vorbis - flac     5/5 (3H, 2G) 5/5 H      5/5 H           5/5 F
flac   - vorbis   0/5          5/5 G      5/5 E           5/5 G
vorbis - mp3      5/5 H        5/5 H      5/5 G           5/5 H
mp3    - vorbis   0/5          5/5 H      5/5 G           5/5 2H 3G

Conclusions:
- the only thing that works flawlessy with all 4 sources is mp3-mp3 and
  vorbis-vorbis
- AudioSource seems to work the best
- Everything with flac in it has a problem; C, G, H, E
Comment 1 Edward Hervey 2009-05-08 15:10:01 UTC
flac issue fixed with the following commit:

commit e8cbbd22f851182aaeefe9ad42b50123e9451e21
Author: Edward Hervey <bilboed@bilboed.com>
Date:   Fri May 8 16:40:57 2009 +0200

    flacdec: Actually output the pending buffer.. and not a blank one.
    
    It was previously sending the bogus buffer which was returned from
    the bufferalloc (required for reverse negotiation apparently) instead
    of the pending buffer.

Comment 2 Edward Hervey 2013-08-13 18:37:15 UTC
The GES integration suite already covers detection of some of those issues. Closing bug.