“blend=all_expr=’A/11*4+B/11*7” (that is, a weighted blend) to an audiovisualized video

Watch on youtube.com Watch on youtube.com Watch on youtube.com

These videos are the result of applying ffmpeg blend=all_expr='A/11*4+B/11*7 (that is, a weighted blend) to an audiovisualized video (created by the method described in here) and a movie unrelated to it. That is, this movie does not necessarily mean an example of audio visualization method. The intention here is to show if blend=all_expr='A/11*4+B/11*7 for the visualized image is suitable for viewing.

Note that “blend” with “all_expr” is too heavy and slow, so if you want to process large video with this method, be prepared to take several hours to finish processing.

#! /bin/sh
#
# avis.mp4: audio visualized
# bgmovie.mp4: background movie
#
ffmpeg -y -i avis.mp4 -i bgmovie.mp4 \
    -filter_complex "
[0:v][1:v]blend=all_expr='A/11*4+B/11*7'
" out.mp4