File name/numbering problems for image sequences

I may be missing something obvious here, but I’m trying to process multiple PNG image sequences and output them with exactly the same filename as the original, but in new folders. It processes them all fine, and puts the new sequences in individual folders as expected (albeit with a slightly undesirable folder name), but each PNG loses it’s original name and is simply named with a frame number (see example below). Surely there’s a way to upscale image sequences and keep the names in tact?

eg

original folder name:
SH010_v001
original file names:
SH010_0000.png
SH010_0001.png
SH010_0002.png
etc

desired output folder name
SH010_v001_4K
desired file names
SH010_0000.png
SH010_0001.png
SH010_0002.png
etc

actual output folder name
SH010_v001_thf4
actual file names
000001.png
000002.png
000003.png
etc

The other thing to note is that although I have “Same As Input” checked in the preferences for the frame numbering, you can see from above that it’s starting the naming at frame 1 instead of frame 0.

I have a lot of image sequences to process so any help would be greatly appreciated.

1 Like

To get what you want, as of right now, you have to modify the ffmpeg commands TVAI generates.

For image sequences though, I cannot fathom why anyone would want to add complexity by naming them more than just a number. The folder should have the differentiating name.

Adding the file name to an image sequence is beneficial for several reasons.

  1. Specific searches: A specific image can be found by entering both the original video name and the image number. That’s not possible if the user has ten images named “000001.png”.
  2. Broader searches: Suppose that a “000001.png” appears in some other (not directly related) search. While the user would know that it’s part of an image sequence, it’s not as quick to figure out what image sequence it’s part of.
  3. Contextual information: Adding the file name to the image provides important extra information. When the file is open in an image viewing app for example, the enclosing folder name may not be visible (depending on app/OS).

I don’t buy the “complexity” argument, since six numbers are very short. So it seems that Topaz’s naming scheme is simplicity just for simplicity’s sake, especially since it doesn’t even follow the original numbering (starting at 1 instead of 0).

They added the starts with 1 instead of 0 to the commands. Unchecking ‘Preserve Input’ lets you specify the starting frame number.
Six digits seems to be plenty since even a 3 hour movie with 60fps does not exceed that limit. It can always be increased easily.
For searches, yes there are going to be several images with the exact same name. Your folders name should be enough. One of the things that I do quite often is take sections of frames and replace them with frames from another movie. If those frames had unique names, programs like TVAI would not be able to process the ones with different names as the same movie.
I remember someone complaining that the names of the image sequences all were the same in Davinci Resolve. Well, you can rename the label it gives in there.

And wow. After all of that, if you pick ‘Export As’ instead of ‘Export’ in TVAI, it lets you do exactly what the original poster wants.