Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Why the rendering effect of samples/SampleOpenGL.py is flipped vertically. #550

@TurtleZhong

Description

@TurtleZhong

Describe the bug
In samples/SampleOpenGL.py, the rendering effect of OpenGL is flipped vertically. here is the origin video in tests/test.mp4
image

and below is the render results of OpenGL
image

python3 SampleOpenGL.py -g 0 -e /PATH/VideoProcessingFramework/tests/test.mp4

To Reproduce
Steps to reproduce the behavior:

  1. Before I use this command line, I need fix some bugs in SampleOpenGL.py, Line 346 and Line 347 need to be exchanged.
  2. Go to the samples folder and run
python3 SampleOpenGL.py -g 0 -e /PATH/VideoProcessingFramework/tests/test.mp4
  1. Then we can get the above result.
  2. See error->the rendering result is flipped vertically.

Screenshots

vpf-opengl-2023-11-14_10.26.42.mp4

Desktop (please complete the following information):

  • OS: [Linux, ubuntu 20.04]
  • Nvidia driver version[535.129.03]
  • CUDA Version [11.4]
  • Python Version [3.8]
  • Video Codec SDK Version [latest]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions