What is the difference between MPEG4VideoEncoder and H264VideoEncoder?
I need to write a fragmented MPEG-4 file with H.264 encoded data. I am constructing my own MPEG-4 boxes that precede the fragmented MOOF and MDAT box pairs. I am filling the MDAT with output of the H264VideoEncoder. But on readback, with H264VideoDecoder, there is a complaint that profile_idc is zero and the stream is declared invalid.
Should I be using MPEG4VideoEncoder?
There are two possible mode of using H.264 decoder: decoding of pure video stream and "H.264 at mp4 container".
First one expects present of NAL unit start code (00 00 01). H.264 at MP4 mode doesn't use NAL unit start codes. You can choose mode by special initialization option (init->info.stream_subtype == AVC1_VIDEO means "H.264 at MP4 container" mode. init->info.stream_subtype != AVC1_VIDEO is pure video mode).
Regarding the SetTimePosition(), is it the same thread in http://software.intel.com/en-us/forums/showthread.php?t=71175? seems the fix code isavaiable and will berelease in IPP70. (the latest one IPP 6.1.4)