-
I'm downloading videos from Kemono, but some of them are in the MOV format. How can I (with ffmpeg?) convert it to mp4. I did find something about postprocessing, but I'm not sure how to convert it. |
Beta Was this translation helpful? Give feedback.
Answered by
mikf
Jun 1, 2023
Replies: 1 comment 4 replies
-
"postprocessors": [
{
"name": "exec",
"filter": "extension in ('mov', 'webm', 'mkv')",
"command": [
"ffmpeg",
"-i" , "{_path}",
"-crf", "20",
"-f" , "mp4",
"\fF {_path.rpartition('.')[0]}.mp4"
]
}
] Adjust the FFmpeg options as you see fit ( You need to add another {
"name": "exec",
"command": "rm -- {}"
} |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try disabling
path-extended
.I'm kind of surprised there even is an
rm
on Windows.Also, you should use the same
filter
for the delete command as for the FFmpeg one, otherwise it will delete all files.