PyNvVideoCodec 2.0.0__cp313-cp313-win_amd64.whl
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.
- PyNvVideoCodec/PyNvVideoCodec_121.cp313-win_amd64.pyd +0 -0
- PyNvVideoCodec/PyNvVideoCodec_130.cp313-win_amd64.pyd +0 -0
- PyNvVideoCodec/VersionCheck.cp313-win_amd64.pyd +0 -0
- PyNvVideoCodec/__init__.py +237 -0
- PyNvVideoCodec/avcodec-58.dll +0 -0
- PyNvVideoCodec/avcodec-61.dll +0 -0
- PyNvVideoCodec/avcodec.dll +0 -0
- PyNvVideoCodec/avdevice-58.dll +0 -0
- PyNvVideoCodec/avdevice-61.dll +0 -0
- PyNvVideoCodec/avdevice.dll +0 -0
- PyNvVideoCodec/avfilter-10.dll +0 -0
- PyNvVideoCodec/avfilter-7.dll +0 -0
- PyNvVideoCodec/avfilter.dll +0 -0
- PyNvVideoCodec/avformat-58.dll +0 -0
- PyNvVideoCodec/avformat-61.dll +0 -0
- PyNvVideoCodec/avformat.dll +0 -0
- PyNvVideoCodec/avutil-56.dll +0 -0
- PyNvVideoCodec/avutil-59.dll +0 -0
- PyNvVideoCodec/avutil.dll +0 -0
- PyNvVideoCodec/decoders/SimpleDecoder.py +225 -0
- PyNvVideoCodec/decoders/ThreadedDecoder.py +119 -0
- PyNvVideoCodec/decoders/__init__.py +22 -0
- PyNvVideoCodec/swresample-3.dll +0 -0
- PyNvVideoCodec/swresample-5.dll +0 -0
- PyNvVideoCodec/swresample.dll +0 -0
- PyNvVideoCodec/swscale-5.dll +0 -0
- PyNvVideoCodec/swscale-8.dll +0 -0
- PyNvVideoCodec/swscale.dll +0 -0
- PyNvVideoCodec/transcoder/Transcoder.py +55 -0
- PyNvVideoCodec/transcoder/__init__.py +22 -0
- PyNvVideoCodec-2.0.0.data/data/external/ffmpeg/readme.txt +10 -0
- PyNvVideoCodec-2.0.0.data/data/external/ffmpeg/src/ffmpeg-7.0.2.tar.xz +0 -0
- PyNvVideoCodec-2.0.0.dist-info/METADATA +77 -0
- PyNvVideoCodec-2.0.0.dist-info/RECORD +64 -0
- PyNvVideoCodec-2.0.0.dist-info/WHEEL +5 -0
- PyNvVideoCodec-2.0.0.dist-info/licenses/LICENSE.txt +22 -0
- PyNvVideoCodec-2.0.0.dist-info/licenses/NOTICES.txt +167 -0
- PyNvVideoCodec-2.0.0.dist-info/top_level.txt +3 -0
- benchmarks/cached_decoder_benchmark.py +635 -0
- benchmarks/frame_sampling_benchmark.py +610 -0
- benchmarks/segmented_transcode_benchmark.py +1072 -0
- samples/Decode.py +194 -0
- samples/DecodeMultiprocessing.py +162 -0
- samples/DecodePerf.py +215 -0
- samples/DecodeSEIMsgExtraction.py +338 -0
- samples/DemuxFromByteArray.py +185 -0
- samples/Encode.py +189 -0
- samples/EncodeFromCPUBuffer.py +220 -0
- samples/EncodeMultiprocessing.py +268 -0
- samples/EncodePerf.py +380 -0
- samples/EncodeReconfigure.py +201 -0
- samples/EncodeSEIMsgInsertion.py +189 -0
- samples/ObjectDetection.py +218 -0
- samples/SimpleDecoder/EnsembleApp.py +416 -0
- samples/SimpleDecoder/SubsamplingAndReconfigure.py +341 -0
- samples/SimpleDecoder/fileLists.txt +4 -0
- samples/SimpleDecoder/segments.txt +3 -0
- samples/SimpleDecoder/timeListInSeconds.txt +5 -0
- samples/SimpleDecoder/transcode_config.json +6 -0
- samples/Utils.py +290 -0
- samples/coco_classes.pickle +0 -0
- samples/encode_config.json +16 -0
- samples/encode_config_lowlatency.json +11 -0
- samples/encode_config_perf.json +9 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# This copyright notice applies to this file only
|
|
2
|
+
#
|
|
3
|
+
# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
4
|
+
# SPDX-License-Identifier: MIT
|
|
5
|
+
#
|
|
6
|
+
# Permission is hereby granted, free of charge, to any person obtaining a
|
|
7
|
+
# copy of this software and associated documentation files (the "Software"),
|
|
8
|
+
# to deal in the Software without restriction, including without limitation
|
|
9
|
+
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
10
|
+
# and/or sell copies of the Software, and to permit persons to whom the
|
|
11
|
+
# Software is furnished to do so, subject to the following conditions:
|
|
12
|
+
#
|
|
13
|
+
# The above copyright notice and this permission notice shall be included in
|
|
14
|
+
# all copies or substantial portions of the Software.
|
|
15
|
+
#
|
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
19
|
+
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
21
|
+
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
22
|
+
# DEALINGS IN THE SOFTWARE.
|
|
23
|
+
|
|
24
|
+
from typing import Union
|
|
25
|
+
import PyNvVideoCodec as nvc
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class Transcoder:
|
|
29
|
+
"""
|
|
30
|
+
A simple class for transcoding a video stream.
|
|
31
|
+
|
|
32
|
+
Args:
|
|
33
|
+
enc_file_path (str): Path to input container file.
|
|
34
|
+
muxed_file_path (str): Path to output container file after transcode.
|
|
35
|
+
gpu_id (int) : gpu id on which to decode on.
|
|
36
|
+
cuda_context(pycuda._driver.Context): Cuda context under which the source is decoded
|
|
37
|
+
cuda_stream(pycuda._driver.Stream): Cuda stream used by the decoder
|
|
38
|
+
kwargs (key-value pairs): encode config settings
|
|
39
|
+
"""
|
|
40
|
+
|
|
41
|
+
def __init__(self,
|
|
42
|
+
enc_file_path : str,
|
|
43
|
+
muxed_file_path : str,
|
|
44
|
+
gpu_id : int,
|
|
45
|
+
cuda_context : int,
|
|
46
|
+
cuda_stream : int,
|
|
47
|
+
**kwargs
|
|
48
|
+
):
|
|
49
|
+
self.transcoder = nvc.CreateTranscoder(enc_file_path,muxed_file_path,gpu_id,cuda_context,cuda_stream,kwargs)
|
|
50
|
+
|
|
51
|
+
def transcode_with_mux(self):
|
|
52
|
+
return self.transcoder.transcode_with_mux()
|
|
53
|
+
|
|
54
|
+
def segmented_transcode(self, start:float, end:float):
|
|
55
|
+
return self.transcoder.segmented_transcode(start, end)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# This copyright notice applies to this file only
|
|
2
|
+
#
|
|
3
|
+
# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
4
|
+
# SPDX-License-Identifier: MIT
|
|
5
|
+
#
|
|
6
|
+
# Permission is hereby granted, free of charge, to any person obtaining a
|
|
7
|
+
# copy of this software and associated documentation files (the "Software"),
|
|
8
|
+
# to deal in the Software without restriction, including without limitation
|
|
9
|
+
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
10
|
+
# and/or sell copies of the Software, and to permit persons to whom the
|
|
11
|
+
# Software is furnished to do so, subject to the following conditions:
|
|
12
|
+
#
|
|
13
|
+
# The above copyright notice and this permission notice shall be included in
|
|
14
|
+
# all copies or substantial portions of the Software.
|
|
15
|
+
#
|
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
19
|
+
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
21
|
+
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
22
|
+
# DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
FFMPEG Libraries present in this package were built using the following configure options
|
|
2
|
+
|
|
3
|
+
x64: ./configure --enable-shared --disable-encoders --disable-decoders --enable-decoder=vp9 --toolchain=msvc
|
|
4
|
+
win32: ./configure --enable-shared --disable-encoders --disable-decoders --enable-decoder=vp9 --toolchain=msvc --arch=x86
|
|
5
|
+
x86_64: LDSOFLAGS=-Wl,-rpath,\''$$$$ORIGIN'\' ./configure --enable-shared --disable-encoders --disable-decoders --enable-decoder=vp9 --arch=x86_64
|
|
6
|
+
|
|
7
|
+
Only header files and libraries that are required for compiling the sample applications inside the package have been included.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
Binary file
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: PyNvVideoCodec
|
|
3
|
+
Version: 2.0.0
|
|
4
|
+
Summary: PyNvVideoCodec is NVIDIA's Python based video codec library for hardware accelerated video encode and decode on NVIDIA GPUs.
|
|
5
|
+
Author: NVIDIA
|
|
6
|
+
Maintainer: nvidia
|
|
7
|
+
License: MIT
|
|
8
|
+
Project-URL: documentation, https://docs.nvidia.com/video-technologies/pynvvideocodec/index.html
|
|
9
|
+
Project-URL: source, https://catalog.ngc.nvidia.com/orgs/nvidia/resources/pynvvideocodec
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Requires-Python: >=3.8
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
License-File: LICENSE.txt
|
|
14
|
+
License-File: NOTICES.txt
|
|
15
|
+
Dynamic: license-file
|
|
16
|
+
|
|
17
|
+
# **PyNvVideoCodec**
|
|
18
|
+
|
|
19
|
+
[PyNvVideoCodec](https://docs.nvidia.com/video-technologies/pynvvideocodec/index.html) is NVIDIA's Python-based library that provides simple yet powerful Python APIs for hardware-accelerated video encoding and decoding on NVIDIA GPUs.
|
|
20
|
+
|
|
21
|
+
PyNvVideoCodec is built on top of the Video Codec SDK and offers encode, decode, and transcode performance on par with it.
|
|
22
|
+
|
|
23
|
+
The library is distributed under MIT license and is officially supported by NVIDIA.
|
|
24
|
+
|
|
25
|
+
This release introduces several new features and enhancements designed to optimize video processing workflows in AI and multimedia applications.
|
|
26
|
+
|
|
27
|
+
## **Features**
|
|
28
|
+
|
|
29
|
+
Current PyNvVideoCodec version supports following features:
|
|
30
|
+
|
|
31
|
+
### **Decode Features**
|
|
32
|
+
|
|
33
|
+
* **Seek and frame sampling:** Provides efficient and flexible methods for fetching video frames in various modes, including sequential, random, periodic, indexed, batched, and sliced, as well as at a specified target frame rate.
|
|
34
|
+
* **Decoder caching:** Optimizes decoding of short video clips through decoder caching and reconfiguration.
|
|
35
|
+
* **Threaded decoder:** Supports decoding on separate threads, delivering pre-decoded frames with near-zero latency, enabling high-performance video processing pipelines.
|
|
36
|
+
* **Video processing from buffer:** Supports video processing from memory buffers, reducing I/O overhead, enabling streaming applications.
|
|
37
|
+
* **Low latency decode:** Offers zero-latency decoding for video sequences that do not contain B-frames.
|
|
38
|
+
* **SEI extraction:** Supports the extraction of Supplemental Enhancement Information (SEI) messages, allowing access to additional information such as HDR information, timecodes, and custom user data.
|
|
39
|
+
* **Stream metadata access:** Enables access to stream metadata, including frame width, height, bit depth, and keyframe indices, to enhance content management.
|
|
40
|
+
* **GIL handling:** Improved multithreaded performance through better handling of Global Interpreter Lock (GIL) in C++ layer.
|
|
41
|
+
* **Multi-GPU decode:** Enables multi-GPU decoding to efficiently handle larger workloads.
|
|
42
|
+
* **Extended codec support:** Supports codecs H.264, HEVC, AV1, VP8, VP9, VC1, MPEG4, MPEG2, and MPEG1
|
|
43
|
+
* **4:2:2 decode:** Supports 4:2:2 decoding for both H.264 and HEVC formats on Blackwell GPUs (NV16, P210 and P216 surface formats).
|
|
44
|
+
* **Extended output formats :** Decode to various output formats including NV12, YUV420, YUV444, NV16, P010, P016 and RGB24(interleaved and planar)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### **Encode Features**
|
|
49
|
+
|
|
50
|
+
* **Encoder reconfiguration:** Supports encoder reconfiguration, enabling dynamic updating of encoding parameters without recreating encoder instances.
|
|
51
|
+
* **SEI insertion:** Allows insertion of SEI messages during encoding.
|
|
52
|
+
* **GIL handling:** Improved multithreaded performance through better handling of Global Interpreter Lock (GIL) in C++ layer.
|
|
53
|
+
* **Multi-GPU encode:** Enables multi-GPU encoding to efficiently handle larger workloads.
|
|
54
|
+
* **Codec support:** Support encoding to codec H.264, HEVC, and AV1.
|
|
55
|
+
* **4:2:2 encode:** Supports 4:2:2 encoding for both H.264 and HEVC formats on Blackwell GPUs (NV16 and P210 surface formats).
|
|
56
|
+
* **Extended input formats:** Encode from various input formats including NV12, YV12, IYUV, YUV444, YUV420\_10BIT, YUV444\_10BIT, NV16, P210, ARGB, ABGR, ARGB10, and ABGR10.
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### **Transcode Features**
|
|
61
|
+
|
|
62
|
+
* **Segment-based transcode:** Enables transcoding of video segments based on timestamp ranges, ideal for content editing and partial processing.
|
|
63
|
+
|
|
64
|
+
## **Distribution**
|
|
65
|
+
|
|
66
|
+
PyNvVideoCodec library is distributed in two formats: binary distribution via [PyPI](https://pypi.org/project/pynvvideocodec/) and source code distribution via [NVIDIA NGC](https://catalog.ngc.nvidia.com/orgs/nvidia/resources/pynvvideocodec). In both cases, the library and its dependencies can be installed using a single pip install command.
|
|
67
|
+
|
|
68
|
+
This package on PyPI contains Python WHLs of the PyNvVideoCodec library and sample applications that demonstrate the use of the PyNvVideoCodec API. To install these please open the shell prompt, and run the following command.
|
|
69
|
+
|
|
70
|
+
```py
|
|
71
|
+
$ pip install PyNvVideoCodec
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## **Sample Applications and Documents**
|
|
75
|
+
|
|
76
|
+
* A package containing PyNvVideoCodec source code, Python sample applications and documentation can be downloaded from [NVIDIA NGC](https://catalog.ngc.nvidia.com/orgs/nvidia/resources/pynvvideocodec).
|
|
77
|
+
* For your convenience, the documents are also accessible online at [PyNvVideoCodec Online Documentation](https://docs.nvidia.com/video-technologies/pynvvideocodec/index.html).
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
PyNvVideoCodec/PyNvVideoCodec_121.cp313-win_amd64.pyd,sha256=gtKAARymVfjia1j06Oi1b1S1ZL6nTkBHioYGJcg2zGc,1845760
|
|
2
|
+
PyNvVideoCodec/PyNvVideoCodec_130.cp313-win_amd64.pyd,sha256=I2EWLH5oDzIeNY2xcenAmXVxMTDQfhs5MHrDOhGqJJY,1851904
|
|
3
|
+
PyNvVideoCodec/VersionCheck.cp313-win_amd64.pyd,sha256=9fUiAdrGdwXTjWTi4SkmJAce3ozJtG29gBa1WTXfb5E,147968
|
|
4
|
+
PyNvVideoCodec/__init__.py,sha256=MRyI0PmHggN5tBkDHXk6wHozQxR8R75JYcAsn1srkd0,8852
|
|
5
|
+
PyNvVideoCodec/avcodec-58.dll,sha256=dY2AD5TGtOPzow5jL-wDITfDLyWgcgFctnNsK7NB-Nc,8404480
|
|
6
|
+
PyNvVideoCodec/avcodec-61.dll,sha256=rhMW2QgJBdaZPOtWNRyDjPX-jUgY7mYOya18M7o4jYY,8871936
|
|
7
|
+
PyNvVideoCodec/avcodec.dll,sha256=rhMW2QgJBdaZPOtWNRyDjPX-jUgY7mYOya18M7o4jYY,8871936
|
|
8
|
+
PyNvVideoCodec/avdevice-58.dll,sha256=PK2sgpo35ZDvJXN5iqtL7aRGFTxlOJgEpMgncrOvYSM,816640
|
|
9
|
+
PyNvVideoCodec/avdevice-61.dll,sha256=XfLT_m9MWYAQhR1Ox2Z6Plk0p4BXy0JUGSIS0Ry6HO8,924160
|
|
10
|
+
PyNvVideoCodec/avdevice.dll,sha256=XfLT_m9MWYAQhR1Ox2Z6Plk0p4BXy0JUGSIS0Ry6HO8,924160
|
|
11
|
+
PyNvVideoCodec/avfilter-10.dll,sha256=lELXZjMICcD9Y2mT6T3Qv1vIjN6NAPCX-mdRvP2-h4M,6210560
|
|
12
|
+
PyNvVideoCodec/avfilter-7.dll,sha256=VGEGbZTz_BAmnL8qD2I6DbHji4aC0FfNe4xTqB_xgD0,5263360
|
|
13
|
+
PyNvVideoCodec/avfilter.dll,sha256=lELXZjMICcD9Y2mT6T3Qv1vIjN6NAPCX-mdRvP2-h4M,6210560
|
|
14
|
+
PyNvVideoCodec/avformat-58.dll,sha256=x3phTJqjoKjMW6n41JUSFp2817quoji5fU7DiIVXRcw,3830784
|
|
15
|
+
PyNvVideoCodec/avformat-61.dll,sha256=ZkTM7t5R0A6YXhxcDibfq-TogeHleBNl5UacL_HSp28,4194816
|
|
16
|
+
PyNvVideoCodec/avformat.dll,sha256=ZkTM7t5R0A6YXhxcDibfq-TogeHleBNl5UacL_HSp28,4194816
|
|
17
|
+
PyNvVideoCodec/avutil-56.dll,sha256=D6RKKJlMo92jeGSRduhlJ7mrH0zXLQH8wltI59ZlnXU,1590272
|
|
18
|
+
PyNvVideoCodec/avutil-59.dll,sha256=_187GsFmtgz6cppiTS0WahruiZMSlCfrdwIDpc4yYN8,2181120
|
|
19
|
+
PyNvVideoCodec/avutil.dll,sha256=_187GsFmtgz6cppiTS0WahruiZMSlCfrdwIDpc4yYN8,2181120
|
|
20
|
+
PyNvVideoCodec/swresample-3.dll,sha256=MhLKOxdn85f8qzIBQpmcUi2rubw1Pd16Ri47wH8TqZE,725504
|
|
21
|
+
PyNvVideoCodec/swresample-5.dll,sha256=cJ5CIrgXsfnIU6uCKcgmiiXbRJMLeae-HPEFhLkLK8Y,807424
|
|
22
|
+
PyNvVideoCodec/swresample.dll,sha256=cJ5CIrgXsfnIU6uCKcgmiiXbRJMLeae-HPEFhLkLK8Y,807424
|
|
23
|
+
PyNvVideoCodec/swscale-5.dll,sha256=EYdwwcq-c6MiGmgMPSyzdRhwIMd8VZ95ABDYiUunvy0,1307648
|
|
24
|
+
PyNvVideoCodec/swscale-8.dll,sha256=-VhT7YOZ1D5PN7nR--w05xiBKA_3dOnwPLCTDlLgb4s,1495552
|
|
25
|
+
PyNvVideoCodec/swscale.dll,sha256=-VhT7YOZ1D5PN7nR--w05xiBKA_3dOnwPLCTDlLgb4s,1495552
|
|
26
|
+
PyNvVideoCodec/decoders/SimpleDecoder.py,sha256=zOvNhwbPvHpjVqUWIp4fiFF5pVfl0QsHUAXVLodq1T8,9839
|
|
27
|
+
PyNvVideoCodec/decoders/ThreadedDecoder.py,sha256=NT3iit-KKU2BwANFHoIX65JUr8PoQ5pz4CAoaQvhrXg,6087
|
|
28
|
+
PyNvVideoCodec/decoders/__init__.py,sha256=8Pcyt93iXsA7XgEM96hj_9gnlfKk2-Th86LrqXQ_F4c,1259
|
|
29
|
+
PyNvVideoCodec/transcoder/Transcoder.py,sha256=KmPufmwEgC02G4K7koj-ouyXP95fdBlMNYtXC9lMeZw,2443
|
|
30
|
+
PyNvVideoCodec/transcoder/__init__.py,sha256=wN_DxZcoU9W7eVLN91fmExIT1mt9dbOD2T8-VwJxVtk,1261
|
|
31
|
+
benchmarks/cached_decoder_benchmark.py,sha256=6PxEEf_CMyturIgPAQwHWc4GqVWWX_OVEOSBE64oDJs,23962
|
|
32
|
+
benchmarks/frame_sampling_benchmark.py,sha256=OWQgWuLYEqDJF7uD4Yqz0atDTtWiZiJ1Ym82bka_vCk,26008
|
|
33
|
+
benchmarks/segmented_transcode_benchmark.py,sha256=r1BQQQg6h2FZHBhQPlf6_NB7xfUrMmF916luPydwqKU,44451
|
|
34
|
+
PyNvVideoCodec-2.0.0.data/data/external/ffmpeg/readme.txt,sha256=ms5zjNgaPi0jbFx1e5iv41dZL9HCzO5nmOe6SJ-KXJw,614
|
|
35
|
+
PyNvVideoCodec-2.0.0.data/data/external/ffmpeg/src/ffmpeg-7.0.2.tar.xz,sha256=hkZRW2OKOtMD4jr2o1h3NER8uPwKDAZOzbjpXE_Ys4k,10795332
|
|
36
|
+
PyNvVideoCodec-2.0.0.dist-info/licenses/LICENSE.txt,sha256=dJ999H-iMaHcd1tehkT7U1eIUkfzutXAZ_JUKPsdXZM,1174
|
|
37
|
+
PyNvVideoCodec-2.0.0.dist-info/licenses/NOTICES.txt,sha256=YO5BKdOKsY_HJTtamtqg6o7RoHOzl87HY2zsCUdICdk,7886
|
|
38
|
+
samples/Decode.py,sha256=DnqGukehg6mWVFgGsVGr8XmfjdWu0UV8kh38Kn4Zh2Y,9189
|
|
39
|
+
samples/DecodeMultiprocessing.py,sha256=G9ZMgYE08-XflJtc92H_iVHickoZ5N_BZbnb33lbWA8,6312
|
|
40
|
+
samples/DecodePerf.py,sha256=0fWvZVboDesvFkX9rCxLvjI62l1q1EZZDw2PoQc2lkk,7853
|
|
41
|
+
samples/DecodeSEIMsgExtraction.py,sha256=tE5CzUuwGHWdCcVIcVD671BMrK6yMuXTC4qvGFX29Yk,14957
|
|
42
|
+
samples/DemuxFromByteArray.py,sha256=sHfl7Tkqp0ryto7FyCk6klQU3a2iuUSSGeMdEKoJupM,6640
|
|
43
|
+
samples/Encode.py,sha256=DV2xkI9TiZpmy1COaxK2eEfDDIDp2b8vevSNf2nA7v8,7345
|
|
44
|
+
samples/EncodeFromCPUBuffer.py,sha256=Ng0ysH40CpTItnEF28JwOmb7kat35fiz_WPMIMSxg1U,8139
|
|
45
|
+
samples/EncodeMultiprocessing.py,sha256=JWyljqaJcCjZLy4tcjXObATlqi-uEU1fRAatekydIXU,9809
|
|
46
|
+
samples/EncodePerf.py,sha256=cYIbqRxG6_MIX5TiBgwFGg6VsnN_a9hzBNZxU1Q20JM,12814
|
|
47
|
+
samples/EncodeReconfigure.py,sha256=kXQU-0sHJ3zyLHZtEmOkGkYIPuIbg0az7enrRW3e4O0,7787
|
|
48
|
+
samples/EncodeSEIMsgInsertion.py,sha256=fQN-2E6d7RvjO2M2noS1z_yGmNlptppVAYdmufyY0As,7119
|
|
49
|
+
samples/ObjectDetection.py,sha256=RFZmLvRDCK6z8eF5wJPD1qFyNGPDOdDj7PpazwxPALo,9354
|
|
50
|
+
samples/Utils.py,sha256=CQWD_5fcgADdEwhcphTmZcPcuF0UGW745bDzA1HbP98,12906
|
|
51
|
+
samples/coco_classes.pickle,sha256=kkzIHUQ4Xz8CDISRbPmClEqM86WeV9i16SCs-vYM-jg,838
|
|
52
|
+
samples/encode_config.json,sha256=tyteAx7ih__RgIRa14_jnIG3FZYXfMuCWrX9ndPHick,331
|
|
53
|
+
samples/encode_config_lowlatency.json,sha256=C9aUfpMrarRjovVJIfKA-58fWwUtMs9bWhrgGNAWClc,199
|
|
54
|
+
samples/encode_config_perf.json,sha256=TZ6NYdYtvXIz_IRw_ryfwWLW8wf1D7ubwRTty5fwKLY,191
|
|
55
|
+
samples/SimpleDecoder/EnsembleApp.py,sha256=edSZuM_JYYgUx-C8rOG0OxKf8o6POLjLdxgw7YekTBc,18765
|
|
56
|
+
samples/SimpleDecoder/SubsamplingAndReconfigure.py,sha256=jtp_TIZRgzbtfdZfiI-U4roQiTJYKjvpMs-jXPQjxbM,14093
|
|
57
|
+
samples/SimpleDecoder/fileLists.txt,sha256=kHtvmYcdCpt2OOlWXO7spaixwX_c8rasAB-qAyoFhHE,122
|
|
58
|
+
samples/SimpleDecoder/segments.txt,sha256=URKw_1BeqiMV2vYaPc213Z1YnUbnyYPzCONRJ5qAXmU,17
|
|
59
|
+
samples/SimpleDecoder/timeListInSeconds.txt,sha256=SOhNpx3njWx1TxKF6T7ScptlbD61oWZRs9CgwIugSnc,23
|
|
60
|
+
samples/SimpleDecoder/transcode_config.json,sha256=mSnYYW5KOVlMC6pmG3guLtAqBn1PQzcLXPy2Gl7vObU,102
|
|
61
|
+
PyNvVideoCodec-2.0.0.dist-info/METADATA,sha256=NMYjYvJWw8nIWwcS4RqwS7JBtgEvsvyvVmE3EM9AD1Y,5236
|
|
62
|
+
PyNvVideoCodec-2.0.0.dist-info/WHEEL,sha256=4dU9bvlPw8d_96aXToRp7-Ml2sgZj7vbQmzTV5aNNOE,96
|
|
63
|
+
PyNvVideoCodec-2.0.0.dist-info/top_level.txt,sha256=L7cP7N5LjGw80fJ7i2c9HYNZk7U3G80zVXDKNaffjLg,34
|
|
64
|
+
PyNvVideoCodec-2.0.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
2
|
+
SPDX-License-Identifier: MIT
|
|
3
|
+
|
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
|
5
|
+
copy of this software and associated documentation files (the "Software"),
|
|
6
|
+
to deal in the Software without restriction, including without limitation
|
|
7
|
+
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
8
|
+
and/or sell copies of the Software, and to permit persons to whom the
|
|
9
|
+
Software is furnished to do so, subject to the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be included in
|
|
12
|
+
all copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
17
|
+
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
19
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
20
|
+
DEALINGS IN THE SOFTWARE.
|
|
21
|
+
|
|
22
|
+
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
This SDK includes portions of FFMPEG, under the following license:
|
|
2
|
+
|
|
3
|
+
GNU LESSER GENERAL PUBLIC LICENSE
|
|
4
|
+
Version 3, 29 June 2007
|
|
5
|
+
|
|
6
|
+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
|
7
|
+
Everyone is permitted to copy and distribute verbatim copies
|
|
8
|
+
of this license document, but changing it is not allowed.
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
This version of the GNU Lesser General Public License incorporates
|
|
12
|
+
the terms and conditions of version 3 of the GNU General Public
|
|
13
|
+
License, supplemented by the additional permissions listed below.
|
|
14
|
+
|
|
15
|
+
0. Additional Definitions.
|
|
16
|
+
|
|
17
|
+
As used herein, "this License" refers to version 3 of the GNU Lesser
|
|
18
|
+
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
|
19
|
+
General Public License.
|
|
20
|
+
|
|
21
|
+
"The Library" refers to a covered work governed by this License,
|
|
22
|
+
other than an Application or a Combined Work as defined below.
|
|
23
|
+
|
|
24
|
+
An "Application" is any work that makes use of an interface provided
|
|
25
|
+
by the Library, but which is not otherwise based on the Library.
|
|
26
|
+
Defining a subclass of a class defined by the Library is deemed a mode
|
|
27
|
+
of using an interface provided by the Library.
|
|
28
|
+
|
|
29
|
+
A "Combined Work" is a work produced by combining or linking an
|
|
30
|
+
Application with the Library. The particular version of the Library
|
|
31
|
+
with which the Combined Work was made is also called the "Linked
|
|
32
|
+
Version".
|
|
33
|
+
|
|
34
|
+
The "Minimal Corresponding Source" for a Combined Work means the
|
|
35
|
+
Corresponding Source for the Combined Work, excluding any source code
|
|
36
|
+
for portions of the Combined Work that, considered in isolation, are
|
|
37
|
+
based on the Application, and not on the Linked Version.
|
|
38
|
+
|
|
39
|
+
The "Corresponding Application Code" for a Combined Work means the
|
|
40
|
+
object code and/or source code for the Application, including any data
|
|
41
|
+
and utility programs needed for reproducing the Combined Work from the
|
|
42
|
+
Application, but excluding the System Libraries of the Combined Work.
|
|
43
|
+
|
|
44
|
+
1. Exception to Section 3 of the GNU GPL.
|
|
45
|
+
|
|
46
|
+
You may convey a covered work under sections 3 and 4 of this License
|
|
47
|
+
without being bound by section 3 of the GNU GPL.
|
|
48
|
+
|
|
49
|
+
2. Conveying Modified Versions.
|
|
50
|
+
|
|
51
|
+
If you modify a copy of the Library, and, in your modifications, a
|
|
52
|
+
facility refers to a function or data to be supplied by an Application
|
|
53
|
+
that uses the facility (other than as an argument passed when the
|
|
54
|
+
facility is invoked), then you may convey a copy of the modified
|
|
55
|
+
version:
|
|
56
|
+
|
|
57
|
+
a) under this License, provided that you make a good faith effort to
|
|
58
|
+
ensure that, in the event an Application does not supply the
|
|
59
|
+
function or data, the facility still operates, and performs
|
|
60
|
+
whatever part of its purpose remains meaningful, or
|
|
61
|
+
|
|
62
|
+
b) under the GNU GPL, with none of the additional permissions of
|
|
63
|
+
this License applicable to that copy.
|
|
64
|
+
|
|
65
|
+
3. Object Code Incorporating Material from Library Header Files.
|
|
66
|
+
|
|
67
|
+
The object code form of an Application may incorporate material from
|
|
68
|
+
a header file that is part of the Library. You may convey such object
|
|
69
|
+
code under terms of your choice, provided that, if the incorporated
|
|
70
|
+
material is not limited to numerical parameters, data structure
|
|
71
|
+
layouts and accessors, or small macros, inline functions and templates
|
|
72
|
+
(ten or fewer lines in length), you do both of the following:
|
|
73
|
+
|
|
74
|
+
a) Give prominent notice with each copy of the object code that the
|
|
75
|
+
Library is used in it and that the Library and its use are
|
|
76
|
+
covered by this License.
|
|
77
|
+
|
|
78
|
+
b) Accompany the object code with a copy of the GNU GPL and this license
|
|
79
|
+
document.
|
|
80
|
+
|
|
81
|
+
4. Combined Works.
|
|
82
|
+
|
|
83
|
+
You may convey a Combined Work under terms of your choice that,
|
|
84
|
+
taken together, effectively do not restrict modification of the
|
|
85
|
+
portions of the Library contained in the Combined Work and reverse
|
|
86
|
+
engineering for debugging such modifications, if you also do each of
|
|
87
|
+
the following:
|
|
88
|
+
|
|
89
|
+
a) Give prominent notice with each copy of the Combined Work that
|
|
90
|
+
the Library is used in it and that the Library and its use are
|
|
91
|
+
covered by this License.
|
|
92
|
+
|
|
93
|
+
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
|
94
|
+
document.
|
|
95
|
+
|
|
96
|
+
c) For a Combined Work that displays copyright notices during
|
|
97
|
+
execution, include the copyright notice for the Library among
|
|
98
|
+
these notices, as well as a reference directing the user to the
|
|
99
|
+
copies of the GNU GPL and this license document.
|
|
100
|
+
|
|
101
|
+
d) Do one of the following:
|
|
102
|
+
|
|
103
|
+
0) Convey the Minimal Corresponding Source under the terms of this
|
|
104
|
+
License, and the Corresponding Application Code in a form
|
|
105
|
+
suitable for, and under terms that permit, the user to
|
|
106
|
+
recombine or relink the Application with a modified version of
|
|
107
|
+
the Linked Version to produce a modified Combined Work, in the
|
|
108
|
+
manner specified by section 6 of the GNU GPL for conveying
|
|
109
|
+
Corresponding Source.
|
|
110
|
+
|
|
111
|
+
1) Use a suitable shared library mechanism for linking with the
|
|
112
|
+
Library. A suitable mechanism is one that (a) uses at run time
|
|
113
|
+
a copy of the Library already present on the user's computer
|
|
114
|
+
system, and (b) will operate properly with a modified version
|
|
115
|
+
of the Library that is interface-compatible with the Linked
|
|
116
|
+
Version.
|
|
117
|
+
|
|
118
|
+
e) Provide Installation Information, but only if you would otherwise
|
|
119
|
+
be required to provide such information under section 6 of the
|
|
120
|
+
GNU GPL, and only to the extent that such information is
|
|
121
|
+
necessary to install and execute a modified version of the
|
|
122
|
+
Combined Work produced by recombining or relinking the
|
|
123
|
+
Application with a modified version of the Linked Version. (If
|
|
124
|
+
you use option 4d0, the Installation Information must accompany
|
|
125
|
+
the Minimal Corresponding Source and Corresponding Application
|
|
126
|
+
Code. If you use option 4d1, you must provide the Installation
|
|
127
|
+
Information in the manner specified by section 6 of the GNU GPL
|
|
128
|
+
for conveying Corresponding Source.)
|
|
129
|
+
|
|
130
|
+
5. Combined Libraries.
|
|
131
|
+
|
|
132
|
+
You may place library facilities that are a work based on the
|
|
133
|
+
Library side by side in a single library together with other library
|
|
134
|
+
facilities that are not Applications and are not covered by this
|
|
135
|
+
License, and convey such a combined library under terms of your
|
|
136
|
+
choice, if you do both of the following:
|
|
137
|
+
|
|
138
|
+
a) Accompany the combined library with a copy of the same work based
|
|
139
|
+
on the Library, uncombined with any other library facilities,
|
|
140
|
+
conveyed under the terms of this License.
|
|
141
|
+
|
|
142
|
+
b) Give prominent notice with the combined library that part of it
|
|
143
|
+
is a work based on the Library, and explaining where to find the
|
|
144
|
+
accompanying uncombined form of the same work.
|
|
145
|
+
|
|
146
|
+
6. Revised Versions of the GNU Lesser General Public License.
|
|
147
|
+
|
|
148
|
+
The Free Software Foundation may publish revised and/or new versions
|
|
149
|
+
of the GNU Lesser General Public License from time to time. Such new
|
|
150
|
+
versions will be similar in spirit to the present version, but may
|
|
151
|
+
differ in detail to address new problems or concerns.
|
|
152
|
+
|
|
153
|
+
Each version is given a distinguishing version number. If the
|
|
154
|
+
Library as you received it specifies that a certain numbered version
|
|
155
|
+
of the GNU Lesser General Public License "or any later version"
|
|
156
|
+
applies to it, you have the option of following the terms and
|
|
157
|
+
conditions either of that published version or of any later version
|
|
158
|
+
published by the Free Software Foundation. If the Library as you
|
|
159
|
+
received it does not specify a version number of the GNU Lesser
|
|
160
|
+
General Public License, you may choose any version of the GNU Lesser
|
|
161
|
+
General Public License ever published by the Free Software Foundation.
|
|
162
|
+
|
|
163
|
+
If the Library as you received it specifies that a proxy can decide
|
|
164
|
+
whether future versions of the GNU Lesser General Public License shall
|
|
165
|
+
apply, that proxy's public statement of acceptance of any version is
|
|
166
|
+
permanent authorization for you to choose that version for the
|
|
167
|
+
Library.
|