databrary / datavyu

Desktop video coding/annotation tool
http://datavyu.org/
GNU General Public License v3.0
26 stars 18 forks source link

[BUG] Moving the track before the needle does not seek and display the last frame #392

Closed TheoWolf closed 3 years ago

TheoWolf commented 3 years ago

When seek time is equal to the duration FFmpeg will not seek to the end, it needs a 100 ms lag to be able to seek to the last frame.

NativeOSX is not giving a black frame at the end of the video, I suspect the player is seeking to the end but when a pause event is triggered by the stream boundary check, it defaults to a black frame. need to be debugged on a Mac machine.

Note: this needs to be handled in the FFmpeg plugin, However, to speed up the process the logic is implemented in Datavyu.