Package 

Class MediaVideoEncoder

  • All Implemented Interfaces:
    com.serenegiant.encoder.IVideoEncoder , java.lang.Runnable

    
    public class MediaVideoEncoder
    extends MediaEncoder implements IVideoEncoder
                        

    Encode texture images as H.264 video using MediaCodec. This class render texture images into recording surface camera from MediaCodec encoder using Open GL|ES

    • Method Summary

      Modifier and Type Method Description
      boolean frameAvailableSoon(Array<float> tex_matrix)
      boolean frameAvailableSoon() This method does not work correctly on this class,use #frameAvailableSoon(final float[]) instead
      void setEglContext(EGLBase.IContext sharedContext, int tex_id)
      • Methods inherited from class com.serenegiant.encoder.MediaEncoder

        getInputSurface, getOutputUri, run
      • Methods inherited from class java.lang.Thread

        activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, onSpinWait, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, start, stop, suspend, toString, yield
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait