AVRational src_time_base = (AVRational){1, 25};
AVRational dst_time_base = (AVRational){1, 90000};
int64_t pts = 2;
int64_t new_pts = av_rescale_q(pts, src_time_base , dst_time_base);

AVRational src_time_base = (AVRational){1, 25};
AVRational dst_time_base = (AVRational){1, 90000};
int64_t pts = 2;
int64_t new_pts = av_rescale_q(pts, src_time_base , dst_time_base);
本文标题:ffmpeg # time_base转换函数av_rescale
本文链接:https://www.haomeiwen.com/subject/nssfbqtx.html
网友评论