#include "avformat.h"
#include "flv.h"
#include "riff.h"
#include <assert.h>
Go to the source code of this file.
Data Structures | |
struct | FLVContext |
Functions | |
static int | get_audio_flags (AVCodecContext *enc) |
static void | put_amf_string (ByteIOContext *pb, const char *str) |
static void | put_amf_double (ByteIOContext *pb, double d) |
static void | put_amf_bool (ByteIOContext *pb, int b) |
static int | flv_write_header (AVFormatContext *s) |
static int | flv_write_trailer (AVFormatContext *s) |
static int | flv_write_packet (AVFormatContext *s, AVPacket *pkt) |
Variables | |
static const AVCodecTag | flv_video_codec_ids [] |
static const AVCodecTag | flv_audio_codec_ids [] |
AVOutputFormat | flv_muxer |
static int flv_write_header | ( | AVFormatContext * | s | ) | [static] |
static int flv_write_packet | ( | AVFormatContext * | s, | |
AVPacket * | pkt | |||
) | [static] |
static int flv_write_trailer | ( | AVFormatContext * | s | ) | [static] |
static int get_audio_flags | ( | AVCodecContext * | enc | ) | [static] |
static void put_amf_bool | ( | ByteIOContext * | pb, | |
int | b | |||
) | [static] |
static void put_amf_double | ( | ByteIOContext * | pb, | |
double | d | |||
) | [static] |
static void put_amf_string | ( | ByteIOContext * | pb, | |
const char * | str | |||
) | [static] |
const AVCodecTag flv_audio_codec_ids[] [static] |
Initial value:
{ {CODEC_ID_MP3, FLV_CODECID_MP3 >> FLV_AUDIO_CODECID_OFFSET}, {CODEC_ID_PCM_S8, FLV_CODECID_PCM_BE >> FLV_AUDIO_CODECID_OFFSET}, {CODEC_ID_PCM_S16BE, FLV_CODECID_PCM_BE >> FLV_AUDIO_CODECID_OFFSET}, {CODEC_ID_PCM_S16LE, FLV_CODECID_PCM_LE >> FLV_AUDIO_CODECID_OFFSET}, {CODEC_ID_ADPCM_SWF, FLV_CODECID_ADPCM >> FLV_AUDIO_CODECID_OFFSET}, {CODEC_ID_NONE, 0} }
Initial value:
{ "flv", "flv format", "video/x-flv", "flv", sizeof(FLVContext), CODEC_ID_ADPCM_SWF, CODEC_ID_FLV1, flv_write_header, flv_write_packet, flv_write_trailer, .codec_tag= (const AVCodecTag*[]){flv_video_codec_ids, flv_audio_codec_ids, 0}, }
const AVCodecTag flv_video_codec_ids[] [static] |
Initial value:
{ {CODEC_ID_FLV1, FLV_CODECID_H263 }, {CODEC_ID_FLASHSV, FLV_CODECID_SCREEN}, {CODEC_ID_VP6F, FLV_CODECID_VP6 }, {CODEC_ID_VP6, FLV_CODECID_VP6 }, {CODEC_ID_NONE, 0} }