I have recently been tinkering with the Intel(R) Media SDK 2012 R3. In specific, I've been working with the DirectShow filters included with the Media SDK. (These are the pre-compiled ones registered to the system with the intaller)
My test system has the following specs:
Processor: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz
Onboard GPU: Intel(R) HD Graphics 2000
RAM: 2.00 GB
OS: Windows 7 Professional 32-bit
The issue I'm having has to do with the decoder specifically. It is a little difficult to explain through text, so I will need to attach images to support what I'm trying to say. All graphs are being built with GraphStudioNext (the reason for this is that the file will not render automatically, this is due to how I have set this system up for testing).
As you can see in the screenshot below, I have set up a media file through the Intel(R) Media SDK (IMSDK) MP4 Splitter -> IMSDK H.264 Decoder -> Video Renderer (default Microsoft). The video plays as expected.
Now, if I use the same graph, add in an encoder, and then decode the encoded video, i.e. IMSDK MP4 Splitter -> IMSDK H.264 Decoder -> IMSDK H.264 Encoder -> Microsoft DTV-DVD Video Decoder -> Video Renderer (default Microsoft); We can now see that the decoded video is not played in the expected aspect ratio (this is not 4:3, this appears to be closer to a 1:1 ratio)
Lastly, if I strip off everything I added in the second configuration and revert to the first configuration, video playback continues to be in a bad aspect ratio. (Please note that I had to use the Enhanced Video Renderer here as I kept receiving a VFW_E_NO_ACCEPTABLE_TYPES error when trying to revert to the first configuration)
Is there any fix which I can implement into the filters to not have this issue occur? I will say again that I am NOT building these filters from source, they are the same filters that are registered with the IMSDK installer. I am, however, willing to build the filters from source with any fixes or code changes.
Please let me know if you have any suggestions!