how to change OutPut Pin Size & ColorSpace/Compression in DirectShow
问题 how to change OutPut Pin Size & ColorSpace/Compression of a Video Source Filter in DirectShow I want to Know whre the Output Pin PropertyPage Datas are stored and how can I Change those Datas By My Code 回答1: You can use IPin::EnumMediaTypes on your filter's output pin to get a list of supported media types / video formats. Afterwards, call IAMStreamConfig::GetFormat to get the current format in an AM_MEDIA_TYPE structure. Modify this structure as you wish (make sure your format is supported