Automating video preview generation with Python in Maya – random frames not rendering correctly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
I’m working on a small automation script in Maya that generates short video previews from longer clips.
The idea is to automatically pick key frames and export them as low-res previews for internal review.
Everything works fine in most cases, but sometimes the random frame selection skips a few timestamps, and the output preview ends up missing key shots.
I’m using Python to handle frame sampling and ffmpeg for encoding, but the skipped frame issue happens inconsistently — especially when multiple preview jobs are queued together.
Has anyone faced a similar issue or found a reliable way to handle batch preview exports in Maya or via the command line?
Would love to know how others handle render queue automation or frame consistency across multiple sequences.
Thanks!