Support Fluxion Engine
If you find this project useful, please consider supporting its development.
Support ProjectThis guide covers Fluxion's output settings and configuration options.
Fluxion can render to multiple formats:
Control output quality with the -q flag:
# Low quality (480p)
fluxion -ql scene.py MyScene
# Medium quality (720p) - default
fluxion -qm scene.py MyScene
# High quality (1080p)
fluxion -qh scene.py MyScene
# 4K quality
fluxion -qk scene.py MySceneCreate a fluxion.cfg file in your project:
[CLI]
quality = high
preview = true
save_last_frame = false
[output]
format = mp4
codec = h264
pixel_format = yuv420pCommon flags:
-p - Preview (open video after rendering)-s - Save last frame as PNG-l - Low quality (faster rendering)-m - Medium quality-h - High quality-k - 4K quality--format - Output format (mp4, gif, mov)Set custom frame rate:
class MyScene(Scene):
def construct(self):
self.camera.frame_rate = 60 # 60 FPS
# Your animation codeclass MyScene(Scene):
def construct(self):
self.camera.background_color = "#000000" # Black
# or
self.camera.background_color = WHITEconfig.background_opacity = 0Then render as PNG or MOV with alpha channel.
If you find this project useful, please consider supporting its development.
Support Project