Hi people!
I'm working with Intel Media SDK and DirectShow to develop a MP4 Video Recorder.
I did a "RGB to NV12 Color Converter" and it works ok!
So, I configured my GraphBuilder like this:
AudioSource -> ACC Encoder -> MPEG4Muxer
VideoSource -> Smart Tee (CapturePin) -> H264 Video ENcoder -> MPEG4 Muxer -> File Writer
VideoSource -> Smart Tee (PreviewPin) -> VideoRenderer
It works really fine!
The video has a good quality, good performance, not freeze, audio/video synchronization... everything ok..
But, the problem is:
If I'm recording a video and I execute graphbuilder.Pause(), wait a while and execute graphbuilder.Run() again, my video lose the firts part of the video.
It is, the final video have only the record after the last RUN() command.
I made a test using DirectShow AVI Filters to check if could be some bug with my code.
I change only my connect function, using AVI filters instead MP4 Media Filters...
Like this:
AudioSource -> -> AVI Muxer
VideoSource -> Smart Tee (CapturePin) -> AVI Muxer -> File Writer
VideoSource -> Smart Tee (PreviewPin) -> VideoRenderer
So, the video don't restart. I can PAUSE and RUN again... everything alright
My Question is:
Are there any people here who had this problem too?
It's a Media Filters bug??
I really want to solve this problem... so, if you could help me, please, let me know ;)
Thanks!
Guilherme

