Skip to content
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

ffmpeg timestamps and mpv timestamps do not match #263

Open
pikim opened this issue Feb 1, 2020 · 0 comments
Open

ffmpeg timestamps and mpv timestamps do not match #263

pikim opened this issue Feb 1, 2020 · 0 comments

Comments

@pikim
Copy link

pikim commented Feb 1, 2020

I would like to cut a h264 video using SmartCut. The first frame the output should contain has the timestamp 327.76 in Vidcutters preview. When I try to export this frame using ffmpeg -ss 327.76 -i movie.avi -frames:v 1 out0.jpg I get an image of the frame that comes 2 frames before the desired one.

So there's an offset of two frames after about 3 minutes. The bigger the timestamps become the bigger the offset becomes. It doesn't matter whether ffmpeg uses input or output seeking. After about 30 minutes there are 7 frames offset. The ffprobed timestamps match the ffmpeg output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant