Skip to content

Commit

Permalink
update TestScript
Browse files Browse the repository at this point in the history
  • Loading branch information
kojirou1994 committed Oct 14, 2023
1 parent 4caa6b4 commit f9e0b63
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Sources/choco-cli/Commands/TestScript.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ struct TestScript: ParsableCommand {
} else {
nil
}
if let vsCrop {
print("crop at vspipe: \(vsCrop)")
}

let script = try generateScript(
encodeScript: encodeScript, filePath: input,
Expand Down Expand Up @@ -78,7 +81,7 @@ struct TestScript: ParsableCommand {
let outputFile = outputDirectoryURL.appendingPathComponent("%05d.png")
var outputOptions = [FFmpeg.InputOutputOption]()
outputOptions.append(.format("image2"))

let ffmpeg = FFmpeg(global: .init(hideBanner: true, overwrite: true, enableStdin: false), ios: [
.input(url: "pipe:"),
.output(url: outputFile.path, options: outputOptions)
Expand Down

0 comments on commit f9e0b63

Please sign in to comment.