如何使用 Python 解碼庫按時間戳而不是按幀索引查找?
[英]How to use Python decord library to seek by timestamp instead of by frame index?
Decord允許使用索引從文件中查找視頻幀,例如: video_reader = decord.VideoReader(video_path) frames = video_reader.get_batch(indices) 如果我有時間戳(以秒為單位),我該怎么做? ...