Skip to content

Feature Request: Render OSD as video ONLY (transparent background) #41

Open
@Pairan

Description

@Pairan

Currently I'm struggling a bit with the intended workflow (v0.9). My DVR videos are about 9mins long and as such create a humongous pile of PNG files as I choose to render PNG only.

These 9min of DVR footage result in about 35840 PNG files ... to process these within the video editor of choice is not much of a pleasant task :) So here is my suggestion

add an option where the OSD is generated as a video with transparent background ONLY

That would make file handling MUCH easier and not even cost to much changes in the code .. e.g.

if option transparent osd video is checked then return a transparent frame instead of the frame in the video.

    def read_frame(self):
        ret, frame = self.videoFile.read()
        if not ret:
            return None

        if len(frame) == 0:
            return None

       """
            could look like this perhaps:
       """
       if transparent_osd_video:
            return transparentFrame


        return VideoFrame(frame)

Benefits

  • The resulting video would be easy to overlay over ANY format and content
  • It's only ONE file against several 35840 per 9min (I fly long trips, ... yes!)

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