Skip to content

igonzalezb/transcoder

Repository files navigation

Transcoder

Work in progress

Cross-platform FFmpeg transcoder to reduce file size while trying to keep video quality (3.1 GB ~> 740 MB). It would transcode up to two videos in parallel using NVIDIA hardware acceleration. There are three options to choose from:

  • Convert Video to HEVC/x265 mkv.
  • Convert video to x264 mkv.
  • Convert video from x265 10 Bit to x265 8 Bit.

Installation

Download the pre-compiled latest Release.

The files are ready to run. FFMPEG MUST BE INSTALLED AND IN PATH.

Usage

  • Run 'transcoder' in a terminal
  • Enter the path of the video/s when asked.
  • Select one of the options to convert.

Default FFmpeg command

ffmpeg  ffmpeg -vsync 0 -hwaccel cuvid -c:v h264_cuvid -i video -c:v hevc_nvenc -x265-params crf=20 -spatial_aq 1 -rc-lookahead 20 -preset slow -c:a aac -b:a 224k -map 0 video-trans.mkv

To-do

  • Update documentation.
  • Improve progress bar.
  • Add option to run n⁰ tasks in parallel.
  • Improve code,