=====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.
====Structs====
* [[ffmpeg:AVFrame]]
* [[ffmpeg:AVPacket]]
* [[ffmpeg:AVCodecContext]]
* [[ffmpeg:AVFormatContext]]
* [[ffmpeg:AVFormatParameters]]
* [[ffmpeg:AVInputFormat]]
* [[ffmpeg:AVCodec]]
* [[ffmpeg:AVPicture]]
* [[ffmpeg:AVRational]]
* [[ffmpeg:AVOutputFormat]]
* [[ffmpeg:Url file flags]]
* [[ffmpeg:ByteIOContext]]
* [[ffmpeg:AVStream]]
====Enums====
* [[ffmpeg:CodecType]]
* [[ffmpeg:PixelFormat]]
* [[ffmpeg:CodecID]]
* [[ffmpeg:AVERROR]]
====Flags====
* [[ffmpeg:CODEC_FLAG_x]]
====Functions====
===General===
* [[ffmpeg:av_register_all()]] Initialize the library??
* [[ffmpeg:img_convert()]] Convert among pixel formats.
* [[ffmpeg:avcodec_alloc_frame()]] Allocates an AVFrame and sets its fields to default values.
===Format===
* [[ffmpeg:guess_format()]] Guess format based on filename.
* [[ffmpeg:guess_stream_format()]]
* [[ffmpeg:av_find_stream_info()]] Read packets of a media file to get stream information.
* [[ffmpeg:avpicture_get_size()]] Calculate the size of a picture.
* [[ffmpeg:avpicture_fill()]] Fill in the AVPicture fields.
* [[ffmpeg:avcodec_get_frame_defaults()]]
* [[ffmpeg:read_header()]]
* [[ffmpeg:av_set_parameters()]]
===Codec===
* [[ffmpeg:av_guess_codec()]]
* [[ffmpeg:avcodec_open()]] Initializes the AVCodecContext to use the given AVCodec.
* [[ffmpeg:avcodec_alloc_context()]]
===Decode===
* [[ffmpeg:av_open_input_file()]] Open a media file as input.
* [[ffmpeg:av_close_input_file()]] Close an opened media file, but not its codecs.
* [[ffmpeg:avcodec_find_decoder()]] Finds a decoder with a matching codec ID.
* [[ffmpeg:avcodec_find_decoder_by_name()]]
* [[ffmpeg:avcodec_decode_video()]] Decodes a video frame from a buffer into a picture.
* [[ffmpeg:avcodec_decode_audio()]] 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_packet()]] (Obsolete, use [[ffmpeg:av_read_frame()]] instead.)
===Encode===
* [[ffmpeg:av_alloc_format_context()]] Create context without opening a file.
* [[ffmpeg:avcodec_find_encoder()]]
* [[ffmpeg:avcodec_find_encoder_by_name()]]
* [[ffmpeg:av_new_stream()]] Add a new stream to a media file.
* [[ffmpeg:av_find_default_stream_index()]]
* [[ffmpeg:avcodec_encode_audio()]]
* [[ffmpeg:avcodec_encode_video()]]
* [[ffmpeg:avcodec_encode_subtitle()]]
* [[ffmpeg:av_write_frame()]]
* [[ffmpeg:av_interleaved_write_frame()]]
===Memory===
* [[ffmpeg:av_free_packet()]] Free a packet.
* [[ffmpeg:av_free()]] Free memory which has been allocated with av_malloc() or av_realloc().
* [[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_realloc()]]
===File===
* [[ffmpeg:url_fopen()]]
* [[ffmpeg:url_fclose()]]
===Search===
* [[ffmpeg:av_index_search_timestamp()]]
* [[ffmpeg:av_add_index_entry()]]
* [[ffmpeg:av_seek_frame_binary()]]
* [[ffmpeg:av_update_cur_dts()]]
* [[ffmpeg:av_gen_search()]]
* [[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.