From bc0edae2689785cc7c327de9cce6544dc2a78a89 Mon Sep 17 00:00:00 2001 From: Alex Garnett Date: Sun, 22 Nov 2020 10:46:23 -0800 Subject: [PATCH] add separate hevc recipe --- recipes.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes.txt b/recipes.txt index f68a8a7..1f15c78 100644 --- a/recipes.txt +++ b/recipes.txt @@ -16,8 +16,10 @@ ffmpeg -i input_file -map 0 -dn -c:v ffv1 -level 3 -g 1 -slicecrc 1 -slices 16 - ffmpeg -i concat:input_file_1\|input_file_2\|input_file_3 -c:v libx264 -c:a aac output_file.mp4 # Transcode to an H.265/HEVC MP4 ffmpeg -i input_file -c:v libx265 -pix_fmt yuv420p -c:a copy output_file -# Transcode to H.264/H.265 using the GPU +# Transcode to H.264 using the GPU ffmpeg -i input_file -c:v h264_nvenc -preset llhq -rc:v vbr_hq -cq:v 19 -b:v 8000k -maxrate:v 12000k -profile:v high -c:a copy output_file +# Transcode to H.265 using the GPU +ffmpeg -i input_file -c:v hevc_nvenc -preset llhq -rc:v vbr_hq -cq:v 19 -b:v 5000k -maxrate:v 8000k -profile:v high -c:a copy output_file # Transcode to an Ogg Theora ffmpeg -i input_file -acodec libvorbis -b:v 690k output_file # Convert WAV to MP3