78
Views
2
Comments
[MediaToolkit] [MediaToolkit_Video] Decimal Seek option
Question
mediatoolkit
Service icon
Forge asset by darwinLabs Dev Team

Hello,


Please change the type of the variable SeekPositionInSeconds from GetVideoThumbnailAndMetadata to Decimal.


I have an user case which requires extracting multiple frames per second from a video. Since the input is currently Integer, I am unable to get more than 1 different frame per second.


Thanks

2022-02-18 15-32-27
João Almeida
Champion

Hi,


That makes sense, we'll add it to our backlog.


Thanks!

2019-10-27 01-32-56
Caio Santana Magalhães
 
MVP

João Almeida wrote:

Hi,


That makes sense, we'll add it to our backlog.


Thanks!

If you wish, you can add me to the team so I can make this change.


Currently, I am using a modified version of MediaToolkit. I would rather have this implemented ASAP to avoid the risk of updating the component and undo’ing this change which is critical in our use case.


The change is very simple:

- Altering the type of the SeekPositionInSeconds input to Decimal

- In the code, cast the SeekPositionInSeconds to (double) before passing into TimeSpan.FromSeconds().


Thank you.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.