Laggy video rendering

104 views
Skip to first unread message

Alejandro CS

unread,
Nov 9, 2016, 1:08:24 PM11/9/16
to xaos-users
Dear Xaos team and group.

When i want to do a video of a fractal trip, it becomes laggy, it like it takes one step backward and then continue. Or it repeats some frame.

I have tried increasing and decreasing FPS, bigger or smaller images or frames, any video format.. the thing is while rendering the trip it makes a lag every some time, but its a lag like taking a frame before the actual frame..

Thanks for the help in advance

JL

unread,
Dec 7, 2016, 1:28:49 PM12/7/16
to xaos-users
I have the same problem running under both Windows 7 and Windows 10 on two different i7 machines. Everything looks perfect (and beautiful!) when zooming manually, regardless of whether I'm recording or not, no matter how long I zoom. However, when I playback a recorded zoom, it's fine for a few seconds (time varies) and then the image seems to change to a solid color (or something close to a solid color) and stay there. When I render the recorded zoom, I get a series of PNGs as expected, but the PNGs have serious problems:
  • When I preview the PNG series as an animation, the image "stutters" instead of evolving smoothly. In particular, it seems to frequently "jump" backward in time, as though it's repeating part of the recording.
  • At some point in the sequence the PNGs become solid-colored frames similar to what I see during playback. I don't know if this happens at the same point in time as it does during playback.
  • Early in the PNG series, the file size of each PNG is typically 100KB+, but at some point the file sizes suddenly drop to around 2KB and stay there. When I statically view any of the ~2KB PNGs I see a solid-colored image.

I've experimented with every combination of rendering settings I can think of but haven't found a workaround. Please help!

JL

unread,
Dec 9, 2016, 1:57:37 PM12/9/16
to xaos-users
I found the cause for this problem, and a workaround. When recording is enabled, Xaos creates a XAF file that can be played back or rendered. The XAF includes information about mouse events. Mouse moves cause "animateview" commands to be added to the XAF. I discovered that when the animateview commands are disabled, stuttering is eliminated. Here's my new animation creation process, which works around the problem:
  1. Zoom all the way into a point of interest.
  2. Start recording.
  3. Zoom out without moving the mouse.
  4. Stop recording.
  5. Use a text editor to comment out all animateview commands in the XAF file (add semicolon at beginning of line).
  6. The modified XAF can now be used to playback or render a smoothly evolving image sequence.

Alejandro CS

unread,
Dec 26, 2016, 9:16:54 AM12/26/16
to xaos-users
Thank you very much and sorry for the big delay. I think it would be possible to make a little program in C or Java to auto edit all the comments and problems it makes to hapen so it would be possible to use the mouse to navigate, and record it.
Reply all
Reply to author
Forward
0 new messages