Go to the source code of this file.
 | 
| static int  | get_audio_flags (AVFormatContext *s, AVCodecParameters *par) | 
|   | 
| static void  | put_amf_string (AVIOContext *pb, const char *str) | 
|   | 
| static void  | put_timestamp (AVIOContext *pb, int64_t ts) | 
|   | 
| static void  | put_avc_eos_tag (AVIOContext *pb, unsigned ts) | 
|   | 
| static void  | put_amf_double (AVIOContext *pb, double d) | 
|   | 
| static void  | put_amf_byte (AVIOContext *pb, unsigned char abyte) | 
|   | 
| static void  | put_amf_dword_array (AVIOContext *pb, uint32_t dw) | 
|   | 
| static void  | put_amf_bool (AVIOContext *pb, int b) | 
|   | 
| static void  | write_metadata (AVFormatContext *s, unsigned int ts) | 
|   | 
| static int  | unsupported_codec (AVFormatContext *s, const char *type, int codec_id) | 
|   | 
| static void  | flv_write_codec_header (AVFormatContext *s, AVCodecParameters *par, int64_t ts) | 
|   | 
| static int  | flv_append_keyframe_info (AVFormatContext *s, FLVContext *flv, double ts, int64_t pos) | 
|   | 
| static int  | shift_data (AVFormatContext *s) | 
|   | 
| static int  | flv_init (struct AVFormatContext *s) | 
|   | 
| static int  | flv_write_header (AVFormatContext *s) | 
|   | 
| static int  | flv_write_trailer (AVFormatContext *s) | 
|   | 
| static int  | flv_write_packet (AVFormatContext *s, AVPacket *pkt) | 
|   | 
| static int  | flv_check_bitstream (struct AVFormatContext *s, const AVPacket *pkt) | 
|   | 
◆ READ_BLOCK
Value:    do {                                                             \
    read_size[read_buf_id] = 
avio_read(read_pb, read_buf[read_buf_id], metadata_size);  \
 
    read_buf_id ^= 1;                                                               \
} while (0)
 
 
 
◆ FLVFlags
| Enumerator | 
|---|
| FLV_AAC_SEQ_HEADER_DETECT  |  | 
| FLV_NO_SEQUENCE_END  |  | 
| FLV_ADD_KEYFRAME_INDEX  |  | 
| FLV_NO_METADATA  |  | 
| FLV_NO_DURATION_FILESIZE  |  | 
Definition at line 66 of file flvenc.c.
 
 
◆ get_audio_flags()
◆ put_amf_string()
  
  
      
        
          | static void put_amf_string  | 
          ( | 
          AVIOContext *  | 
          pb,  | 
         
        
           | 
           | 
          const char *  | 
          str  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ put_timestamp()
  
  
      
        
          | static void put_timestamp  | 
          ( | 
          AVIOContext *  | 
          pb,  | 
         
        
           | 
           | 
          int64_t  | 
          ts  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ put_avc_eos_tag()
  
  
      
        
          | static void put_avc_eos_tag  | 
          ( | 
          AVIOContext *  | 
          pb,  | 
         
        
           | 
           | 
          unsigned  | 
          ts  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ put_amf_double()
  
  
      
        
          | static void put_amf_double  | 
          ( | 
          AVIOContext *  | 
          pb,  | 
         
        
           | 
           | 
          double  | 
          d  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ put_amf_byte()
  
  
      
        
          | static void put_amf_byte  | 
          ( | 
          AVIOContext *  | 
          pb,  | 
         
        
           | 
           | 
          unsigned char  | 
          abyte  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ put_amf_dword_array()
  
  
      
        
          | static void put_amf_dword_array  | 
          ( | 
          AVIOContext *  | 
          pb,  | 
         
        
           | 
           | 
          uint32_t  | 
          dw  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ put_amf_bool()
◆ write_metadata()
◆ unsupported_codec()
◆ flv_write_codec_header()
◆ flv_append_keyframe_info()
◆ shift_data()
◆ flv_init()
◆ flv_write_header()
◆ flv_write_trailer()
◆ flv_write_packet()
◆ flv_check_bitstream()
◆ flv_video_codec_ids
◆ flv_audio_codec_ids
Initial value:
Definition at line 52 of file flvenc.c.
 
 
◆ options
◆ flv_muxer_class
Initial value:= {
    .class_name = "flv muxer",
}
 
Definition at line 1108 of file flvenc.c.
 
 
◆ ff_flv_muxer
Initial value:= {
    .name           = "flv",
    .mime_type      = "video/x-flv",
    .extensions     = "flv",
                      },
}
 
Definition at line 1115 of file flvenc.c.
 
 
 
static av_cold int init(AVCodecContext *avctx)
 
@ AV_CODEC_ID_MP3
preferred ID for decoding MPEG audio layer 1, 2 or 3
 
#define AV_OPT_FLAG_ENCODING_PARAM
a generic parameter which can be set by the user for muxing or encoding
 
#define LIBAVUTIL_VERSION_INT
 
static int write_trailer(AVFormatContext *s1)
 
const char * av_default_item_name(void *ptr)
Return the context name.
 
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
 
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int unqueue)
 
int avio_read(AVIOContext *s, unsigned char *buf, int size)
Read size bytes from AVIOContext into buf.
 
static void write_header(FFV1Context *f)
 
static int check_bitstream(AVFormatContext *s, AVStream *st, AVPacket *pkt)