combomash / orchestrator

Render workflows / activities for @combomash/engine via temporal.io
ISC License
0 stars 0 forks source link

encode #8

Closed owmo-dev closed 3 weeks ago

owmo-dev commented 1 month ago

Would be great to have an encode workflow that wraps ffmpeg in a way that accepts an image sequence and exports a video format. Ideally having several configurations that I find useful would be ideal, as well as pulling it into the capture - sequence flow in the client. Unclear if I can manage that process well enough with node or I should just make a separate worker in Python to handle it.

It could be potentially worthwhile to use Python as it could lead to easier handling of other media tasks, like rendering out a Blender file or other social media related image processing.

owmo-dev commented 1 month ago

Example ffmpeg command:

ffmpeg -i 0xabacfd2a50c30cca18f4913270bfd3e08eae5a7eb7e238750f26e2eba984302c_%04d.png -framerate 30 -c:v libx264 -pix_fmt yuv420p output.mp4

owmo-dev commented 3 weeks ago

Going to defer this logic to a script that can be executed by #21