| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| ffmpeg:ffmpeg [2007/12/30 14:49] – deva | ffmpeg:ffmpeg [2010/03/03 08:56] (current) – deva |
|---|
| =====FFMPEG API Documentation===== | =====FFMPEG API Documentation===== |
| |
| Taken from [[http://svn.mplayerhq.hu/ffmpeg/trunk/libavformat/avformat.h?view=markup|avformat.h]] and [[http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/avcodec.h?view=markup|avcodec.h]] and friends. | Taken from [[http://svn.mplayerhq.hu/ffmpeg/trunk/libavformat/avformat.h?view=markup|avformat.h]] and [[http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/avcodec.h?view=markup|avcodec.h]] and friends. |
| |
| |
| ====Enums==== | ====Enums==== |
| | * [[ffmpeg:CodecType]] |
| * [[ffmpeg:PixelFormat]] | * [[ffmpeg:PixelFormat]] |
| * [[ffmpeg:CodecID]] | * [[ffmpeg:CodecID]] |
| * [[ffmpeg:AVERROR]] | * [[ffmpeg:AVERROR]] |
| | |
| | ====Flags==== |
| | * [[ffmpeg:CODEC_FLAG_x]] |
| |
| ====Functions==== | ====Functions==== |
| * [[ffmpeg:av_guess_codec()]] | * [[ffmpeg:av_guess_codec()]] |
| * [[ffmpeg:avcodec_open()]] Initializes the AVCodecContext to use the given AVCodec. | * [[ffmpeg:avcodec_open()]] Initializes the AVCodecContext to use the given AVCodec. |
| | * [[ffmpeg:avcodec_alloc_context()]] |
| |
| ===Decode=== | ===Decode=== |
| * [[ffmpeg:avcodec_find_decoder_by_name()]] | * [[ffmpeg:avcodec_find_decoder_by_name()]] |
| * [[ffmpeg:avcodec_decode_video()]] Decodes a video frame from a buffer into a picture. | * [[ffmpeg:avcodec_decode_video()]] Decodes a video frame from a buffer into a picture. |
| * [[ffmpeg:avcodec_decode_audio()]] Decodes an audio frame from a buffer. | * <del>[[ffmpeg:avcodec_decode_audio()]]</del> Deprecated, use [[ffmpeg:avcodec_decode_audio2()]] instead. |
| | * [[ffmpeg:avcodec_decode_audio2()]] Decodes an audio frame from a buffer. |
| * [[ffmpeg:av_read_frame()]] Return the next frame of a stream. | * [[ffmpeg:av_read_frame()]] Return the next frame of a stream. |
| * <del>[[ffmpeg:av_read_packet()]]</del> (Obsolete, use [[ffmpeg:av_read_frame()]] instead.) | * <del>[[ffmpeg:av_read_packet()]]</del> (Obsolete, use [[ffmpeg:av_read_frame()]] instead.) |
| * [[ffmpeg:av_free_packet()]] Free a packet. | * [[ffmpeg:av_free_packet()]] Free a packet. |
| * [[ffmpeg:av_free()]] Free memory which has been allocated with av_malloc() or av_realloc(). | * [[ffmpeg:av_free()]] Free memory which has been allocated with av_malloc() or av_realloc(). |
| * [[ffmpeg:av_freep()]] | * [[ffmpeg:av_freep()]] Free memory, which has been allocated with av_malloc() or av_realloc(), indirectly and set the pointer to NULL. |
| * [[ffmpeg:av_malloc()]] | * [[ffmpeg:av_malloc()]] |
| * [[ffmpeg:av_realloc()]] | * [[ffmpeg:av_realloc()]] |
| * [[ffmpeg:av_gen_search()]] | * [[ffmpeg:av_gen_search()]] |
| * [[ffmpeg:av_seek_frame()]] | * [[ffmpeg:av_seek_frame()]] |
| | |
| | ====Constributors==== |
| | * deva (Bent Bisballe Nyeng - deva@aasimon.org) |
| | |
| | If you would like to contribute, please send a mail to me at deva@aasimon.org. |
| |