Comments (6)
Update: newest version shows keyframes on the timeline and lets you zoom in to accurately cut around keyframes. Next version I could let the user seek to keyframe.
from lossless-cut.
See discussion in #13. The problem is how to detect safe keyframes reliably and fast.
from lossless-cut.
I made a branch where I implemented this, however actually cutting on keyframe is not yet solved.
https://github.com/mifi/lossless-cut/tree/cut-on-keyframe
from lossless-cut.
Found myself using this again. I think some new commit might have broken cutting from 00.00.00.000, it's doing that frozen frame thing. Never ran into this issue before.
Possibly more related to this original topic, I also noticed that Lossless Cut's timestamps don't change with the framerate of the video. This shouldn't be a problem with video that's 60 FPS, or 30 or 15 or 10 etc, but it might not with frame rates that don't divide evenly. Most commonly would probably be 24 or 23.976 FPS. Potentially might even be affecting 59.94 FPS video.
There are also some rare occasions where the timestamps seem to stop lining up with the video? For example, right now I'm looking at a seekbar that says 8.40.003. If I press comma to go back one frame, it says 8.39.987, seemingly skipping 8.40.000. After mess around with clicking the seekbar and skipping around by frame or by seconds, I can now get that same video to say 8.40.002.
from lossless-cut.
Found myself using this again. I think some new commit might have broken cutting from 00.00.00.000, it's doing that frozen frame thing. Never ran into this issue before.
This is fixed in #50
Possibly more related to this original topic, I also noticed that Lossless Cut's timestamps don't change with the framerate of the video. This shouldn't be a problem with video that's 60 FPS, or 30 or 15 or 10 etc, but it might not with frame rates that don't divide evenly. Most commonly would probably be 24 or 23.976 FPS. Potentially might even be affecting 59.94 FPS video.
I don't quite understand this one.
There are also some rare occasions where the timestamps seem to stop lining up with the video? For example, right now I'm looking at a seekbar that says 8.40.003. If I press comma to go back one frame, it says 8.39.987, seemingly skipping 8.40.000. After mess around with clicking the seekbar and skipping around by frame or by seconds, I can now get that same video to say 8.40.002.
The thing is that we are not aligning timestamps to frame timestamps at all, because the html5 video player does not expose this information. We could, however read frame timestamps using ffprobe or similar, but I don't think this gives us anything, unless we can tell ffmpeg to accurately cut on (key)frames
from lossless-cut.
FYI Seek to keyframe is implemented with alt+left and alt+right. However don't expect ffmpeg to always cut at the keyframe selected. You may have to try "keyframe cut" or "normal cut" depending on codec and file.
from lossless-cut.
Related Issues (20)
- Option to rearrange tracks/streams
- Show exactly where the cut will be made HOT 1
- Merge cut export fade to black or fade to next clip HOT 1
- Support multiple sets of segments in LLC project file HOT 2
- Merging fields from a csv file into text overlay HOT 1
- different configuration support for different copys of Losslesscut HOT 4
- Improving fast seek behavior ? HOT 4
- Can't drag & drop on windows 11 HOT 9
- Exporting MKV loses aspect ratio HOT 2
- Copy and Paste Segment Tags HOT 3
- Audio Loss When Exporting HOT 1
- Allow using the concat protocol (for MPEG TS) HOT 10
- Improve Dark Mode HOT 6
- Repeated frames at each joined segment or chapter in continuous video HOT 1
- GPU encoding to VP9 codec HOT 3
- The screen will be blurred when the video is cut out HOT 1
- Custom folder paths for exports on Windows HOT 1
- Checkbox to export segments next to working file instead of specified directory HOT 1
- XFade between cuts HOT 1
- docker version would be nice HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lossless-cut.