Skip to content

PictexSubtitleRenderer does not apply template styles #21

Description

@ucscode

When configuring a pipeline execution using .with_custom_subtitle_renderer(PictexSubtitleRenderer()), any custom styles or design configurations specified in the template loaders fail to apply or inject down into the final rendered asset outputs.

Steps to Reproduce

Run a minimal setup where a template is loaded and the subtitle renderer is manually swapped out to PictexSubtitleRenderer:

from pycaps import *

builder = (
    TemplateLoader("word-focus")
        .with_input_video("sample.mp4")
        .load(False)
        .with_custom_subtitle_renderer(PictexSubtitleRenderer())
)

pipeline = builder.build()
pipeline.run()

Expected Behavior

The PictexSubtitleRenderer should capture and respect the visual parameters, styles, and dimensions extracted by the TemplateLoader or assigned via the pipeline builder.

Actual Behavior

The execution defaults or drops visual parameters, leaving the subtitle layout ignoring structural style modifiers entirely during the final rendering step. templates like classic doesn't even render at all

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions