Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P PyAV
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 37
    • Issues 37
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PyAV
  • PyAV
  • Merge requests
  • !415

Add support for more ndarray <-> VideoFrame conversions

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Jeremy Lainé requested to merge github/fork/jlaine/more-ndarray into develop Oct 06, 2018
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 3

We support round-tripping:

  • 24-bit RGB
  • 32-bit RGBA (new)
  • 8-bit grayscale (new)
  • yuv420p (new)
  • yuyv422 (new)

We drop the gray16 conversion code as it was not handling byte order correctly, and could not be triggered anyway due to an impossible test:

frame.format.name == ('gray16le', 'gray16be')

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/jlaine/more-ndarray