You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.5 KiB
Markdown

4 years ago
# FFmpeg-HEVC-Video-Converter 1.0
4 years ago
A PowerShell script to convert videos to the HEVC video format utilizing GPU hardware acceleration using FFmpeg for Windows.
4 years ago
The main benefit being that you can save disk space significantly (most of the time).
4 years ago
## Space Saving Examples
4 years ago
- 2.5GB MP4 to 500MB HEVC MP4
- 3GB MP4 to 800MB HEVC MP4
4 years ago
_Results vary and depend on the input video's format, bitrate etc._
4 years ago
## Minimum System Requirements
4 years ago
- PC with at least 2 cores
- Recent NVidia or AMD graphics card
- Enough free disk space for resulting video files
4 years ago
**VITAL: ALWAYS check the resulting video files, ending with "(HEVC)" for expected length and try them out in a video player checking for quality and smooth playback.**
4 years ago
## Encoding
4 years ago
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.
4 years ago
The script encodes the files alongside the original with (HEVC) at the end of the filename.
4 years ago
## Decoding
4 years ago
The resulting HEVC videos require a more powerful PC to decode and playback, than the original would.
4 years ago
## Script Usage
4 years ago
1. Download FFmpeg for Windows: https://ffmpeg.zeranoe.com/builds/ (see screenshots below)
2. Extract ffmpeg.exe to a known path/folder
3. Download **convert_Videos.ps1** and create **video_file_list.txt** alongside it
4. Make 4 edits in **convert_Videos.ps1** using PowerShell ISE
5. Copy+paste full paths into **video_file_list.txt** and save
6. Run **convert_Videos.ps1** to convert to HEVC