HwCodecDetect 0.2.0__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {hwcodecdetect-0.2.0/src/HwCodecDetect.egg-info → hwcodecdetect-0.2.2}/PKG-INFO +3 -3
- {hwcodecdetect-0.2.0 → hwcodecdetect-0.2.2}/README.md +2 -2
- hwcodecdetect-0.2.2/VERSION +1 -0
- {hwcodecdetect-0.2.0 → hwcodecdetect-0.2.2}/src/HwCodecDetect/bitdepth_chroma_detect.py +5 -2
- {hwcodecdetect-0.2.0 → hwcodecdetect-0.2.2}/src/HwCodecDetect/run_tests.py +9 -8
- hwcodecdetect-0.2.2/src/HwCodecDetect/version.py +1 -0
- {hwcodecdetect-0.2.0 → hwcodecdetect-0.2.2/src/HwCodecDetect.egg-info}/PKG-INFO +3 -3
- hwcodecdetect-0.2.0/VERSION +0 -1
- hwcodecdetect-0.2.0/src/HwCodecDetect/version.py +0 -1
- {hwcodecdetect-0.2.0 → hwcodecdetect-0.2.2}/LICENSE +0 -0
- {hwcodecdetect-0.2.0 → hwcodecdetect-0.2.2}/MANIFEST.in +0 -0
- {hwcodecdetect-0.2.0 → hwcodecdetect-0.2.2}/pyproject.toml +0 -0
- {hwcodecdetect-0.2.0 → hwcodecdetect-0.2.2}/requirements.txt +0 -0
- {hwcodecdetect-0.2.0 → hwcodecdetect-0.2.2}/setup.cfg +0 -0
- {hwcodecdetect-0.2.0 → hwcodecdetect-0.2.2}/setup.py +0 -0
- {hwcodecdetect-0.2.0 → hwcodecdetect-0.2.2}/src/HwCodecDetect/__init__.py +0 -0
- {hwcodecdetect-0.2.0 → hwcodecdetect-0.2.2}/src/HwCodecDetect/install_ffmpeg_if_needed.py +0 -0
- {hwcodecdetect-0.2.0 → hwcodecdetect-0.2.2}/src/HwCodecDetect.egg-info/SOURCES.txt +0 -0
- {hwcodecdetect-0.2.0 → hwcodecdetect-0.2.2}/src/HwCodecDetect.egg-info/dependency_links.txt +0 -0
- {hwcodecdetect-0.2.0 → hwcodecdetect-0.2.2}/src/HwCodecDetect.egg-info/entry_points.txt +0 -0
- {hwcodecdetect-0.2.0 → hwcodecdetect-0.2.2}/src/HwCodecDetect.egg-info/requires.txt +0 -0
- {hwcodecdetect-0.2.0 → hwcodecdetect-0.2.2}/src/HwCodecDetect.egg-info/top_level.txt +0 -0
- {hwcodecdetect-0.2.0 → hwcodecdetect-0.2.2}/src/HwCodecDetect.egg-info/zip-safe +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: HwCodecDetect
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: A cross-platform tool to automatically detect and test hardware video decoders/encoders using FFmpeg.
|
|
5
5
|
Home-page: https://github.com/whyb/HwCodecDetect
|
|
6
6
|
Author: whyb
|
|
@@ -56,8 +56,8 @@ The script automatically detect and reports on the following major hardware enco
|
|
|
56
56
|
| NVEnc | H.264、H.265、AV1 |
|
|
57
57
|
| QSV (Quick Sync Video) | H.264、H.265、AV1、MJPEG、MPEG-2、VP9 |
|
|
58
58
|
| AMF (Advanced Media Framework) | H.264、H.265、AV1 |
|
|
59
|
-
| Media Foundation | H.264、H.265
|
|
60
|
-
| D3D12VA (Direct3D 12 Video Acceleration) | H.265
|
|
59
|
+
| Media Foundation | H.264、H.265、AV1 |
|
|
60
|
+
| D3D12VA (Direct3D 12 Video Acceleration) | H.264、H.265、AV1 |
|
|
61
61
|
| VAAPI (Video Acceleration API) | H.264、H.265、AV1、MJPEG、MPEG-2、VP8、VP9 |
|
|
62
62
|
| Vulkan | H.264、H.265 |
|
|
63
63
|
| Apple VideoToolbox | H.264、H.265 |
|
|
@@ -30,8 +30,8 @@ The script automatically detect and reports on the following major hardware enco
|
|
|
30
30
|
| NVEnc | H.264、H.265、AV1 |
|
|
31
31
|
| QSV (Quick Sync Video) | H.264、H.265、AV1、MJPEG、MPEG-2、VP9 |
|
|
32
32
|
| AMF (Advanced Media Framework) | H.264、H.265、AV1 |
|
|
33
|
-
| Media Foundation | H.264、H.265
|
|
34
|
-
| D3D12VA (Direct3D 12 Video Acceleration) | H.265
|
|
33
|
+
| Media Foundation | H.264、H.265、AV1 |
|
|
34
|
+
| D3D12VA (Direct3D 12 Video Acceleration) | H.264、H.265、AV1 |
|
|
35
35
|
| VAAPI (Video Acceleration API) | H.264、H.265、AV1、MJPEG、MPEG-2、VP8、VP9 |
|
|
36
36
|
| Vulkan | H.264、H.265 |
|
|
37
37
|
| Apple VideoToolbox | H.264、H.265 |
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.2.2
|
|
@@ -46,7 +46,10 @@ ENCODER_TITLES = {
|
|
|
46
46
|
("av1_amf", "av1"): "AMD Hardware AV1 Encoder(AMF)",
|
|
47
47
|
("h264_mf", "h264"): "Microsoft Hardware H264 Encoder(MediaFoundation)",
|
|
48
48
|
("hevc_mf", "h265"): "Microsoft Hardware H265 Encoder(MediaFoundation)",
|
|
49
|
+
("av1_mf", "av1"): "Microsoft Hardware AV1 Encoder(MediaFoundation)",
|
|
50
|
+
("h264_d3d12va", "h264"): "Microsoft Direct3D 12 Video Acceleration H264 Encoder(D3D12VA)",
|
|
49
51
|
("hevc_d3d12va", "h265"): "Microsoft Direct3D 12 Video Acceleration H265 Encoder(D3D12VA)",
|
|
52
|
+
("av1_d3d12va", "av1"): "Microsoft Direct3D 12 Video Acceleration AV1 Encoder(D3D12VA)",
|
|
50
53
|
("h264_vaapi", "h264"): "Video Acceleration H264 Encoder(VAAPI)",
|
|
51
54
|
("hevc_vaapi", "h265"): "Video Acceleration H265 Encoder(VAAPI)",
|
|
52
55
|
("av1_vaapi", "av1"): "Video Acceleration AV1 Encoder(VAAPI)",
|
|
@@ -102,9 +105,9 @@ DECODER_TITLES = {
|
|
|
102
105
|
|
|
103
106
|
# Encoder definitions (same as main module)
|
|
104
107
|
ENCODERS = {
|
|
105
|
-
"h264": {"lib": "libx264", "hw_encoders": ["h264_nvenc", "h264_qsv", "h264_amf", "h264_mf", "h264_vaapi", "h264_vulkan", "h264_videotoolbox"]},
|
|
108
|
+
"h264": {"lib": "libx264", "hw_encoders": ["h264_nvenc", "h264_qsv", "h264_amf", "h264_mf", "h264_d3d12va", "h264_vaapi", "h264_vulkan", "h264_videotoolbox"]},
|
|
106
109
|
"h265": {"lib": "libx265", "hw_encoders": ["hevc_nvenc", "hevc_qsv", "hevc_amf", "hevc_mf", "hevc_d3d12va", "hevc_vaapi", "hevc_vulkan", "hevc_videotoolbox"]},
|
|
107
|
-
"av1": {"lib": "librav1e", "hw_encoders": ["av1_nvenc", "av1_qsv", "av1_amf", "av1_vaapi"]},
|
|
110
|
+
"av1": {"lib": "librav1e", "hw_encoders": ["av1_nvenc", "av1_qsv", "av1_amf", "av1_mf", "av1_d3d12va", "av1_vaapi"]},
|
|
108
111
|
"mpeg2": {"lib": "mpeg2video", "hw_encoders": ["mpeg2_qsv", "mpeg2_vaapi"]},
|
|
109
112
|
"vp8": {"lib": "libvpx", "hw_encoders": ["vp8_vaapi"]},
|
|
110
113
|
"vp9": {"lib": "libvpx-vp9", "hw_encoders": ["vp9_qsv", "vp9_vaapi"]},
|
|
@@ -108,7 +108,10 @@ ENCODER_TITLES = {
|
|
|
108
108
|
("av1_amf", "av1"): "AMD Hardware AV1 Encoder(AMF)",
|
|
109
109
|
("h264_mf", "h264"): "Microsoft Hardware H264 Encoder(MediaFoundation)",
|
|
110
110
|
("hevc_mf", "h265"): "Microsoft Hardware H265 Encoder(MediaFoundation)",
|
|
111
|
+
("av1_mf", "av1"): "Microsoft Hardware AV1 Encoder(MediaFoundation)",
|
|
112
|
+
("h264_d3d12va", "h264"): "Microsoft Direct3D 12 Video Acceleration H264 Encoder(D3D12VA)",
|
|
111
113
|
("hevc_d3d12va", "h265"): "Microsoft Direct3D 12 Video Acceleration H265 Encoder(D3D12VA)",
|
|
114
|
+
("av1_d3d12va", "av1"): "Microsoft Direct3D 12 Video Acceleration AV1 Encoder(D3D12VA)",
|
|
112
115
|
("h264_vaapi", "h264"): "Video Acceleration H264 Encoder(VAAPI)",
|
|
113
116
|
("hevc_vaapi", "h265"): "Video Acceleration H265 Encoder(VAAPI)",
|
|
114
117
|
("av1_vaapi", "av1"): "Video Acceleration AV1 Encoder(VAAPI)",
|
|
@@ -123,9 +126,9 @@ ENCODER_TITLES = {
|
|
|
123
126
|
}
|
|
124
127
|
|
|
125
128
|
ENCODERS = {
|
|
126
|
-
"h264": {"lib": "libx264", "hw_encoders": ["h264_nvenc", "h264_qsv", "h264_amf", "h264_mf", "h264_vaapi", "h264_vulkan", "h264_videotoolbox"]},
|
|
129
|
+
"h264": {"lib": "libx264", "hw_encoders": ["h264_nvenc", "h264_qsv", "h264_amf", "h264_mf", "h264_d3d12va", "h264_vaapi", "h264_vulkan", "h264_videotoolbox"]},
|
|
127
130
|
"h265": {"lib": "libx265", "hw_encoders": ["hevc_nvenc", "hevc_qsv", "hevc_amf", "hevc_mf", "hevc_d3d12va", "hevc_vaapi", "hevc_vulkan", "hevc_videotoolbox"]},
|
|
128
|
-
"av1": {"lib": "librav1e", "hw_encoders": ["av1_nvenc", "av1_qsv", "av1_amf", "av1_vaapi"]},
|
|
131
|
+
"av1": {"lib": "librav1e", "hw_encoders": ["av1_nvenc", "av1_qsv", "av1_amf", "av1_mf", "av1_d3d12va", "av1_vaapi"]},
|
|
129
132
|
"mjpeg": {"lib": "mjpeg", "hw_encoders": ["mjpeg_qsv", "mjpeg_vaapi"]},
|
|
130
133
|
"mpeg2": {"lib": "mpeg2video", "hw_encoders": ["mpeg2_qsv", "mpeg2_vaapi"]},
|
|
131
134
|
"vp8": {"lib": "libvpx", "hw_encoders": ["vp8_vaapi"]},
|
|
@@ -633,13 +636,11 @@ def main():
|
|
|
633
636
|
)
|
|
634
637
|
|
|
635
638
|
try:
|
|
636
|
-
import version
|
|
637
|
-
version_str = version
|
|
638
|
-
except
|
|
639
|
+
from importlib.metadata import version
|
|
640
|
+
version_str = version("HwCodecDetect")
|
|
641
|
+
except Exception:
|
|
639
642
|
try:
|
|
640
|
-
|
|
641
|
-
with open(version_file_path, "r", encoding="utf-8") as f:
|
|
642
|
-
version_str = f.read().strip()
|
|
643
|
+
from . import __version__ as version_str
|
|
643
644
|
except Exception:
|
|
644
645
|
version_str = "Unknown"
|
|
645
646
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.2.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: HwCodecDetect
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: A cross-platform tool to automatically detect and test hardware video decoders/encoders using FFmpeg.
|
|
5
5
|
Home-page: https://github.com/whyb/HwCodecDetect
|
|
6
6
|
Author: whyb
|
|
@@ -56,8 +56,8 @@ The script automatically detect and reports on the following major hardware enco
|
|
|
56
56
|
| NVEnc | H.264、H.265、AV1 |
|
|
57
57
|
| QSV (Quick Sync Video) | H.264、H.265、AV1、MJPEG、MPEG-2、VP9 |
|
|
58
58
|
| AMF (Advanced Media Framework) | H.264、H.265、AV1 |
|
|
59
|
-
| Media Foundation | H.264、H.265
|
|
60
|
-
| D3D12VA (Direct3D 12 Video Acceleration) | H.265
|
|
59
|
+
| Media Foundation | H.264、H.265、AV1 |
|
|
60
|
+
| D3D12VA (Direct3D 12 Video Acceleration) | H.264、H.265、AV1 |
|
|
61
61
|
| VAAPI (Video Acceleration API) | H.264、H.265、AV1、MJPEG、MPEG-2、VP8、VP9 |
|
|
62
62
|
| Vulkan | H.264、H.265 |
|
|
63
63
|
| Apple VideoToolbox | H.264、H.265 |
|
hwcodecdetect-0.2.0/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.2.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.2.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|