Comments (1)
This issue indeed occurs because Olive would reach the end of a video, but the clip still had another 8 (in this video's case) frames causing Olive to get stuck in a loop waiting for a frame that didn't exist. Workaround introduced in 78786a3 where Olive no longer waits for frames. I initially thought that Olive needed to loop through frames in case av_read_frame retrieved invalid data of some kind, however removing this loop hasn't caused any issue so far. Now those final frames are filled in with duplicates of the last actual frame.
This is likely a flaw in Olive/FFmpeg's calculation of videos' durations as the clip lengths are calculated to be larger than the actual number of frames. Perhaps the audio stream duration is longer than the video stream and FFmpeg is retrieving the largest? Who knows, until audio support is implemented. For now I'll close this issue but keep in mind that there are potentially still issues with duration in Olive.
from olive.
Related Issues (20)
- Frame-by-frame doesn't work
- [UI] Not able to see any thumbnails when importing clips HOT 2
- [CRASH] Olive crashing after set amount of time
- [BUILD] Compilation instructions cannot be opened. HOT 2
- [CRASH] Frame by frame causing crash
- [PLAYBACK] Playback going black
- [CRASH] Olive randomly crashing HOT 3
- [UI] Can't rearrange the windows - olive portable HOT 1
- audio track[UI]
- Options window scroll bars annoying[EXPORT]
- [CRASH] Olilve crashes whilst scrubbing during playback HOT 1
- [BUILD] is there a plan for releases? HOT 1
- [UI]Black screen when opening application HOT 1
- Audio Lags Sometimes After Importing
- Cannot build on Arch [BUILD] HOT 9
- AppImage does not support Wayland HOT 4
- [EXPORT] Export takes too long and doesn't end HOT 1
- [RENDER] Can olive support api for video automation render by providing the pipeline file? HOT 1
- [PLAYBACK] Audio stuck conforming
- [BUILD] Cannot retrieve download links for versions prior than the latest one HOT 9
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 olive.