feat: remote unuse json

This commit is contained in:
imeepos
2025-08-15 13:59:11 +08:00
parent 247eebef9e
commit 81b80eb911
21 changed files with 866 additions and 976 deletions

View File

@@ -232,9 +232,9 @@ fn test_hardware_acceleration_command() {
fn test_custom_codec_command() {
let template = TemplatePresets::upscale_to_4k().unwrap();
let sdk = TvaiSdk::new();
let command = sdk.generate_ffmpeg_command_with_codec(&template, "input.mp4", "output.mp4", "hevc_nvenc", Some(20)).unwrap();
assert!(command.contains("hevc_nvenc"));
assert!(command.contains("-cq 20"));
}