- Ethereum Protocol
- Mitigate the negative externalities posed by MEV
darron1217 / strapi-plugin-video-thumbnail Goto Github PK
View Code? Open in Web Editor NEWVideo thumbnail plugin for Strapi
License: MIT License
Video thumbnail plugin for Strapi
License: MIT License
using Strapi v3.4.6
installed "strapi-plugin-video-thumbnail": "^0.1.2",
Hey!
I'm using strapi v4 for my project and wanna get thumbnails for my videos
But strapi team says that plugins for strapi v3 are not supported for v4
Please add support for strapi v4
I have some references to solve this issue:
Some platforms like youtube have a small, in place preview of the video when you hover over it. These previews are essentially a few seconds in total consisting of a few seconds of the original video at different positions (chronological of course and probably based on a percentage).
For example you have a 60 second video, the preview clip should be a 5 second long clip (with no audio) that consists of the following chunks of that original video:
Making a total of 5 seconds. This would be awesome to have as a preview.
EDIT:
ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 input.mp4
would provide the duration which then could be used by dividing it by 10 or so
and using that value in this cmd
ffmpeg -i input.mp4 -vf "select='lt(mod(t,FFPROBE_OUTPUT),3)',setpts=N/(FRAME_RATE*TB),scale=320:-2" -af "aselect='lt(mod(t,FFPROBE_OUTPUT),3)',asetpts=N/SR/TB" -an output.mp4
This would generate a preview video that consists of multiple 3 second videos for every 10% of the original one (only feasible of course if the video is of a certain length)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.