Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
ffmpeg:ffmpeg [2007/12/10 14:17] – deva | ffmpeg:ffmpeg [2009/08/23 08:59] – 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. |
| |
====Structs==== | ====Structs==== |
* [[ffmpeg:AVOutputFormat]] | * [[ffmpeg:AVOutputFormat]] |
* [[ffmpeg:Url file flags]] | * [[ffmpeg:Url file flags]] |
| * [[ffmpeg:ByteIOContext]] |
| * [[ffmpeg:AVStream]] |
| |
====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. |
| * <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_new_stream()]] Add a new stream to a media file. | * [[ffmpeg:av_new_stream()]] Add a new stream to a media file. |
* [[ffmpeg:av_find_default_stream_index()]] | * [[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=== | ===Memory=== |
* [[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) |
| |