-
Notifications
You must be signed in to change notification settings - Fork 6
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
request for a few extra methods - set/get current time, get metadata(duration and other tags), set framerate speed #4
Comments
Can't you pass in a multiplied dt to achive a different framerate speed? What kind of metadata do you need? |
I updated the example with some on-screen controls to pause, stop and fast forward |
@britzl thank you for updating the example. The seek should allow more interesting interaction methods with the video file - not just playing it. Scrubbing could be hooked with inputs, time ranges could be set to loop a number of times or until the player achieves somethings, etc. For metadata I mean the ability to read meta tags, implaned by the user - all the metatags! Ffmpeg for example can attach metatags to video files like this: It could be very cool if we were able to get these tags and use them For debugging, try above command and to retrieve the metadata you inserted back, ffmpeg can also do that: |
The metadata is not as important as a proper seek method. Setting the video to a specific position |
For the javascript implementation you can get and set currentTime very easily via the htmlmediaelement https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/currentTime |
Thank you for adressing the compilation error issue btw. I will give it a try again in the weekend.
I really want to use this on a project, but I am missing a few features:
The text was updated successfully, but these errors were encountered: