I made simple video transcoding application using Samples DirectShow filters from DX9 SDK. And found that almost no filters based on 'baseclasses' can connects to input of DirectShow Intel H.264 Encoder filter directly or via standard ColorSpaceConverter/aVI Decompressor. Some debugging shows that CheckMediaType passes, but CompleteConnect failes somewhere at final allocators negotiation. The samples I check are EZRGB24 that uses transform-and-copy (CTransformFilter)baseclass and RGBFilters that uses CTransInPlaceFilterbaseclass. Both failed. Software used - Windows 7, MSVC 6.0 SP5, DirectX SDK 9.0. Intel Media SDK 2012 R2. The only way I found to connect filter build from samples to H.264 encoder is to insert ffdshow raw process filter in between. What may be wrong ? May I need to use newer DirectShow baseclasses ?
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.