problems when using timeline with recorder

Hi,

I am using Unity 2019.1.9f1 with timeline and recorder on mac os, and I have a few problems.

I am producing a video at 25fps that I record from the editor. I set the timeline to 25fps, and I have added a recorder track to record the individual frames (as jpeg images) of the video. Then, I hit play to record the video. Also, I am using a script to force rendering at 25fps, using

QualitySettings.vSyncCount = 0;
Application.targetFrameRate = 25;

I have two problems:

  • the second frame of the video is always flipped vertically
  • sometimes, the fps I set is not respected, and as a result the video has less frames than expected: this happens randomly, but quite often.

Any help is much appreciated. Thanks!

Edit: seems solved by switching the recorder track from “capture game view” to “targeted camera” which is then set to mainCamera …