mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 04:02:00 -06:00
Make H265 codec compatible with Apple HEVC standards
This commit is contained in:
parent
9596175f7f
commit
610593a795
1 changed files with 17 additions and 5 deletions
|
|
@ -302,14 +302,26 @@ impl FFmpegPreset {
|
|||
"-c:v",
|
||||
"h264_cuvid",
|
||||
]);
|
||||
output.extend(["-c:v", "hevc_nvenc", "-c:a", "copy"])
|
||||
}
|
||||
FFmpegHwAccel::Apple => {
|
||||
output.extend(["-c:v", "hevc_videotoolbox", "-c:a", "copy"])
|
||||
output.extend([
|
||||
"-c:v",
|
||||
"hevc_nvenc",
|
||||
"-c:a",
|
||||
"copy",
|
||||
"-tag:v",
|
||||
"hvc1",
|
||||
])
|
||||
}
|
||||
FFmpegHwAccel::Apple => output.extend([
|
||||
"-c:v",
|
||||
"hevc_videotoolbox",
|
||||
"-c:a",
|
||||
"copy",
|
||||
"-tag:v",
|
||||
"hvc1",
|
||||
]),
|
||||
}
|
||||
} else {
|
||||
output.extend(["-c:v", "libx265", "-c:a", "copy"])
|
||||
output.extend(["-c:v", "libx265", "-c:a", "copy", "-tag:v", "hvc1"])
|
||||
}
|
||||
|
||||
match quality {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue