<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>1011</bug_id>
          
          <creation_ts>2014-05-26 17:04:16 +0200</creation_ts>
          <short_desc>GLMediaPlayer: Sound and video stutter w/ JOAL ALAudioSink using OSX OpenAL impl</short_desc>
          <delta_ts>2014-06-11 01:31:35 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>util</component>
          <version>2</version>
          <rep_platform>pc_x86_64</rep_platform>
          <op_sys>macosx</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>1018</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter>voorbeeld</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>---</cf_type>
          <cf_scm_refs>2d50663d43b627b5569d8d9538a0507813ac0fc6
021735487716f15cef8d7d8d317b9cabbacea9dd
bc905a107d83d291f6ea34391768d16a9842bfc1</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3921</commentid>
    <comment_count>0</comment_count>
    <who name="">voorbeeld</who>
    <bug_when>2014-05-26 17:04:16 +0200</bug_when>
    <thetext>On OSX 10.8, FFMPEG 1.2.4 (as supplied by brew), tested with Jogl 2.1.5.

When I run the MovieSimple or MovieCube demos the sound and video stutter. Videos are played from local disk as to rule out streaming/bandwidth issues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3951</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-06-09 17:48:38 +0200</bug_when>
    <thetext>Note: &apos;brew&apos; is &apos;Homebrew&apos;
  https://github.com/Homebrew/homebrew/wiki/Installation
.. and seems to be the only source to build/install ffmpeg.
  brew install ffmpeg

+++

Reproduced w/ ffmpeg 2.2.3:
  - OSX
  - GNU/Linux

_if_ ALAudioSink (JOAL) is not used !

i.e. works w/  ALAudioSink/JOAL on GNU/Linux.

Seems like an interesting side-effect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3952</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-06-09 18:05:39 +0200</bug_when>
    <thetext>.. w/ AID -2 (drop audio completely) .. no stuttering on OSX.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3953</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-06-10 05:24:55 +0200</bug_when>
    <thetext>culprit is our OpenAL usage or 
let&apos;s say OSX&apos;s limited build-in OpenAL capabilities.

We will use openal-soft per default on OSX as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3957</commentid>
    <comment_count>4</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-06-11 01:31:35 +0200</bug_when>
    <thetext>commit 2d50663d43b627b5569d8d9538a0507813ac0fc6

    GLMediaPlayer: Fix video stutter if using NullAudioSink
    
    NullAudioSink shall return the last enqueued PTS in getPTS()
    not causing a-v delta measure based on lagging audio in player.

commit 021735487716f15cef8d7d8d317b9cabbacea9dd

    Remove explicit xcode.clang property files

commit bc905a107d83d291f6ea34391768d16a9842bfc1

    Bug 1011 / Bug 1012: GLMediaPlayer Audio/Video stuttering w/ OSX and OpenAL/JOAL (works using openal-soft default on all platforms now)


Validated w/ ffmpeg 2.2.3 on GNU/Linux and OSX
w/ ALAudioSink openal-soft/JOAL _and_ NullAudioSink.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>