PeterL1n / RobustVideoMatting

Robust Video Matting in PyTorch, TensorFlow, TensorFlow.js, ONNX, CoreML!
https://peterl1n.github.io/RobustVideoMatting/
GNU General Public License v3.0
8.61k stars 1.14k forks source link

为什么要去掉声音呢? #25

Closed zhaoyuan020 closed 2 years ago

PeterL1n commented 3 years ago

好像PyAV有个Bug,新的视频帧数必须是整数,所以如果输入时23.976,输出我只能四舍五入变成24,由于帧数变了,没法直接拷贝音轨,所以这个inference脚本没有拷贝声音。