Go to the documentation of this file.
32 for (
i = 0;
i <
s->nb_streams;
i++) {
37 avio_printf(
s->pb,
"#extradata %d: %8d, 0x%08"PRIx32
"\n",
50 snprintf(
buf,
sizeof(
buf),
"%d, %10"PRId64
", %10"PRId64
", %8"PRId64
", %8d, 0x%08"PRIx32,
59 uint32_t side_data_crc = 0;
uint8_t * extradata
Extra binary data needed for initializing the decoder, codec-dependent.
This struct describes the properties of an encoded stream.
@ AV_PKT_DATA_PALETTE
An AV_PKT_DATA_PALETTE side data packet contains exactly AVPALETTE_SIZE bytes worth of palette.
int64_t duration
Duration of this packet in AVStream->time_base units, 0 if unknown.
size_t av_strlcatf(char *dst, size_t size, const char *fmt,...)
#define AV_PKT_FLAG_KEY
The packet contains a keyframe.
static int framecrc_write_packet(struct AVFormatContext *s, AVPacket *pkt)
AVCodecParameters * codecpar
Codec parameters associated with this stream.
enum AVPacketSideDataType type
static int framecrc_write_header(struct AVFormatContext *s)
int extradata_size
Size of the extradata content in bytes.
AVOutputFormat ff_framecrc_muxer
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
int64_t dts
Decompression timestamp in AVStream->time_base units; the time at which the packet is decompressed.
void avio_write(AVIOContext *s, const unsigned char *buf, int size)
int flags
A combination of AV_PKT_FLAG values.
#define i(width, name, range_min, range_max)
int64_t pts
Presentation timestamp in AVStream->time_base units; the time at which the decompressed packet will b...
AVPacketSideData * side_data
Additional packet data that can be provided by the container.
int avio_printf(AVIOContext *s, const char *fmt,...) av_printf_format(2
unsigned long av_adler32_update(unsigned long adler, const uint8_t *buf, unsigned int len)
Calculate the Adler32 checksum of a buffer.
This structure stores compressed data.
int ff_framehash_write_header(AVFormatContext *s)
Set the timebase for each stream from the corresponding codec timebase and print it.