FFmpeg
Functions
encode_video.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <libavcodec/avcodec.h>
#include <libavutil/opt.h>
#include <libavutil/imgutils.h>

Go to the source code of this file.

Functions

static void encode (AVCodecContext *enc_ctx, AVFrame *frame, AVPacket *pkt, FILE *outfile)
 
int main (int argc, char **argv)
 

Function Documentation

◆ encode()

static void encode ( AVCodecContext enc_ctx,
AVFrame frame,
AVPacket pkt,
FILE *  outfile 
)
static
Examples
encode_video.c.

Definition at line 39 of file encode_video.c.

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)
Examples
encode_video.c.

Definition at line 69 of file encode_video.c.