static int smjpeg_write_trailer(AVFormatContext *s)
AVCodecContext * codec
Codec context associated with this stream.
void av_log(void *avcl, int level, const char *fmt,...) av_printf_format(3
Send the specified message to the log if the level is less than or equal to the current av_log_level...
static int smjpeg_write_packet(AVFormatContext *s, AVPacket *pkt)
const AVCodecTag ff_codec_smjpeg_video_tags[]
int duration
Duration of this packet in AVStream->time_base units, 0 if unknown.
static int smjpeg_write_header(AVFormatContext *s)
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
int av_get_bits_per_sample(enum AVCodecID codec_id)
Return codec bits per sample.
void * priv_data
Format private data.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
unsigned int nb_streams
Number of elements in AVFormatContext.streams.
int seekable
A combination of AVIO_SEEKABLE_ flags or 0 when the stream is not seekable.
int width
picture width / height.
AVStream ** streams
A list of all streams in the file.
enum AVMediaType codec_type
int sample_rate
samples per second
main external API structure.
AVIOContext * pb
I/O context.
AVDictionary * metadata
Metadata that applies to the whole file.
AVDictionaryEntry * av_dict_get(const AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags)
Get a dictionary entry with matching key.
const AVCodecTag ff_codec_smjpeg_audio_tags[]
int channels
number of audio channels
static void write_header(FFV1Context *f)
#define AV_DICT_IGNORE_SUFFIX
AVOutputFormat ff_smjpeg_muxer
This structure stores compressed data.
int64_t pts
Presentation timestamp in AVStream->time_base units; the time at which the decompressed packet will b...