meta-pytorch / meta-pytorch/torchcodec
Option to choose output color format
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 125
- Avg merge
- 22h 47m
- Merged PRs (30d)
- 54
Description
🚀 The feature
Hi is it possible to stop the decoder from converting a video from bgr to rgb?
Motivation, pitch
Sometimes it is better to keep the images in bgr especially if running a live system at fast speed because cameras usually output frames in bgr. I would like the decoder to replicate that behaviour.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the decoder path that converts frames from BGR to RGB and review how output formats are represented. Confirm the desired behavior for camera-originated frames and add coverage for selecting BGR output. Done means callers can choose BGR without automatic conversion while existing RGB behavior remains unchanged.
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
- 38/100