I
I
Igor Vasiliev2017-07-23 19:24:52
JavaScript
Igor Vasiliev, 2017-07-23 19:24:52

How to make a video preview on a video?

Hello.
--
BACKGROUND: And again, the question of playing media files. All this time I used it Uppod, which for a certain amount allows you to create any player for audio and video viewing on a PRO account . Plus slideshow.
Of the minuses, not adaptive for web design, flash technology is used, which does not work for everyone, and not in every browser. The question was raised about installing radio 101.ru on your site, and again flash, and again this one Uppod.

In the paid version, he also makes screenshots on the video that is posted in it, but the sadness is melancholy, it only plays mp4 !!!

When developing my social network, I thought about making a video preview, like in contact, on YouTube and on other well-known sites. Heard about a certain ffmpeg that takes a series of screenshots, which gives the illusion that the video is playing without sound. I tried to get to the bottom of the matter for a long time, and found out that there is some javascript that takes screenshots from uploaded files, from mp4 , avi , pdf
QUESTION:Where to find this script? How it works, I would like to bring everything to automatism, I don’t want to use third-party programs, and then upload it to the site. What is this script? Where can I download it, what is it called? I also need it to create readers that work when screenshots are taken from pdf by the script, and then uploaded to the specified folder.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
Larisa Moroz, 2017-07-23
@Isolution666

There is such a thing: https://yahoo.github.io/gifshot/ (however, only for video) .

S
Sergey Sokolov, 2017-07-23
@sergiks

ffmpeg is a powerful tool, I would recommend using it.
It's not entirely clear what kind of preview you want to make from the uploaded videos: either an animated gif, or separate static frames from the video - each with a separate picture. But all this is done by ffmpeg. Specify the task, I will prompt approximate parameters.
In short, ffmpeg is an executable file available for Linux, Mac, Windows. Allows you to transcode video, process effects, create animated GIFs, etc., etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question