VideoFlint / Cabbage

A video composition framework build on top of AVFoundation. It's simple to use and easy to extend.
MIT License
1.52k stars 221 forks source link

avplayer seek后,影音不同步 #82

Closed hydyy closed 2 years ago

hydyy commented 2 years ago

在预览的时候, 来回拖动slider,去seek, 会出现音画不同步的情况, 我观察了下,画面是对的, 声音滞后或者提前了.

    let timeline = Timeline()
    timeline.videoChannel = videos
//    timeline.audioChannel = audios
    timeline.overlays = overlays
    timeline.audios = audios
    timeline.renderSize = HVTHelper.renderSize
hydyy commented 2 years ago

是音频本身的问题,好奇怪~~~