Ive been trying to get the same thing done, but I havent had any luck. Ive been trying to take a .mp4 file, encoded with H.264 video and AAC audio , and mux it into a series of .ts files. The .ts files I create are able to be played in VLC, but when I tried to play them in Quicktime or on the iPhone, they won't work. I found that Apple has a mediastreamvalidator program which is used to validate streams against various versions of the iPhone. I pointed it at the .ts files I created with the IPP MPEG2Muxer and it came back saying failed to parse segment as either an MPEG-2 TS or an ES: error -12971. I then took the same .mp4 file and put it through one of Apples programs, mediafilesegmenter, that also generates .ts files. Then I pointed mediastreamvalidator at those files and everything worked just fine. Im fairly certain that the mediafilesegmenter is not reencoding the files because it only takes about 15 seconds to run the program on a 5 minute long video.
Any thoughts, suggestions or fixes would be greatly appreciated.
Just quick thought, What is the Quicktime version? There isrelated issue reported at http://software.intel.com/en-us/forums/showthread.php?t=75828&o=d&s=lr.
what's the result if upgraded to the latest Quicktime 7.6.8?
Not to bring up an old thread - but the muxer is generating incorrect CRC32 values as it is not using crc-32-mpeg.
Using pycrc you can generate the correct crc algorithm using
./pycrc.py --std C99 --model crc-32-mpeg --algorithm table-driven --table-idx-width 8 --generate c -o crc-mpeg.c
then the PMT/PAT code needs to be modified in umc_mpeg2_muxer_chunk.cpp:1067 and anywhere that ippsCRC32_8u(....) is called to use the correct crc algorithm.
//ippsCRC32_8u(bs.m_lpb - uiCRCDataLen, uiCRCDataLen, &uiCRC32);
//uiCRC32 ^= 0xFFFFFFFF;
uiCRC32 = crc_update(0xffffffff, bs.m_lpb - uiCRCDataLen, uiCRCDataLen);