Access to video by frame

What is an easy-to-use technology that will give me real-time access to video frames and let me change them. I know DirectShow, but the programming model seems rather complicated. Is there an infrastructure that makes programming such a frame filter easier?

+3
source share
9 answers

OK, since you asked for "easy", I have to mention HTML5 <video>. See Demo and explanation at these links:

+3
source

.

? , ?

. , DirectShow , . DirectShow.NET. , SampleGrabber DirectShow, graph.RenderFile(mymediafile, null), . , . 1 . SampleGrabber, -. (graph.RenderFile!).

, - , , . , - DirectShow;).

, Directshow IMediaDet. , . WPF, GDI.

+5

ffmpeg , libavcodec.

+4

, , , , AviSynth. , . SDK, . . script :

AviSource("C:\video.avi")
Crop(20,0,-20,0) //Crops 20px from the left and right of video 
BicubicResize(640,480) //Resize to 640x480 using bicubic filter
# increase the gamma
Levels(0, 1.2, 255, 0, 255)

, Virtualdub.

+4
+1

++ MS AviFile. , .

- DirectShow, .

AVI ( Google) :

AVIRIFF  size speed imgWidth imgHeight frameTotal imgCodec audioCodec frame size 
  FRAME
  SOUND
  FRAME 
  SOUND
0

VLC

Linux Windows, , , ..

0
0

FFMpeg.

FFmpeg

0

Source: https://habr.com/ru/post/1719631/


All Articles