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

Video Thumbnail Out of Sync #2312

Open
4 tasks done
Dougal666 opened this issue Jan 29, 2025 · 1 comment
Open
4 tasks done

Video Thumbnail Out of Sync #2312

Dougal666 opened this issue Jan 29, 2025 · 1 comment

Comments

@Dougal666
Copy link

Dougal666 commented Jan 29, 2025

The fewer issues I have to read, the more new features I will have time to implement, so I ask that you please try these things first

Operating System

Windows 11

Steps to reproduce

I've seen all the "LLC cutting at the wrong place" threads and I think you missed the source of the problem.

I've cut hundreds of HDTV streams with LLC and the way I do it is this:

  • Find cut points with MPC, copy timecode
  • Paste timecode into LLC

Every time I've done this, the video thumbnail showed the wrong position and I had to move about 15 frames back for it to show the right place. I assumed the problem with the timecode given by MPC.
The cuts never were exactly where I wanted, but I assumed it was because of the keyframe cutting.

Now, however, I tried cutting at the exact points I got from MPC (without moveing 15 frames back)... and it cut at the places I wanted.

This means that LLC/ffmpeg cuts at the right timecode and the video thumbnail is out of sync by about 15 frames.

So your "ffmpeg cuts 20 frames too early" is actually the result of you giving it the wrong timecode because of the thumbnail showing 15 frames forward...

Expected behavior

Thumbnail should correspond to correct timecode.

Actual behavior

Thumbnail doesn't correspond to timecode...

Share log from developer tools

No response

@mifi
Copy link
Owner

mifi commented Jan 31, 2025

So your "ffmpeg cuts 20 frames too early" is actually the result of you giving it the wrong timecode because of the thumbnail showing 15 frames forward...

Where does 20 frames come from? Not sure what you mean by this but LosslessCut doesn't subtract 20 or 15 frames from the segment times in the UI. LosslessCut sends those exact times to ffmpeg. What ffmpeg does internally depends on the particular file, it's audio/video tracks, codecs, keyframes, cutting mode, and many other settings. Not sure what change you want exactly. You can try to enable/disable keyframe cut mode and see if it makes a difference.

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

2 participants