Skip to content

Does video_processor.py support CUDA acceleration for 4K videos ? #1

@mirov

Description

@mirov

I've been using a fork of the video_processor.py code to overlay telemetry info on my 4K in-flight captured video (from a Hawkeye 4K Thumb). It is great, the images and overlay results are stunning compared to analog 5.8G recordings on the ground.

However, it is really slow for 4K. Once the overlay of the telemetry starts it is about 2 frames/second. When doing NTSC video it is much faster, basically real-time. I've been working trying to get CUDA into the mix, and although my GPU is now talking to opencv and seems to be doing the right thing, I'm not seeing any usage of it in video_processor.py. Strace -o while it is running shows no text with "nvidia" as a crude indicator.

Are there different calls that are needed to invoke the GPU ? When you use the program, are you rendering entirely with your CPU ? Have you explored using a GPU?

Thanks, -Russ

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