I am really hoping somebody answers my question in this forum finally!!
Here is the issue.
I am trying to merge mp4 files into one.
It works fine in Windows 7 but not in Windows 8.
Let me explain.
I create two mp4 files. They have the exact same parameters as far as audio and video is concerned. So, I simply employ MFCopy style code to read samples from two files and write it to new mp4 file.
The two input mp4 files are encoded using standard media foundation writer mechanism.
This works great in Windows 7.
However, in Windows 8, the merged file is blank after the first input video is done.
So, in windows 8, the merged file plays fine till the part where the first video is. Then it is black. Always. It is consistent.
I then looked at meta data info using mediainfo. The only difference in the files was "ReFrames".
On Win 7, mp4 files have ReFrames -> 1
On Win 8, mp4 files have ReFrames -> 2
To add to the twist, I take all the files encoded in Win 8 (the ones which has ReFrames of 2), put it on win 7 system and merge them and it is _fine_
Can anybody please help me. I have sample project and input files I can share. It really is a consistent bug.