FFmpeg  4.0
Functions
encode_video.c File Reference

video encoding with libavcodec API example More...

#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)
 

Detailed Description

video encoding with libavcodec API example

Definition in file encode_video.c.

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.