jonataslaw / jonataslaw/VideoCompress

`VideoCompress.getByteThumbnail` extract the same frame at different position

Open
#275 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
262
Forks
344
PR merge metrics
No merged PRs in 30d

Description

```
final uint8list = await VideoCompress.getByteThumbnail(
videopath,
position: 0
);
final uint8list = await VideoCompress.getByteThumbnail(
videopath,
position: 10
);
final uint8list = await VideoCompress.getByteThumbnail(
videopath,
position: 100
);
final uint8list = await VideoCompress.getByteThumbnail(
videopath,
position: 1000
);
```
except `position: 0` `VideoCompress.getByteThumbnail` returns the same frame each time on MacOS
it's not clear how `VideoCompress.getByteThumbnail` selects the frame to extract, does it use keyframe? the extracted keyframe doesn't match the `position` on macOS

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.