美文网首页
ffmpeg # time_base转换函数av_rescale

ffmpeg # time_base转换函数av_rescale

作者: FlyingPenguin | 来源:发表于2019-03-28 09:07 被阅读0次
        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);
    
    image.png

    相关文章

      网友评论

          本文标题:ffmpeg # time_base转换函数av_rescale

          本文链接:https://www.haomeiwen.com/subject/nssfbqtx.html