`abitscope’¶
Watch on youtube.comThere is no explanation in the official document, but the result of this seems to be quite different depending on the version. Uploaded videos are from 4.1, but 3.3.2 makes “rougher” than this video. Since you can not change the resolution, all you can do is giving up as “this depends on the version”.
#! /bin/sh
ifn="Air on the G String (from Orchestral Suite no. 3, BWV 1068).mp3"
ifnb="`basename \"${ifn}\" .mp3`"
pref="`basename $0 .sh`"
#
"/c/Program Files/ffmpeg-4.1-win64-shared/bin/ffmpeg" -y -i "${ifn}" -filter_complex "
[0:a]abitscope=s=1920x1080[v]
" -map '[v]' -map '0:a' -c:a copy \
"${pref}_${ifnb}.mp4"