I don't know if this is related but from CS4 to CS5 the timescale went from FPS to TicksPerSecond. 1000 might be the ticks per second of 25fps.
// Frame rate
// CS4 is in FPS
lRec->frameRateTicks = (PrTime)(lRec->ticksPerSecond / lRec->seqFrameRate.mFloat64);
// CS5 is in Ticks
lRec->frameRateTicks = lRec->seqFrameRate.mInt64;
// Should be impossible
Does the scale / sampleSize still equal 25? The scale / sampleSize ratio is the important thing. What is sampleSize?
If it is incorrect, may I ask, is your importer a synthetic importer that generates footage, or does it import file-based media from disk?
yes scale/samplesize is 25, Also it is a synthetic importer..
1 person found this helpful
Great, so if you take the ratio of 25 rather than expecting the original values of 25 and 1, you should be all set. Let us know if otherwise.
yes..but i cant fix it to 25 as it should change according to the format i.e PAL, NTSC etc.
there must be some wrong input which leads to this wrong value, which needs to be corrected.
If your footage needs to follow some timing based on frame rate, you can set:
imImportInfoRec->canDoContinuousTime = kPrFalse;
This will ensure that your scale/sampleSize settings in imGetInfo8 will persist to imImportImage.