Directshow real time compression to output small size video

443 views Asked by At

So i've made an application to view and capture video stream from WDM capture sources, my problem is that the file size is too big (i.e 7 min video would be 1.5 GB). I'm already using an encoder in my graph "ffdshow encoder" but i still need a more compressed output video.

This is the graph that i'm using:

Directshow Graph

I've tried to use other encoders like x264, x265 but after some search i found out that the encoder itself won't show up as a filter and it needs to be wrapped as VFW so i downloaded and installed the VFW wrappers for the x264 and x265 encoders. And still they didn't show up in the graph so i searched some more and found out that they only show up in the 32bit versions of graph editors and won't work/show up for a 64bit version of any software although and that's when i got stuck.

But after some more searching i came across this github project:

https://github.com/RenderHeads/DirectShow-vfwFilter

Which is basically a 64bit wrapper for the 32bit vfw (as far as i understood), so i downloaded it and gave it a try and after a few experiments i managed to output a relatively smaller video file using the x264vfw encoder. But my problem with that this filter was that it doesn't save its configuration as shown below

VFW Wrapper

And this is where i'm stuck right now, i need a good compressor/encoder to get a small output file.

0

There are 0 answers