Last active
June 11, 2022 10:07
-
-
Save genevera/85ce1aae4fcfe1951e3099ee9ff407f7 to your computer and use it in GitHub Desktop.
ffplay split audio 3 ways with nullsinks and nullsrc video output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# now if i could figure out how to get audio to output.... | |
# filters cobbled together from https://ffmpeg.org/ffmpeg-filters.html and | |
# https://amiaopensource.github.io/ffmpeg-artschool/scripts.html#audioviz | |
ffplay -f lavfi \ | |
'amovie=/path/to/some.mp3, | |
asplit=3[a1][a2][a3]; | |
[a1] | |
showcqt=fps=30:s=hd720 | |
[out1]; | |
[a2] | |
anullsink, | |
nullsrc=s=hd720, | |
geq=r=128+30*sin(2*PI*X/400+T):g=128+30*sin(2*PI*X/400+T):b=128+30*sin(2*PI*X/400+T) | |
[out2]; | |
[a3] | |
anullsink, | |
nullsrc=s=hd720, | |
lutrgb=128:128:128 | |
[out3]; | |
[out1][out2][out3]displace' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment