Skip to content

Commit b04af43

Browse files
committed
Fix ytdlp ffmpeg input parameters
1 parent dd07d9f commit b04af43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/annimon/ffmpegbot/commands/ytdlp/YtDlpCommandBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public String[] buildCommand(final @NotNull YtDlpSession session) {
1717
if (!session.getInputParams().isEmpty()) {
1818
commands.addAll(List.of("--external-downloader", "ffmpeg"));
1919
final String ffmpegArgs = String.join(" ", session.getInputParams().asFFmpegCommands());
20-
commands.addAll(List.of("--external-downloader-args", "ffmpeg_i:" + ffmpegArgs));
20+
commands.addAll(List.of("--external-downloader-args", "ffmpeg:" + ffmpegArgs));
2121
}
2222
commands.add(session.getUrl());
2323
commands.addAll(buildOutput(session));

0 commit comments

Comments
 (0)