[MediaToolkit] [MediaToolkit_Video] Decimal Seek option

[MediaToolkit] [MediaToolkit_Video] Decimal Seek option

  
Forge Component
(3)
Published on 2017-12-14 by Mykola (Nick) Tkachenko
3 votes
Published on 2017-12-14 by Mykola (Nick) Tkachenko

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

Hi,


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


Thanks!

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.