From c8a291317226ae5dbf380ec38b39bce9e7781a4c Mon Sep 17 00:00:00 2001 From: Jade Lovelace Date: Thu, 30 Dec 2021 00:09:53 -0800 Subject: [PATCH] ffmpeg recipe --- todo-recipes/ffmpeg.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/todo-recipes/ffmpeg.md b/todo-recipes/ffmpeg.md index 76266e1..1ae0475 100644 --- a/todo-recipes/ffmpeg.md +++ b/todo-recipes/ffmpeg.md @@ -23,3 +23,9 @@ ffmpeg -i input.mp4 -vf drawtext="fontfile=/usr/share/fonts/adobe-source-sans-pr ``` ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -i 'https://host/playlist.m3u8' -c copy video.mp4 ``` + +## Add a black screen to some audio + +``` +ffmpeg -i string.mp3 -f lavfi -i color=black:s=640x480 -c:v libx264 -c:a aac -shortest output.mp4 +```