Improving the description of how the converter is used

This commit is contained in:
Michael Reber 2020-04-03 13:13:10 +02:00
parent 3c91c0d78f
commit 0894aa74e2

View File

@ -1,9 +1,9 @@
# Automated HEVC-Video-Converter 1.0 # Automated HEVC-Video-Converter 1.0
A PowerShell script to convert videos to the HEVC video format utilizing GPU hardware acceleration using NVEnc for Windows. A PowerShell script for converting video to the HEVC video format using GPU hardware acceleration with NVEnc for Windows.
The main benefit being that you can save disk space significantly (most of the time). The main advantage is that you can (usually) save a lot of disk space this way.
![image](/attachments/985e0fa6-ec4a-4ad0-a1c7-d70f59e7a23d) ![image](/attachments/985e0fa6-ec4a-4ad0-a1c7-d70f59e7a23d)
@ -16,25 +16,25 @@ _Results vary and depend on the input video's format, bitrate etc._
## Minimum System Requirements ## Minimum System Requirements
- PC with at least 2 cores - Computer with at least two CPU cores and 4GB Ram
- Recent Nvidia graphics card - Recent nvidia graphics card ([see: NVENC support matrix](https://developer.nvidia.com/video-encode-decode-gpu-support-matrix))
- Enough free disk space for resulting video files - Latest nvidia graphics drivers
## Encoding ## Encoding
During encoding (conversion) it is normal for high **CPU** and **GPU** usage. Be sure to only run the script when the PC has no other processes hogging up resources. During encoding (conversion), high **CPU** and **GPU** usage is normal. Make sure that you only run the script if no other graphics processes are running on the computer. (Example computer games)
The script encodes the files alongside the original with '-HEVC' at the end or inplace x265 replacement of the string in the filename. The script converts the files next to the original with '-HEVC' at the end or by replacing the string x264 (old) in the file name with x265.
After the conversion, a test is performed on the new video file to ensure its integrity. After conversion, a test of the new video file is performed to ensure its integrity.
If this test is successful, the old file will be deleted. If this test is successful, the old file is deleted.
If not, the failed conversion-file is deleted and registered. If not, the failed conversion file is deleted and logged.
## Script Usage ## Script Usage
1. Clone this Repository to your computer 1. Clone this repository on your computer
2. Download latest NVEnc for Windows: https://github.com/rigaya/NVEnc/releases 2. Download the latest NVEnc for Windows: https://github.com/rigaya/NVEnc/releases
3. Extract the files to "video-in-place-hevc-converter\encoder\" and replace the old ones 3. Extract the files to "video-in-place-hevc-converter\encoder\" and replace the old files.
4. Edit the $videoPath variable in the PowerShell file to point to your video-files folder 4. Edit the $videoPath variable in the PowerShell file to point to the folder of your "video files" to convert. (**ATTENTION: The ending-slash must be preserved in the path specification!**)
5. Run **convert_Videos.ps1** to convert all video Files on the provided path to HEVC. 5. Execute **convert_Videos.ps1** to convert the video files under the specified path to HEVC.