Skip to content

NdkMediaCodec_dequeueInputBuffer always return -1 #382

@joole

Description

@joole

Description

I want to use NDK to encode YUV raw data to H264,simplely only restore in file, compile the code in executable then push to android phone. I use the method steps which sample with java,but NdkMediaCodec_dequeueIntputBuffer always return -1, how to solve it ?

Environment Details

  • NDK Version: r14b,r15
    the latest version, check there before filing.
  • Build sytem: standalone toolchain
  • Host OS: Ubuntu 16.04
  • Compiler: CLANG
  • ABI:
  • STL: libc++_shared
  • NDK API level: android-21
  • Device API level: android-21

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions