Lee Sin
Results
2
issues of
Lee Sin
超过2G的大文件,probe阶段时间过长,大于一分钟,probe阶段只需获取媒体基本信息,可以提供优化思路么
【问题描述】 demux mp4时,发现存在**片源和ffmpeg 的 pts, dts** 不一致,导致同步问题,排查发现: mov_apply_elst API,media_time 时间单位为mdhd.timescale,转换为dts单位,**因进行如下运算,不应直接赋值** track->samples[0].dts = track->elst[i].segment_duration * track->mdhd.timescale / 1000; mov_apply_elst_tfdt API,亦是如此;  【片源】 https://github.com/user-attachments/assets/f9de5568-5db9-4e93-8a52-0c2a5a4b9d8b