FFmpeg
Functions
encinfo.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "libavcodec/avcodec.h"
#include "libavutil/channel_layout.h"

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 Print encoder properties (bit_rate, block_align, bits_per_coded_sample, frame_size) after init. More...
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Print encoder properties (bit_rate, block_align, bits_per_coded_sample, frame_size) after init.

Useful for verifying that encoders correctly set their codec parameters.

Usage: encinfo <codec_name> [sample_rate] [channels]

Definition at line 33 of file encinfo.c.