hi, starting from the “Select and Capture” example I started working with saving video files. How can I apply a compression filter? The file I get is too big!
You may enumerate the available filter to encode.
And then add such a filter to the graph with AddFilter function.
You could use DirectShowEnumMonikerMBS class to list compressing components.
see code from PlayCap example:
// let's pick a video encoder
encoder = FindEncoder
If encoder <> Nil Then
Graph.AddFilter encoder, "Video Encoder"
end if
Thanks. It work.
Now I have to understand why I don’t see all the encoder installed on the PC.
Hi Christian, with the “PlayCap” and “PlayCap with format setting” I have a problem.
I use a camera.
If I have a resolution (for example, 640x480, 30 fps), if I register a video for 10 secods, I obtain a video of 10 seconds.
If I have a differente resolution (for example, 1280x1024, 15 fps), if I register a video for 10 secods, I obtain a video of 5 seconds.