AcademySoftwareFoundation / AcademySoftwareFoundation/EncodingGuidelines

Re-work config file

Đang mở
#72 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Dockerfile
Star
55
Fork
8
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Add an explicit section for tests that would be a dictionary so that an example config would look like:

```
tests:
test_h265_color:
app: ffmpeg
comparisontest:
- testtype: idiff
- testtype: assertresults
tests:
- assert: less
value: max_error
less: 0.00195
description: h265 color tests of different pix-fmts
encoding_template: ffmpeg -y {input_args} -i "{source}" {encoding_args}
-y "{outfile}"
name: test_h265_color
sources:
- ../sourceimages/chip-chart-1080-noicc.png.yml
- ../sourceimages/chip-chart-1080-16bit-noicc.png.yml
- ../sourceimages/smptehdbars_16.png.yml
suffix: .mp4
wedges:
yuv444p10lex265: &basex265
-c:v: libx265
-vf: '"scale=in_color_matrix=bt709:out_color_matrix=bt709"'
-color_primaries: bt709
-color_range: tv
-color_trc: bt709
-colorspace: bt709
-pix_fmt: yuv444p10le
-preset: placebo
-x265-params: lossless=1
-tag:v: hvc1
-profile:v: main444-10

yuv444p12lefullx265:
<< : *basex265
-vf: '"scale=in_range=full:in_color_matrix=bt709:out_range=full:out_color_matrix=bt709"'
-color_range: pc

videotoolbox_h265_bgra:
<< : *basex265
-c:v: hevc_videotoolbox
#-vf: '"scale=in_range=full:in_color_matrix=bt709:out_range=full:out_color_matrix=bt709"'
-color_range: pc
-colorspace: rgb
-profile:v: main
-pix_fmt: bgra

test_h265_color_420:
app: ffmpeg
comparisontest:
- testtype: idiff
compare_image: ../sourceimages/chip-chart-1080-16bit-noicc-yuv420p10le.png
- testtype: assertresults
tests:
- assert: less
value: max_error
less: 0.00195
description: h265 color tests of different pix-fmts
encoding_template: ffmpeg -y {input_args} -i "{source}" {encoding_args}
-y "{outfile}"
name: test_h265_color
sources:
- ../sourceimages/chip-chart-1080-16bit-noicc.png.yml
suffix: .mp4
wedges:
yuv420p10le: &basex265
-c:v: libx265
-vf: '"scale=in_color_matrix=bt709:out_color_matrix=bt709"'
-color_primaries: bt709
-color_range: tv
-color_trc: bt709
-colorspace: bt709
-pix_fmt: yuv420p10le
-preset: placebo
-x265-params: lossless=1
-tag:v: hvc1
-profile:v: main444-10

reports:
description: This is testing h265 color encoding.
directory: hevc-color-encode
name: hevc-color-tests
templatefile: colorweb.html.jinja
title: Ffmpeg encoding guide tests

```

I might also remove some of the duplicate info, such as the name, and in the reports, the directory and name fields.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Sử dụng cấu hình mẫu trong issue làm cấu trúc mục tiêu. Xem xét các phần tests và reports được đề xuất, sau đó xác định những trường trùng lặp nào, bao gồm name, directory và report name, nên được giữ lại. Hoàn tất nghĩa là cấu trúc cấu hình nhất quán và ví dụ phản ánh chính xác định dạng được hỗ trợ.

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

Đánh giá

Lĩnh vực
testing, tooling
Loại issue
Tái cấu trúc
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

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.