KeyShot Forum

Technical discussions => Animation => Topic started by: Y.Lange on January 15, 2014, 03:27:01 AM

Title: Animation total length = not video file total length
Post by: Y.Lange on January 15, 2014, 03:27:01 AM
Dear Keyshotters,

I'm wondering if I'm the only one with this issue.
Everytime I render out an animation, the total video length is always a second longer.
Does anyone know how/why this is?

And is it always 1 sec? (sofar only 1 sec. on my short animations, but might get more gradually)
I compared the speed of the animation.
My 5sec. turntable which renders out at 6sec. really is turning slower.

Suggestions anyone?
Title: Re: Animation total length = not video file total length
Post by: Chad Holton on January 15, 2014, 06:11:02 AM
Hi Y.Lange,

You may want to look at your actual playback speed in your video player. It may be defaulting to a different speed than what you created the video at. Check it out and let us know if this isn't the case.

Chad
Title: Re: Animation total length = not video file total length
Post by: Y.Lange on January 20, 2014, 02:16:48 AM
Hi Chad,

No this definitly isn't the case.
I added the file in the attachment.
Rendered at default everything and the 6 sec. video file came out.

Thank you for the reply
Title: Re: Animation total length = not video file total length
Post by: NDenekamp on January 20, 2014, 04:41:58 AM
Very strange indeed.

I've downloaded your files, and rendered my own at the same settings.

When playing back frame by frame I noticed every couple of frames there is duplicate. Took the video into FCP to verify.

Please see below screenshots of 1 frame before the duplicate (frame 07 in the bottom right) the frame 08, then the duplicate frame 09, and the next frame again frame 10.

I went further through the video and a pattern of duplicates soon appears:

08-09
14-15
20-21
26-27
32-33
38-39
44-45
50-51
56-57
62-63
68-69
74-75
80-81
86-87
92-93
98-99
...etc

in total exactly enough to add up to the one second difference..

When I take the individual frame image files and add them into a time-lapse at 30fps in iStopmotion and export to Quicktime movie it runs correctly at 30fps with a total length of 5 sec.

Also, if instead I choose to render the animation from KeyShot at 25 fps instead, I do end up with a 5 sec. video. So it seems this issue does not affect animations at this frame rate.

May I ask, do you happen to be using a Mac to run Keyshot? Apple have recently (with the Mavericks release) messed around a fair bit with with which codecs they do and don't support, apparently in an effort to weed out some legacy codecs (of course in support of their own formats..)

Perhaps it could be related to that in some way..?


n
Title: Re: Animation total length = not video file total length
Post by: Y.Lange on January 20, 2014, 05:23:51 AM
Hey NDenekamp,

Thank you for checking! Didn't think about checking the FPS.
No I am working on a Windows 8 PC, no OSX in the picture.

So it seems rendering at 25 proves to be no issue indeed.
I rendered it at 60 FPS and it became a stunning 11 seconds.
In that logic  60fps/25fps=2,4 -> 2,4*5sec=12sec, not even 11sec!
So there really is a bug with the way Keyshot handles any other FPS than the default 25.

So it seems the FPS really is causing this issue.
Am I adjusting the FPS in the wrong place?
I need to work with preferably 60FPS.
Any other way I can properly achieve the right length WITHOUT post-processing?

Title: Re: Animation total length = not video file total length
Post by: Chad Holton on January 20, 2014, 07:33:33 AM
Thanks for the file Y.Lange - I'll check it out.

And thanks NDenekamp for checking it out and the feedback!
Title: Re: Animation total length = not video file total length
Post by: NDenekamp on January 22, 2014, 07:23:56 AM
No worries, happy to help.
Title: Re: Animation total length = not video file total length
Post by: Y.Lange on January 28, 2014, 12:38:33 AM
Any new info?
I'm really annoyed with this problem and haven't found anything to solve it yet.
Title: Re: Animation total length = not video file total length
Post by: Chad Holton on January 28, 2014, 07:06:09 AM
I was able to reproduce and reported the bug. This is fixed in the next update. In the meantime, after the video is created, you can change the playback speed fairly easily within Windows media player/movie maker or use 25 FPS as NDenekamp suggested.

Thanks again for the feedback on this one guys.

Chad
Title: Re: Animation total length = not video file total length
Post by: Y.Lange on January 28, 2014, 07:14:56 AM
Great!

More than welcome. Glad to know this really is a bug and not a user error (altough I assumed you wished otherwise  ;) )
I'll be waiting the update, till then I'll go post processing.

Thank you Keyshot!