L
L
LyoneNET2020-01-05 12:14:48
Programming
LyoneNET, 2020-01-05 12:14:48

How to capture an image from a video using ffmpeg and display it in a picturebox?

Hi all!
Please tell me if it is possible to extract a picture from the video and then save it to a variable, and not as a file, then output this variable with the picture to the picturebox. There is an option to make a preview every time interval as a file and output to the picturebox, but I need a method so that the result of ffmpeg execution goes straight to the picturebox.
Something like:

Dim Image = GetImage("ffmpeg -i FileName  -vf fps=1 thumb%04d.jpg -hide_banner")

In general, is there such a possibility that after execution ffmpeg gives the image to a variable?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question