put_amf_double 234 libavformat/flvenc.c put_amf_double(pb, s->duration / AV_TIME_BASE); put_amf_double 238 libavformat/flvenc.c put_amf_double(pb, flv->video_enc->width); put_amf_double 241 libavformat/flvenc.c put_amf_double(pb, flv->video_enc->height); put_amf_double 244 libavformat/flvenc.c put_amf_double(pb, flv->video_enc->bit_rate / 1024.0); put_amf_double 248 libavformat/flvenc.c put_amf_double(pb, flv->framerate); put_amf_double 253 libavformat/flvenc.c put_amf_double(pb, flv->video_enc->codec_tag); put_amf_double 258 libavformat/flvenc.c put_amf_double(pb, flv->audio_enc->bit_rate / 1024.0); put_amf_double 261 libavformat/flvenc.c put_amf_double(pb, flv->audio_enc->sample_rate); put_amf_double 264 libavformat/flvenc.c put_amf_double(pb, flv->audio_enc->codec_id == AV_CODEC_ID_PCM_U8 ? 8 : 16); put_amf_double 270 libavformat/flvenc.c put_amf_double(pb, flv->audio_enc->codec_tag); put_amf_double 275 libavformat/flvenc.c put_amf_double(pb, 0.0); put_amf_double 311 libavformat/flvenc.c put_amf_double(pb, 0); // delayed write put_amf_double 496 libavformat/flvenc.c put_amf_double(pb, flv->duration / (double)1000); put_amf_double 500 libavformat/flvenc.c put_amf_double(pb, file_size);