Skip to content

Instantly share code, notes, and snippets.

@philhartung
Last active November 28, 2022 23:19
Show Gist options
  • Save philhartung/094f4357cfdff502b6ca93abb0119d41 to your computer and use it in GitHub Desktop.
Save philhartung/094f4357cfdff502b6ca93abb0119d41 to your computer and use it in GitHub Desktop.
ffmpeg scripts for OBS on Windows
ffplay.exe -f dshow -i video="OBS Virtual Camera" -vf "format=yuva444p,split=2[a][b];[a]histogram=c=7:fgopacity=0.9[aa];[b][aa]overlay"
ffplay.exe -autoexit -exitonkeydown -alwaysontop -x 1920 -y 1080 -window_title "Scope" -f dshow -i video="OBS Virtual Camera" -vf "format=yuva444p,split=4[a][b][c][d];[a]waveform=g=green:o=0.6:fl=dots:fl=numbers:scale=ire[aa];[c]histogram=c=7:fgopacity=0.55,scale=w=455:h=881[cc];[d]vectorscope=m=color3:g=green,scale=w=455:h=455[dd];[b][aa]vstack[s1];[cc][dd]vstack[s2];[s1][s2]hstack"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment