net.sf.fmj.ffmpeg_java
Class ListFormats

java.lang.Object
  extended by net.sf.fmj.ffmpeg_java.ListFormats

public class ListFormats
extends java.lang.Object

Author:
Stephan Goetter

Constructor Summary
ListFormats()
           
 
Method Summary
static AudioFormat convertCodecAudioFormat(net.sf.ffmpeg_java.AVCodecLibrary.AVCodecContext codecCtx)
           
static VideoFormat convertCodecPixelFormat(int pixFmt, int width, int height, float frameRate)
           
protected static java.lang.String getCodecType(int codecType)
           
static int getCpuEndianess()
           
static int getPixelFormatFromBufferedImageType(int bufferedImageType)
           
static int getPreferedBufferedImageType()
           
static int getPreferedPixelFormat()
           
static ContentDescriptor[] getSupportedOutputContentDescriptors(Format[] formats)
           
static boolean isBigEndian()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListFormats

public ListFormats()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

getSupportedOutputContentDescriptors

public static ContentDescriptor[] getSupportedOutputContentDescriptors(Format[] formats)

getCodecType

protected static java.lang.String getCodecType(int codecType)

convertCodecPixelFormat

public static VideoFormat convertCodecPixelFormat(int pixFmt,
                                                  int width,
                                                  int height,
                                                  float frameRate)

convertCodecAudioFormat

public static AudioFormat convertCodecAudioFormat(net.sf.ffmpeg_java.AVCodecLibrary.AVCodecContext codecCtx)

isBigEndian

public static final boolean isBigEndian()

getCpuEndianess

public static final int getCpuEndianess()

getPreferedPixelFormat

public static int getPreferedPixelFormat()

getPreferedBufferedImageType

public static int getPreferedBufferedImageType()

getPixelFormatFromBufferedImageType

public static int getPixelFormatFromBufferedImageType(int bufferedImageType)