ffmpeg-effect: fix audio for bounce, but only single bounce works - annna - Ann… | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit cda441f0050d755d8acb03364fd69a1a9b45b55b | |
parent a261ef38bf1a0ec044d8b7700540c4faa6e9aee5 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 29 Aug 2024 21:41:04 +0200 | |
ffmpeg-effect: fix audio for bounce, but only single bounce works | |
Signed-off-by: Annna Robert-Houdin <[email protected]> | |
Diffstat: | |
M ffmpeg-effect | 5 ++++- | |
1 file changed, 4 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/ffmpeg-effect b/ffmpeg-effect | |
@@ -124,8 +124,11 @@ process_filter() { | |
banjo) | |
replace_audio "${mediadir}/banjo.mp3" "$2" "$3";; | |
bounce) | |
+ repeats=0 | |
$ffmpeg_common -i "$2" \ | |
- -filter_complex "[0]reverse[r];[0][r]concat,loop=${rep… | |
+ -filter_complex "[0:v]reverse[vrev];[0:v][vrev]concat,… | |
+ -filter_complex "[0:a]areverse[arev];[0:a][arev]concat… | |
+ -map "[v]" -map "[a]" \ | |
"$3" </dev/null;; | |
breakingnews) | |
mix_audio "${mediadir}/breakingnews.opus" "$2" "$3";; |