VideoUtil: Get information from video (local/url)

1.Introduction

VideoUtil gives you some basic information about video including video’s thumbnail.
You can get info from both the url and local file as well.

Latest Version: 1.1

Released: July 27,2020

Last Updated: June 29, 2021

Permission(s): android.permission.READ_EXTERNAL_STORAGE,android.permission.WRITE_EXTERNAL_STORAGE

2.Blocks

image

image296×509 15 KB

3.Documentation

  • Got Thumbnail
    Event raised after getting thumbnail asynchronously and returns thumbnail’s (absolute) path .
    image
    path ~ text
  • Get Thumbnail
    Get thumbnail path of video from source.format can be png,jpeg or webm.quality should be between 1 and 100.Use this method to get thumbnails for small video files because it works synchronously and affects main thread.
    image
    videoPath ~ text
    format ~ text
    quality ~ int
    thumbPath ~ text (can be empty)
  • Get Thumbnail Async
    Works same as ‘GetThumbnail’ but asynchronously
    image
    videoPath ~ text
    format ~ text
    quality ~ int
    thumbPath ~ text (can be empty)
  • Set Image
    Sets image’s picture to thumbnail asynchronously
    image
    videoPath ~ text
    image ~ Image Component (can be dynamic)

4.Downloads

Aix can be downloaded from Github repo:

5.ChangeLog

 ChangeLog Version 1.1

New Blocks
image
If enabled then thumbnail(s) will be deleted as soon as user closes application
Disabled by default

Changes

  • Added videoPath is all methods and thumbPath param in few methods
  • Fixed crash/issue

Hope it helps!

Subscribe
Notify of
2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
bibek barman
11 months ago

Please random thumbnail name ko fixed kar dijiye
Ek video thumbnail ka ek hi name ayega chahe kitna he bar thumbnail generate kare

Suckmydickbitch
4 months ago

Very good

Last edited 4 months ago by Suckmydickbitch