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.
Note: 'brew' is 'Homebrew' 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.
.. w/ AID -2 (drop audio completely) .. no stuttering on OSX.
culprit is our OpenAL usage or let's say OSX's limited build-in OpenAL capabilities. We will use openal-soft per default on OSX as well.
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.