URI: 
       ffmpeg-effect: fix audio for bounce, but only single bounce works - annna - Annna the nice friendly bot.
  HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
       ---
   DIR commit cda441f0050d755d8acb03364fd69a1a9b45b55b
   DIR parent a261ef38bf1a0ec044d8b7700540c4faa6e9aee5
  HTML Author: Anders Damsgaard <anders@adamsgaard.dk>
       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 <annna@bitreich.org>
       
       Diffstat:
         M ffmpeg-effect                       |       5 ++++-
       
       1 file changed, 4 insertions(+), 1 deletion(-)
       ---
   DIR 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=${repeats}:250,setpts=N/25/TB" -an \
       +                        -filter_complex "[0:v]reverse[vrev];[0:v][vrev]concat,loop=${repeats}:250,setpts='PTS-STARTPTS/TB' [v]" \
       +                        -filter_complex "[0:a]areverse[arev];[0:a][arev]concat=v=0:a=1,aloop=${repeats}:250,asetpts='PTS-STARTPTS/TB' [a]" \
       +                        -map "[v]" -map "[a]" \
                                "$3" </dev/null;;
                breakingnews)
                        mix_audio "${mediadir}/breakingnews.opus" "$2" "$3";;