音视频

ffmpeg_sample解读_transcode_aac

2020-11-19  本文已影响0人  刘佳阔

/**

include <stdio.h>

include "libavformat/avformat.h"

include "libavformat/avio.h"

include "libavcodec/avcodec.h"

include "libavutil/audio_fifo.h"

include "libavutil/avassert.h"

include "libavutil/avstring.h"

include "libavutil/frame.h"

include "libavutil/opt.h"

include "libswresample/swresample.h"

/* The output bit rate in bit/s */

define OUTPUT_BIT_RATE 96000

/* The number of output channels */

define OUTPUT_CHANNELS 2

/**

/**

/**

/**

/**

/**

/**

/**

/**

/**

/**

/**

/**

/* Global timestamp for the audio frames. */
static int64_t pts = 0;

/**

/**

/**

/**

上一篇下一篇

猜你喜欢

热点阅读