Hi Kumar,

I can reproduce this issue with the gallery app.

I did forgot to mention that my media player is playing the video on a SurfaceTexture via mMediaPlayer.setSurface(mSurface);

I have uploaded the video here : https://drive.google.com/open?id=10XcSHH0xL1zTYiHnyYf2LPwLK_pHoDx_

At the beginning of the video there is a fade in of the logo which I am not able to see, the video starts playing with the logos already faded in.

I have made a screen recording of my NUC so you can see what I mean :


Watch closely for the beginning of the clip with the white background…

Best regards,

Dominik Louven

On 31. Jul 2019, at 12:06, M, Kumar K <kumar.k.m@intel.com> wrote:

Hi Dominik,
createTrack_l(): mismatch between requested flags (00000008) and output flags (00000000)
The above log indicates that deep buffer playback is not supported but it gets played as a normal stream.
We could not reproduce from Gallery App when playing a video with media properties mentioned in attached file (media_info.txt).
Can you try playing the same videos from Gallery App and please share the specific videos to debug further.
Kumar KM
From: Celadon <celadon-bounces@lists.01.org> On Behalf Of Dominik Louven
Sent: Wednesday, July 31, 2019 2:48 PM
To: celadon@lists.01.org
Subject: [01.org Celadon] Mediaplayer skips roughly first second if video has audio track

Hi all,

I am experiencing a really weird problem, I am trying to play a video file with the android MediaPlayer instance.
When I play some specific videos the Mediaplayer skips about 1 second of video footage, other videos with audio track work fine though.
If I remove the audio track with ffmpeg the video plays fine.

I have attached both the logcat output as well as the ffmpeg info output.

I can see some Audio related logs , the most confusing one is 

createTrack_l(): mismatch between requested flags (00000008) and output flags (00000000)

Does anyone has any idea what I am doing wrong here ?

            MediaPlayer  mMediaPlayer = new MediaPlayer();

            if (mFile != null && mFile.exists()) {
                try {
                    // Try the Default Method of Creating the MediaPlayer
                    Uri mVideoUri = Uri.fromFile(getFile());
                    mMediaPlayer.setDataSource(getContext(), mVideoUri);
                } catch (Exception e) {

Best regards,

Dominik Louven