AV_TIME_BASE 488 ffmpeg.c return (double)(ist->pts - start_time)/AV_TIME_BASE; AV_TIME_BASE 769 ffmpeg.c 1000000 * ist->pts / AV_TIME_BASE); AV_TIME_BASE 1245 ffmpeg.c ist->next_pts += ((int64_t)AV_TIME_BASE/2 * data_size) / AV_TIME_BASE 1264 ffmpeg.c ist->next_pts += ((int64_t)AV_TIME_BASE * AV_TIME_BASE 1287 ffmpeg.c ist->next_pts += ((int64_t)AV_TIME_BASE * ist->st->codec->frame_size) / AV_TIME_BASE 1293 ffmpeg.c ist->next_pts += ((int64_t)AV_TIME_BASE * AV_TIME_BASE 1327 ffmpeg.c int64_t pts = av_rescale(ist->pts, 1000000, AV_TIME_BASE); AV_TIME_BASE 1345 ffmpeg.c (double)pkt->pts / AV_TIME_BASE, AV_TIME_BASE 1346 ffmpeg.c ((double)ist->pts / AV_TIME_BASE) - AV_TIME_BASE 2142 ffmpeg.c if((FFABS(delta) > 1LL*dts_delta_threshold*AV_TIME_BASE || pkt_dts+1<ist->pts)&& !copy_ts){ AV_TIME_BASE 2856 ffmpeg.c filename, (double)timestamp / AV_TIME_BASE); AV_TIME_BASE 3409 ffmpeg.c oc->preload= (int)(mux_preload*AV_TIME_BASE); AV_TIME_BASE 3410 ffmpeg.c oc->max_delay= (int)(mux_max_delay*AV_TIME_BASE); AV_TIME_BASE 1968 ffplay.c is->filename, (double)timestamp / AV_TIME_BASE); AV_TIME_BASE 2349 ffplay.c stream_seek(cur_stream, (int64_t)(pos * AV_TIME_BASE), incr); AV_TIME_BASE 2086 ffserver.c c->fmt_ctx.preload = (int)(0.5*AV_TIME_BASE); AV_TIME_BASE 2087 ffserver.c c->fmt_ctx.max_delay = (int)(0.7*AV_TIME_BASE); AV_TIME_BASE 2186 ffserver.c AV_TIME_BASE, AV_TIME_BASE 2188 ffserver.c AV_TIME_BASE); AV_TIME_BASE 3012 ffserver.c printf("range_start=%0.3f\n", (double)h->range_start / AV_TIME_BASE); AV_TIME_BASE 48 libavcodec/avcodec.h #define AV_TIME_BASE_Q (AVRational){1, AV_TIME_BASE} AV_TIME_BASE 411 libavformat/ape.c s->duration = (int64_t) total_blocks * AV_TIME_BASE / ape->samplerate; AV_TIME_BASE 375 libavformat/avidec.c dv_dur *= AV_TIME_BASE; AV_TIME_BASE 678 libavformat/avidec.c ts= av_rescale(ts, AV_TIME_BASE * (int64_t)st->time_base.num, st->time_base.den); AV_TIME_BASE 691 libavformat/avidec.c best_ts= av_rescale(best_ts, best_st->time_base.den, AV_TIME_BASE * (int64_t)best_st->time_base.num); //FIXME a little ugly AV_TIME_BASE 132 libavformat/dxa.c s->duration = (int64_t)c->frames * AV_TIME_BASE * num / den; AV_TIME_BASE 189 libavformat/flvdec.c if(!strcmp(key, "duration")) s->duration = num_val * AV_TIME_BASE; AV_TIME_BASE 392 libavformat/flvdec.c s->duration= get_be24(s->pb) * (int64_t)AV_TIME_BASE / 1000; AV_TIME_BASE 1172 libavformat/matroskadec.c * 1000 / AV_TIME_BASE; AV_TIME_BASE 2037 libavformat/mov.c AV_TIME_BASE, msc->time_scale); AV_TIME_BASE 2042 libavformat/mov.c ((FFABS(best_dts - dts) <= AV_TIME_BASE && current_sample->pos < sample->pos) || AV_TIME_BASE 2043 libavformat/mov.c (FFABS(best_dts - dts) > AV_TIME_BASE && dts < best_dts)))))) { AV_TIME_BASE 112 libavformat/mpc.c s->duration = (int64_t)c->fcount * MPC_FRAMESIZE * AV_TIME_BASE / st->codec->sample_rate; AV_TIME_BASE 1028 libavformat/mpegenc.c const int64_t max_delay= av_rescale(ctx->max_delay, 90000, AV_TIME_BASE); AV_TIME_BASE 1151 libavformat/mpegenc.c const int preload= av_rescale(ctx->preload, 90000, AV_TIME_BASE); AV_TIME_BASE 697 libavformat/mpegtsenc.c const uint64_t delay = av_rescale(s->max_delay, 90000, AV_TIME_BASE); AV_TIME_BASE 488 libavformat/nutdec.c *ts= tmp / s->nb_streams * av_q2d(nut->time_base[tmp % s->nb_streams])*AV_TIME_BASE; AV_TIME_BASE 848 libavformat/nutdec.c Syncpoint dummy={.ts= pts*av_q2d(st->time_base)*AV_TIME_BASE}; AV_TIME_BASE 53 libavformat/options.c {"analyzeduration", "how many microseconds are analyzed to estimate duration", OFFSET(max_analyze_duration), FF_OPT_TYPE_INT, 3*AV_TIME_BASE, 0, INT_MAX, D}, AV_TIME_BASE 80 libavformat/rtpenc.c s->max_frames_per_packet = av_rescale_rnd(s1->max_delay, st->codec->sample_rate, AV_TIME_BASE * st->codec->frame_size, AV_ROUND_DOWN); AV_TIME_BASE 1439 libavformat/rtsp.c (double)rt->seek_timestamp / AV_TIME_BASE); AV_TIME_BASE 1562 libavformat/utils.c timestamp = av_rescale(timestamp, st->time_base.den, AV_TIME_BASE * (int64_t)st->time_base.num); AV_TIME_BASE 1645 libavformat/utils.c ic->bit_rate = (double)ic->file_size * 8.0 * AV_TIME_BASE / AV_TIME_BASE 1830 libavformat/utils.c i, (double)st->start_time / AV_TIME_BASE, AV_TIME_BASE 1831 libavformat/utils.c (double)st->duration / AV_TIME_BASE); AV_TIME_BASE 1834 libavformat/utils.c (double)ic->start_time / AV_TIME_BASE, AV_TIME_BASE 1835 libavformat/utils.c (double)ic->duration / AV_TIME_BASE, AV_TIME_BASE 2859 libavformat/utils.c secs = ic->duration / AV_TIME_BASE; AV_TIME_BASE 2860 libavformat/utils.c us = ic->duration % AV_TIME_BASE; AV_TIME_BASE 2866 libavformat/utils.c (100 * us) / AV_TIME_BASE); AV_TIME_BASE 2873 libavformat/utils.c secs = ic->start_time / AV_TIME_BASE; AV_TIME_BASE 2874 libavformat/utils.c us = ic->start_time % AV_TIME_BASE; AV_TIME_BASE 2876 libavformat/utils.c secs, (int)av_rescale(us, 1000000, AV_TIME_BASE)); AV_TIME_BASE 3181 libavformat/utils.c PRINT(" duration=%0.3f\n", (double)pkt->duration / AV_TIME_BASE); AV_TIME_BASE 3187 libavformat/utils.c PRINT("%0.3f", (double)pkt->dts / AV_TIME_BASE); AV_TIME_BASE 3193 libavformat/utils.c PRINT("%0.3f", (double)pkt->pts / AV_TIME_BASE); AV_TIME_BASE 153 libavformat/wv.c s->duration = (int64_t)wc->samples * AV_TIME_BASE / st->codec->sample_rate; AV_TIME_BASE 89 tests/seek_test.c timestamp= (i*19362894167LL) % (4*AV_TIME_BASE) - AV_TIME_BASE; AV_TIME_BASE 95 tests/seek_test.c printf("ret:%2d st:%2d ts:%f flags:%d\n", ret, stream_id, timestamp*(stream_id<0 ? 1.0/AV_TIME_BASE : av_q2d(st->time_base)), i&1);