ggarra13 / mrv2

Professional player and review tool for vfx, animation and computer graphics.
https://mrv2.sourceforge.io
BSD 3-Clause "New" or "Revised" License
222 stars 14 forks source link

Saving Image Sequence Frame numbering #312

Closed timfritzksu closed 2 weeks ago

timfritzksu commented 2 weeks ago

Describe the bug A clear and concise description of what the bug is. Saving image sequences counts 1, 2, 3 ... 10, 11, 12 ... 100, 101. This isn't typical for how tools such as Maya, Blender, Premiere, Davinci Resolve, etc, read or write image sequences. 2024-10-14_15-12

To Reproduce Steps to reproduce the behavior:

  1. Load a video
  2. Save as a sequence
  3. enter file name
  4. Images exported with names such as ImageSequence1.jpg

Expected behavior Image sequences should include (configurable) leading zeroes. Example: ImageSequence001.jpg or ImageSequence0001.jpg. This reads properly into various tools such as Adobe products, Maya, Blender, Davinci Resolve. This would also sort properly in Windows File Explorer or Linux equivalent.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

ggarra13 commented 2 weeks ago

mrv2 (Darby's tlRender actually) automatically detects padding based on how you save your images.

If in the file requester, you type:

imageSequence.0001.exr

or:

imageSequence_0001.exr

the padding should be automatically detected. I've tried it with v1.2.8 Win11 and LInux with both the Native and mrv2's built-in requester and it works.

timfritzksu commented 2 weeks ago

Just tested it, can confirm. Works as you explained. Thank you!