databrary / datavyu-ffmpegplugin

A Java Media Player based on FFmpeg and SDL2
GNU General Public License v3.0
13 stars 4 forks source link

Implement Start Time in the Native Media Player #156

Closed TheoWolf closed 5 years ago

TheoWolf commented 5 years ago

Persist the start time of the video, the FFmpeg and MPV players start at 0 ms unless the client uses a custom start time. However, the AVFoundation uses the presentation time of the first frame as a start time in order to have a consistent frame by frame jogging. Implementing this feature on the native side of the FFmpeg player is the proper way for this issue however it is useful only (for now!) for the AVFoundation player.