User Tools

Site Tools


ffmpeg:ffmpeg

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
ffmpeg:ffmpeg [2007/12/10 10:20] devaffmpeg:ffmpeg [2009/08/23 08:59] deva
Line 1: Line 1:
 =====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====
Line 12: Line 13:
   * [[ffmpeg:AVRational]]   * [[ffmpeg:AVRational]]
   * [[ffmpeg:AVOutputFormat]]   * [[ffmpeg:AVOutputFormat]]
 +  * [[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====
Line 32: Line 40:
   * [[ffmpeg:avcodec_get_frame_defaults()]]   * [[ffmpeg:avcodec_get_frame_defaults()]]
   * [[ffmpeg:read_header()]]   * [[ffmpeg:read_header()]]
 +  * [[ffmpeg:av_set_parameters()]]
  
 ===Codec=== ===Codec===
   * [[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===
Line 43: Line 53:
   * [[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.)
Line 52: Line 64:
   * [[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()]]
 +
 +===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)
  
ffmpeg/ffmpeg.txt · Last modified: 2010/03/03 08:56 by deva