pytorch / pytorch/audio

StreamWriter The h264_nvenc/hevc_nvenc encoder supports the YUV420P format

Open
#3,388 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.9k
Forks
799
Avg merge
58m
Merged PRs (30d)
3

Description

🚀 The feature

Is the module that utilizes nvenc for accelerated encoding considering support for the yuv420p format?

Motivation, pitch

I am using this module for accelerated video encoding, but upon examining the code, I found that the output YUV format only supports YUV444.

Alternatives

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating StreamWriter's NVENC encoder format handling and inspect how YUV444 is currently supported for h264_nvenc and hevc_nvenc. The work is done when the module supports YUV420P for these encoders and the existing encoding behavior remains covered by appropriate tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
audio-video-rtc
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.