-
Notifications
You must be signed in to change notification settings - Fork 0
Description
The current collection of filters seems like a useful amount of information to have but is stressing the system (especially on a lower power computer like a Mac Air). This results in dropped frames in the visualization and audio dropouts for the recorded file. Even though I can get things to work well with the streaming radio test signal, the signal from an actual A/D converter causes a ton of issues.
Anything less than a 44.1 kHz sample rate for visualizations does not seem like it would be useful as a tool as it is essential that frequencies up to 20 kHz be able to be represented. Here is an example of the current filter running through mpv and using KEXP's stream as a test source. Help!!
ffmpeg -i http://live-mp3-128.kexp.org/ -f flac -ar 44100 pipe:1 |\ mpv - --title="Skookum Player" -lavfi-complex "[aid1]asplit=6[ao][a][b][c][d][e],\ [e]showvolume=w=700:r=25[e1],\ [a]showfreqs=mode=bar:cmode=separate:size=300x300:colors=magenta|yellow[a1],\ [a1]drawbox=12:0:3:300:white@0.2[a2],[a2]drawbox=66:0:3:300:white@0.2[a3],[a3]drawbox=135:0:3:300:white@0.2[a4],[a4]drawbox=202:0:3:300:white@0.2[a5],[a5]drawbox=271:0:3:300:white@0.2[aa],\ [b]avectorscope=s=300x300:r=25:zoom=5[b1],\ [b1]drawgrid=x=150:y=150:c=white@0.3[bb],\ [c]showspectrum=s=400x600:mode=combined:color=rainbow:scale=log[cc],\ [d]astats=metadata=1:reset=2,adrawgraph=lavfi.astats.Overall.Peak_level:max=0:min=-30.0:size=700x256:bg=Black[dd],\ [dd]drawbox=0:0:700:42:hotpink@0.2:t=42[ddd],\ [aa][bb]vstack[aabb],[aabb][cc]hstack[aabbcc],[aabbcc][ddd]vstack[aabbccdd],[e1][aabbccdd]vstack[z],\ [z]drawtext=fontfile=/Library/Fonts/Andale Mono.ttf: text='%{pts \\: hms}':x=460: y=50:fontcolor=white:fontsize=30:box=1:boxcolor=0x00000000@1[fps],[fps]fps=fps=30[vo]"