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

player.getCurrentTime() returns wrong time position? #3

Open
patrick99e99 opened this issue Oct 1, 2021 · 0 comments
Open

player.getCurrentTime() returns wrong time position? #3

patrick99e99 opened this issue Oct 1, 2021 · 0 comments

Comments

@patrick99e99
Copy link

patrick99e99 commented Oct 1, 2021

I have been trying to overlay smpte timecode over the bitmovin player by doing:
SmpteTimestamp.fromTimeWithAdjustments(player.getCurrentTime(), assetDescription);

I have videos which have the correct timecode printed on them via: https://tutorials.hybrik.com/print_timecode/

When I freeze frame on the bitmovin player, certain playback positions will show the timecode generated from SmpteTimestamp being either a frame behind or a frame head of the timecode that is printed on the video.

It appears that Bitmovin's player.getCurrentTime() is returning a value that is slightly off from what frame it is actually viewing when paused.

Here is a screenshot showing the smpte timestamp generated from the SmpteTimestamp.fromTimeWithAdjustments being one frame behind from the actual timecode that is printed on the video:

Screen Shot 2021-10-01 at 1 17 23 PM

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

1 participant