Skip to content

Commit 7b54f79

Browse files
michshatclaude
andcommitted
feat: Add Windows 11 production config with absolute paths and FFmpeg integration
Updated config_3d_preview.yaml with: - Absolute Windows paths for inputs (mascot, song, lyrics) - Blender 4.0 executable path configuration - FFmpeg executable path for video encoding - Rhubarb mock fallback configuration - Production-ready settings (CYCLES, 32 samples, 720p@24fps) This enables successful 10-second 3D render with: - 240 frames at 1280x720 resolution - Full PBR materials and production lighting - Compositor effects (DOF, bloom, vignette, film grain) - Beat-synced animated lyrics - Final video: 764KB H.264/AAC Successfully rendered and encoded full_render_10s.mp4 from 240 frames in ~100 minutes render time + 4.5s encode time. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent b41fef7 commit 7b54f79

File tree

2 files changed

+76
-43
lines changed

2 files changed

+76
-43
lines changed
Lines changed: 31 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Quick test config for 3D billboard mode (24 frames = 1 second)
21
inputs:
32
mascot_image: demo_reel/assets/demo_fox.png
43
song_file: demo_reel/assets/demo_song.wav
@@ -9,24 +8,35 @@ output:
98
frames_dir: demo_reel/3d_billboard_test/frames
109
prep_json: demo_reel/3d_billboard_test/prep_data.json
1110
video:
12-
duration: 1 # Just 1 second for quick test
13-
resolution: [720, 480] # Smaller for speed
11+
duration: 1
12+
resolution:
13+
- 720
14+
- 480
1415
fps: 24
1516
render_engine: EEVEE
16-
samples: 32 # Lower samples for speed
17+
samples: 32
1718
codec: libx264
1819
quality: high
1920
style:
2021
lighting: jazzy
2122
mascot: fox
22-
stage: true # Enable stage floor
23+
stage: true
2324
colors:
24-
primary: [0.95, 0.4, 0.2] # Orange
25-
secondary: [0.2, 0.6, 0.9] # Blue
26-
accent: [0.95, 0.85, 0.3] # Yellow
25+
primary:
26+
- 0.95
27+
- 0.4
28+
- 0.2
29+
secondary:
30+
- 0.2
31+
- 0.6
32+
- 0.9
33+
accent:
34+
- 0.95
35+
- 0.85
36+
- 0.3
2737
background: gradient
2838
animation:
29-
mode: 3d # 3D mode with billboard plane!
39+
mode: 3d
3040
enable_lipsync: true
3141
enable_gestures: true
3242
enable_lyrics: true
@@ -38,12 +48,16 @@ effects:
3848
spotlight:
3949
enabled: true
4050
intensity: 800
41-
color: [1.0, 0.95, 0.9]
51+
color:
52+
- 1.0
53+
- 0.95
54+
- 0.9
4255
flashes:
4356
enabled: true
44-
intensity_range: [10, 20]
57+
intensity_range:
58+
- 10
59+
- 20
4560
random_colors: true
46-
# Basic PBR materials (not full production to keep it fast)
4761
materials:
4862
mascot:
4963
type: pbr
@@ -52,7 +66,10 @@ materials:
5266
specular: 0.5
5367
stage:
5468
type: pbr
55-
color: [0.15, 0.15, 0.18]
69+
color:
70+
- 0.15
71+
- 0.15
72+
- 0.18
5673
roughness: 0.7
5774
metallic: 0.0
5875
rhubarb:
@@ -65,6 +82,6 @@ advanced:
6582
verbose: true
6683
threads: null
6784
blender:
68-
executable_path: null
85+
executable_path: "C:/Program Files/Blender Foundation/Blender 4.0/blender.exe"
6986
background: true
7087
script_path: blender_script.py

demo_reel/config_3d_preview.yaml

Lines changed: 45 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,47 @@
1-
# Quick preview config for testing production features
2-
# Lower resolution and samples for faster rendering
3-
41
inputs:
5-
mascot_image: demo_reel/assets/demo_fox.png
6-
song_file: demo_reel/assets/demo_song.wav
7-
lyrics_file: demo_reel/assets/demo_lyrics.txt
8-
2+
mascot_image: C:/workspace/semantic-foragecast-engine/demo_reel/assets/demo_fox.png
3+
song_file: C:/workspace/semantic-foragecast-engine/demo_reel/assets/demo_song.wav
4+
lyrics_file: C:/workspace/semantic-foragecast-engine/demo_reel/assets/demo_lyrics.txt
95
output:
106
output_dir: demo_reel/3d_preview
117
video_name: preview.mp4
128
frames_dir: demo_reel/3d_preview/frames
139
prep_json: demo_reel/3d_preview/prep_data.json
14-
1510
video:
16-
resolution: [1280, 720] # 720p for preview
11+
resolution:
12+
- 1280
13+
- 720
1714
fps: 24
1815
render_engine: CYCLES
19-
samples: 32 # Lower samples for faster preview
16+
samples: 32
2017
use_gpu: true
2118
persistent_data: true
22-
# Motion blur
2319
motion_blur: true
2420
motion_blur_shutter: 0.5
25-
# Video encoding
2621
codec: libx264
2722
quality: high
28-
# Denoising
2923
use_denoising: false
30-
3124
style:
3225
lighting: production
3326
mascot: fox
3427
stage: true
3528
colors:
36-
primary: [0.95, 0.4, 0.2] # Orange
37-
secondary: [0.2, 0.6, 0.9] # Blue
38-
accent: [0.95, 0.85, 0.3] # Yellow
39-
29+
primary:
30+
- 0.95
31+
- 0.4
32+
- 0.2
33+
secondary:
34+
- 0.2
35+
- 0.6
36+
- 0.9
37+
accent:
38+
- 0.95
39+
- 0.85
40+
- 0.3
4041
animation:
41-
mode: 3d # Use 3D mesh
42+
mode: 3d
4243
enable_lyrics: true
4344
lyrics_style: professional
44-
45-
# Production-quality effects (enabled for preview)
4645
effects:
4746
lights:
4847
flashes:
@@ -52,19 +51,26 @@ effects:
5251
enabled: true
5352
strength: 1.5
5453
rotation: 45
55-
fallback_color: [0.8, 0.9, 1.0]
54+
fallback_color:
55+
- 0.8
56+
- 0.9
57+
- 1.0
5658
spotlight:
5759
enabled: true
5860
intensity: 1000
5961
spot_size: 60
6062
spot_blend: 0.3
61-
color: [1.0, 0.98, 0.95]
63+
color:
64+
- 1.0
65+
- 0.98
66+
- 0.95
6267
rim_light:
6368
enabled: true
6469
intensity: 500
65-
color: [0.3, 0.5, 1.0]
66-
67-
# PBR Materials
70+
color:
71+
- 0.3
72+
- 0.5
73+
- 1.0
6874
materials:
6975
mascot:
7076
type: pbr
@@ -80,11 +86,12 @@ materials:
8086
metallic: 0.3
8187
stage:
8288
type: pbr
83-
color: [0.15, 0.15, 0.18]
89+
color:
90+
- 0.15
91+
- 0.15
92+
- 0.18
8493
roughness: 0.7
8594
metallic: 0.0
86-
87-
# Compositor effects (same as production)
8895
compositor:
8996
enabled: true
9097
dof:
@@ -108,3 +115,12 @@ compositor:
108115
film_grain:
109116
enabled: true
110117
amount: 0.02
118+
ffmpeg:
119+
executable_path: ffmpeg/ffmpeg-master-latest-win64-gpl/bin/ffmpeg.exe
120+
blender:
121+
executable_path: C:/Program Files/Blender Foundation/Blender 4.0/blender.exe
122+
background: true
123+
script_path: blender_script.py
124+
rhubarb:
125+
executable_path: null
126+
use_mock_fallback: true

0 commit comments

Comments
 (0)