Skip to content

[Request] Naming the files different! #15

Open
@Pairan

Description

@Pairan

Currently the generated png files are named ws_000000001.png and so one for every file.

If you however fly for longer and one flight has several video files then this causes extra work to get together again.

Could the files be named in a pattern that includes the source file? e.g. AvatarG0001_xxxxxx.png

processor.py :

    def render(self):
        self.osdGenStatus.update(0, 1, 0)

        video_size = self.video.get_size()
        if self.config.render_upscale:
            ff_size = {"w": 2560, "h": 1440}
        else:
            ff_size = {"w": video_size[1], "h": video_size[0]}

        ### HERE "ws" should be replaced by the source file name's sequence number ###
        out_path = os.path.join(self.output, "ws_%09d.png")
        ...

That would make it easier to attached the generated files to each other ( like if AvatarG0001+AvatarG0002+AvatarG0003 = ONE FLIGHT)
WIth the current version I would have to rename all files to get them in the right sequence :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions