#include <stdint.h>
#include "libavutil/dict.h"
#include "libavformat/avformat.h"
Go to the source code of this file.
|
| uint8_t * | ff_ogg_write_vorbiscomment (int64_t offset, int bitexact, int *header_len, AVDictionary **m, int framing_bit, AVChapter **chapters, unsigned int nb_chapters) |
| | Allocate a comment header packet holding a VorbisComment.
|
| |
| int | ff_ogg_build_xiph_headers (AVFormatContext *s, AVStream *st, int first_header_size, int comment_type, const char *name, int framing_bit) |
| | Build the headers of a codec using the Xiph header layout: identification, comment and setup packets laced in the extradata.
|
| |
◆ MAX_PAGE_SIZE
| #define MAX_PAGE_SIZE 65025 |
◆ ff_ogg_write_vorbiscomment()
| uint8_t * ff_ogg_write_vorbiscomment |
( |
int64_t | offset, |
|
|
int | bitexact, |
|
|
int * | header_len, |
|
|
AVDictionary ** | m, |
|
|
int | framing_bit, |
|
|
AVChapter ** | chapters, |
|
|
unsigned int | nb_chapters ) |
◆ ff_ogg_build_xiph_headers()
| int ff_ogg_build_xiph_headers |
( |
AVFormatContext * | s, |
|
|
AVStream * | st, |
|
|
int | first_header_size, |
|
|
int | comment_type, |
|
|
const char * | name, |
|
|
int | framing_bit ) |
Build the headers of a codec using the Xiph header layout: identification, comment and setup packets laced in the extradata.
- Parameters
-
| first_header_size | the size of the identification header |
| comment_type | the packet type of the comment header |
| name | the codec name in the comment header |
| framing_bit | whether the comment header ends with a framing bit |
Definition at line 287 of file muxer.c.
Referenced by theora_init(), and vorbis_init().
◆ ff_ogg_flac_muxer_mapping
◆ ff_ogg_opus_muxer_mapping
◆ ff_ogg_speex_muxer_mapping
◆ ff_ogg_theora_muxer_mapping
◆ ff_ogg_vorbis_muxer_mapping
◆ ff_ogg_vp8_muxer_mapping