Class MediaDecoder

java.lang.Object
javaforce.media.MediaCoder
javaforce.media.MediaDecoder

public class MediaDecoder extends MediaCoder
Media Decoder.
Author:
pquiring
  • Constructor Details

    • MediaDecoder

      public MediaDecoder()
  • Method Details

    • start

      public boolean start(MediaIO io, int new_width, int new_height, int new_chs, int new_freq, boolean seekable)
    • startFile

      public boolean startFile(String file, String input_format, int new_width, int new_height, int chs, int new_freq)
    • stop

      public void stop()
    • read

      public int read()
    • getVideo

      public int[] getVideo()
    • getAudio

      public short[] getAudio()
    • getWidth

      public int getWidth()
    • getHeight

      public int getHeight()
    • getFrameRate

      public float getFrameRate()
    • getDuration

      public long getDuration()
    • getSampleRate

      public int getSampleRate()
    • getChannels

      public int getChannels()
    • getBitsPerSample

      public int getBitsPerSample()
    • seek

      public boolean seek(long seconds)
    • getVideoBitRate

      public int getVideoBitRate()
    • getAudioBitRate

      public int getAudioBitRate()
    • isKeyFrame

      public boolean isKeyFrame()
    • resize

      public boolean resize(int newWidth, int newHeight)