How to I setup and increment the TimeIncrement for the Xilinx MPEG-4 Part 2 Simple Profile Encoder?
Here is an example of what is needed for 30 fps Encoded bitstream:
1. The TimeIncrementWidth is set to 5.
2. The TimeIncrementResolution is set to 30.
3. The timeIncrement should count from 0 to 29, repeatedly.
4. The moduloTimeIndex starts at 0 and should remain at 0 until the first time the timeIncrement returns to 0. Then and every time consecutive time the timeIncrement returns to 0 the moduloTimeIndex should change to 1 for that one frame, and back to zero for frames 1 to 29. Basically the TimeIncrement is referenced to the moduloTimeIndex and that is why you need this change.