how are you "using another Surface"



  • Solved. I should instal standart videoview(instead com.devbrackets.android.exomedia.ui.widget.VideoView standing on legacy from another developer).
    Re: How to allow Android Stagefright use Qt's SurfaceView to get GraphicBuffers?

    Hello, i am sorry that newbie question, but what exactly are you doing whith that? I have an akin problem. Video is not playing 1 of 3-5 lounches with that errors:

    2019-03-25 11:18:01.253 2127-3284/com.23.io E/Surface: IGraphicBufferProducer::setBufferCount(1) returned Invalid argument
    2019-03-25 11:18:01.253 2127-3284/com.23.io E/ACodec: native_window_set_buffer_count failed: Invalid argument (22)
    2019-03-25 11:18:01.256 2127-3284/com.23.io D/SurfaceUtils: set up nativeWindow 0x7b583fc010 for 1088x1920, color 0x121, rotation 0, usage 0x2900
    2019-03-25 11:18:01.256 2127-3284/com.23.io I/ACodec: [OMX.Exynos.avc.dec] configureOutputBuffersFromNativeWindow setBufferCount : 13, minUndequeuedBuffers : 5
    2019-03-25 11:18:01.259 2127-3280/com.23.io E/ExoPlayerImplInternal: Internal runtime error.
        java.lang.IllegalArgumentException
            at android.media.MediaCodec.native_setSurface(Native Method)
            at android.media.MediaCodec.setOutputSurface(MediaCodec.java:1954)
            at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.setOutputSurfaceV23(MediaCodecVideoRenderer.java:915)
            at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.setSurface(MediaCodecVideoRenderer.java:405)
            at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.handleMessage(MediaCodecVideoRenderer.java:372)
            at com.google.android.exoplayer2.ExoPlayerImplInternal.deliverMessage(ExoPlayerImplInternal.java:861)
            at com.google.android.exoplayer2.ExoPlayerImplInternal.sendMessageToTarget(ExoPlayerImplInternal.java:829)
            at com.google.android.exoplayer2.ExoPlayerImplInternal.sendMessageInternal(ExoPlayerImplInternal.java:811)
            at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:328)
            at android.os.Handler.dispatchMessage(Handler.java:101)
            at android.os.Looper.loop(Looper.java:164)
            at android.os.HandlerThread.run(HandlerThread.java:65)
    

Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.