-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue to fix the offset #53
Comments
@EhsanRusta What's the FPS of the original video? You should specify |
still the offset of the corrected video is not close to 1 |
First, you should get the original FPS for each video. And then, synchronize video according to its AV OFFSET:
After doing this, OFFSET for the new video will be 0. But i only test on few videos. Referring to https://superuser.com/a/983153 |
Why aren’t they all video_len-abs(OFFSET)/FPS? |
您好,您的来信我已经收到,会尽快回复。
|
多谢兄弟,我是想问为啥一个时长不变,一个变成 video_len-abs(OFFSET)/FPS了 |
嗷这里是考虑到音频提前之后视频会有一部分没有声音就裁掉了,我想了一下实际上应该同时对校正后视频的头尾进行裁剪,如果你的offset是几秒的话得到的视频前几秒是【卡顿有声音】或者【画面在动但是无声音】 |
谢谢,好人一生平安 |
谢谢子华兄 |
I'm trying to remove the offset of a video, the offset is -15 and use the following command to shift the video,
" ffmpeg -y -i temp.mp4 -itsoffset -0.5 -i newtemp.mp4 -ss -0.5 -t 9.2 -map 0:v -map 1:a new0.mp4 "
but new video has offset equal to 8! I don't know waht is the issue, should I change anything else?
the FPS has changed to 25
The text was updated successfully, but these errors were encountered: