Lines Matching refs:time_base
75 AVRational *time_base = &fmt_ctx->streams[pkt->stream_index]->time_base;
78 av_ts2str(pkt->pts), av_ts2timestr(pkt->pts, time_base),
79 av_ts2str(pkt->dts), av_ts2timestr(pkt->dts, time_base),
80 av_ts2str(pkt->duration), av_ts2timestr(pkt->duration, time_base),
107 av_packet_rescale_ts(pkt, c->time_base, st->time_base);
174 ost->st->time_base = (AVRational){ 1, c->sample_rate };
188 ost->st->time_base = (AVRational){ 1, STREAM_FRAME_RATE };
189 c->time_base = ost->st->time_base;
318 if (av_compare_ts(ost->next_pts, ost->enc->time_base,
376 frame->pts = av_rescale_q(ost->samples_count, (AVRational){1, c->sample_rate}, c->time_base);
480 if (av_compare_ts(ost->next_pts, c->time_base,
624 (!encode_audio || av_compare_ts(video_st.next_pts, video_st.enc->time_base,
625 audio_st.next_pts, audio_st.enc->time_base) <= 0)) {