Lines Matching defs:flv
24 #include "flv.h"
74 av_log(enc, AV_LOG_ERROR, "flv only supports wideband (16kHz) Speex audio\n");
78 av_log(enc, AV_LOG_ERROR, "flv only supports mono Speex audio\n");
101 av_log(enc, AV_LOG_ERROR, "flv does not support that sample rate, choose from (44100, 22050, 11025).\n");
139 av_log(enc, AV_LOG_ERROR, "codec not compatible with flv\n");
179 FLVContext *flv = s->priv_data;
197 av_log(enc, AV_LOG_ERROR, "video codec not compatible with flv\n");
213 flv->delay = AV_NOPTS_VALUE;
229 flv->reserved=5;
253 flv->duration_offset= avio_tell(pb);
298 flv->filesize_offset= avio_tell(pb);
352 FLVContext *flv = s->priv_data;
368 avio_seek(pb, flv->duration_offset, SEEK_SET);
369 put_amf_double(pb, flv->duration / (double)1000);
370 avio_seek(pb, flv->filesize_offset, SEEK_SET);
381 FLVContext *flv = s->priv_data;
403 av_log(enc, AV_LOG_ERROR, "video codec %X not compatible with flv\n",enc->codec_id);
424 if (flv->delay == AV_NOPTS_VALUE)
425 flv->delay = -pkt->dts;
426 if (pkt->dts < -flv->delay) {
432 ts = pkt->dts + flv->delay; // add delay to force positive dts
447 avio_wb24(pb,flv->reserved);
463 flv->duration = FFMAX(flv->duration, pkt->pts + flv->delay + pkt->duration);
473 .name = "flv",
475 .mime_type = "video/x-flv",
476 .extensions = "flv",