I have a raw video stream (h264) that I would like to stuff into a container format (MP4).
From what I understand about DirectShow, there are no H264 -> MP4 filters that come standard with the Windows SDK download, thus I would have to use an extension already written by someone else, or write my own. Is this correct? Or have there
been some recent filter additions that I am missing here?
Secondly, I have heard integrating extensions is less than friendly for someone who is green when it comes to DirectShow....so I have been attempting to stuff an mpeg2 raw video stream into a ASF file container just so that I can get my feet wet with the
whole DirectShow Dev Environment and get used to calling the various COM objects and their respective interfaces. Again, my reasoning behind doing this, is because I believe ALL the necessary filters to accomplish this, are available right out of the
DirectShow box (no extension required). Unfortunately, I haven't seen any intuitive sample code that is doing something similar anywhere on the MSDN websites.
So my #1 question would be - how do I build this filter graph to do this mpeg2 -> ASF or AVI container? (whichever is easier to do).
I have been trying to do the following using GraphEdit...
File Async Reader ->MPEG-2 Splitter -> AVI MUX -> File Writer
However, I cannot get the MPEG-2 Splitter Filter to connect to the AVI-MUX filter ?! Why???
Am I even on the right path here?
Okay...so let's assume I eventually get this working...I would like to eventually go from h264 to mp4, but 1 step at a time.
Can someone please help me understand how to get my first scenario working!
BTW - I am only dealing with VIDEO streams - NO AUDIO.