Lines Matching defs:time_base
109 static const char *const opt_name_time_bases[] = {"time_base", NULL};
1372 f->time_base = (AVRational){ 1, 1 };
1529 const char *bsfs = NULL, *time_base = NULL;
1619 MATCH_PER_STREAM_OPT(time_bases, str, time_base, oc, st);
1620 if (time_base) {
1622 if (av_parse_ratio(&q, time_base, INT_MAX, 0, NULL) < 0 ||
1624 av_log(NULL, AV_LOG_FATAL, "Invalid time base: %s\n", time_base);
1627 st->time_base = q;
1630 MATCH_PER_STREAM_OPT(enc_time_bases, str, time_base, oc, st);
1631 if (time_base) {
1633 if (av_parse_ratio(&q, time_base, INT_MAX, 0, NULL) < 0 ||
1635 av_log(NULL, AV_LOG_FATAL, "Invalid time base: %s\n", time_base);
2235 AV_TIME_BASE_Q, in_ch->time_base);
2237 av_rescale_q(ofile->recording_time, AV_TIME_BASE_Q, in_ch->time_base);
2250 out_ch->time_base = in_ch->time_base;
3080 fr = st->time_base.den * 1000LL / st->time_base.num;
3993 { "time_base", HAS_ARG | OPT_STRING | OPT_EXPERT | OPT_SPEC | OPT_OUTPUT, { .off = OFFSET(time_bases) },