Should `VideoDecoderConfig` have `visibleRect`?

Đang mở
#987 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
html, javascript
Lĩnh vực
api, audio-video-rtc

Hướng nghiên cứu

Read the VideoDecoderConfig definition and the VideoFrame visibleRect behavior in the WebCodecs specification. Compare the existing rotation and flip metadata with cropping information such as Matroska's PixelCrop* elements, then determine whether the API should accept an optional visibleRect; done means the proposal has a clear resolution and any required specification changes are identified.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

VideoDecoderConfig already defines "pure metadata" fields like rotation and flip that are not properties of the bitstream but rather metadata that the output VideoFrames are tagged with. Since containers can also define cropping information, like Matroska's PixelCrop* elements, should VideoDecoderConfig be extended with an optional visibleRect field?

A workaround is to update the visibleRect field on the VideoFrames manually as the decoder spits them out.

Ngôn ngữ chính
HTML
Star
1.3k
Fork
193
Merge trung bình
1 ngày 14 giờ
Pull request đã merge (30 ngày)
13

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của w3c/webcodecs

Tất cả issue của w3c/webcodecs

Issue tương tự

Thêm issue về Backend & API Design

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.