Skip to content

Integrating 'vid_transition.py' Directly into Python Script Without Command Line Use #18

@SelvaKumarDevPy

Description

@SelvaKumarDevPy

Hi Salaheddinek,

I've been using your video editing scripts and I'm particularly impressed with the transition animation script. It works perfectly when executed via the command line.

However, I'm currently working on a project where I need to integrate this functionality directly into my Python code, without resorting to command line execution or subprocess calls.

Could you please guide me on how I could achieve this? Specifically, I'm looking for a way to import the functionality of vid_transition.py into my existing Python script and use it directly.

The command I typically use is:
vid_transition.py -i test_1.mp4 test_2.mp4 --animation translation --num_frames 10 --max_brightness 1.5

Any pointers or examples you could provide would be greatly appreciated.

Thank you for creating such useful tools.

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