Search code examples
c#framedirectshowvideo-capturedirectshow.net

Directshow frame grabbed by sample grabber is cropped


I grabbed frame in RGB24 format but when i convert it to Bitmap image is not like what VMR is showing and it's cropped I'm trying to grab frame from DVB-S device using DirectShow BDA the channel resolution is 720x576 but i get 704x480???


Solution

  • I think problem was with my filters

    I just used LVAFilter and connect it to MPEGDemux and then connect SampleGrabber to LAVFilter and set MediaType to RGB24

    It solved the problem