Logo Search packages:      
Sourcecode: blender version File versions

apiexample.c File Reference

Detailed Description

avcodec API use example.

Note that this library only handles codecs (mpeg, mpeg4, etc...), not file formats (avi, vob, etc...). See library 'libavformat' for the format handling

Definition in file apiexample.c.

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "avcodec.h"

Go to the source code of this file.


#define INBUF_SIZE   4096


void audio_decode_example (const char *outfilename, const char *filename)
void audio_encode_example (const char *filename)
int main (int argc, char **argv)
void pgm_save (unsigned char *buf, int wrap, int xsize, int ysize, char *filename)
void video_decode_example (const char *outfilename, const char *filename)
void video_encode_example (const char *filename)

Generated by  Doxygen 1.6.0   Back to index