winapi - Controlling the aspect ratio in DirectShow (full screen mode) -


i'm using directshow simple approach (igraphbuilder renderfile) , try control else querying supplemental interfaces.

the option in question aspect ratio. thought maintained default, same program behaves differently on different machines (maybe versions of directx). not huge problem video in window, because can maintain aspect ratio of window myself (based on video size), full-screen mode can not understand how can control.

i found there @ least 2 complex options: vmr video , adding overlay mixer, there known way doing igraphbuilder' renderfile video?

when igraphbuilder::renderfile, internally adds video renderer filter graph. typically vmr-7 video renderer filter:

in windows xp , later, video mixing renderer 7 (vmr-7) default video renderer. called vmr-7 because internally uses directdraw 7.

at point can enumerate graph's filters, locate vmr-7 , use interfaces such ivmraspectratiocontrol specify mode of interest.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -