Leouch
June 14, 2022, 8:49am
1
sup,
is there any way to speed up rendering? I render to *.AVI right now and it takes ages.
I noticed synfig use only one core and no GPU (after looking on the forum, it seems normal). Is there any way to split rendering to multiple cores? I found here: Rendering take's to long - #5 by H13N.H3N that you can “Also, you can speed up the render if you have a multi-core CPU. Using the CLI, you can render a png sequence using several commands…” (and I assume you clamp them together later in to the video)
Hi and welcome here
One of the problems to render to AVI directly is that you do the following loop:
Produce a frame
Add the frame to the AVI (taking account of the previous frames according the codec in use)
All the frames would not be rendered at the same rate and of course would need to be added in the proper order.
An approach that would be more efficient for mutli-core would be to produce PNG files independently and then merge them, as noted.
Leouch
June 14, 2022, 10:01am
3
Ok, so how can I do that. I can render to png, but it still uses one core. After I generate frames, is there any software you recommend to merge them?
on a side note :
All the frames would not be rendered at the same rate and of course would need to be added in the proper order.
you can use three cores to render frames and one frame to sort them and merge them into avi (should be simple)
To join the PNG you can use most of Non Linear Video Editors (KDEnlive, Shotcut, Openshot, …)
You could also have a look at RenderChan
RenderChan Smart rendering manager for animation production Download About RenderChan is a tool for automatization of animation project rendering. It takes a file for rendering and analyses all its dependencies. If any of the dependent files needs to...
Est. reading time: 3 minutes
And yes multi-core render would be a great improvement
Leouch
June 14, 2022, 10:09am
5
so there is no way to render in to png using multiple cores
Kai
June 14, 2022, 1:48pm
6
Are you sure there’s no multicore rendering in synfig?
I see multicore rendering option in synfig preferences btw
You can have a look here, this is still open
opened 04:00PM - 11 Jul 18 UTC
Performance
Rendering
Export
**Synfig version & platform**:
1.3.9, Ubuntu 14.04
**Issue description**:
…
Currently when I try to render using synfig, the ffmpeg runs without any hardware acceleration flag
`ffmpeg -f image2pipe -vcodec ppm -r 24.000000 -i pipe: -an -metadata title="Final Aggregate" -vcodec libx264 -b:v 2000k -tune fastdecode -pix_fmt yuv420p -qp 0 -y /home/user/Desktop/Presentation/thread-per-connection/end-to-end-flow-test.mkv`
I'm not that well versed in ffmpeg/GPUs, but from ffmpeg documentation its quite clear that passing `-hwaccel auto` will allow ffmpeg to automatically determine whether or not to use hardware acceleration when it is available, else it will continue to use CPU for rendering. By default hardware acceleration is disabled, i.e `-hwaccel none` is assumed by `ffmpeg`
https://ffmpeg.org/ffmpeg.html
I'm not sure why `auto` is not the default while rendering
Please note that I'm complete noob when it comes to synfig, ffmpeg & GPUs, yet this seems quite obvious
<bountysource-plugin>
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/60758637-make-use-of-hardware-acceleration-on-machines-with-gpus?utm_campaign=plugin&utm_content=tracker%2F321991&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F321991&utm_medium=issues&utm_source=github).
</bountysource-plugin>
Leouch
June 15, 2022, 9:43am
8
it seems I need dev version
1 Like
As you use Windows, there is a fresh build that you could try
Weekly Report (June 8 - 14)
Greetings to all Synfig users! Here is the list of improvements to Synfig code for the last week:
General improvements
We are now capable to produce Reproducible Builds (#2613 ). See https://reproducible-builds.org/ for details.
Continued fixing blurry icons on high-dpi displays - now we have crisp and good-looking icons in Parameters Panel (#2670 ), in Layers panel (#2669 ) and for Jack button (#2664 ). See illustration below (make sure to watch it enlarged to see th…
1 Like
cr77
December 15, 2023, 12:20pm
10
Thanks for the tip ! The 1.5 dev version is impressive, I can render with 20 threads a 6 s anim in less than 30 s, where it took several minutes in 1.4.