Last active
June 13, 2021 12:27
-
-
Save sam210723/f455b3b95b0f6a9edae5a083ee8fcab4 to your computer and use it in GitHub Desktop.
Waveform and Vectorscope monitor using FFmpeg video filters
This file contains hidden or 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
@echo off | |
REM https://ffmpeg.org/ffmpeg-filters.html | |
REM https://trac.ffmpeg.org/wiki/FancyFilteringExamples | |
ffplay -window_title "FFmpeg Waveform and Vectorscope" -i %1 -vf "split=4[vid][vec][wavh][wavv],[vec]vectorscope=mode=color3:graticule=green[vec],[wavh]waveform=mode=column:graticule=green:components=1:display=overlay[wavh],[wavv]waveform=mode=row:components=1:display=overlay[wavv],[vid][wavh]vstack[s1],[wavv][vec]vstack[s2],[s1][s2]hstack[out]" |
This file contains hidden or 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
#!/bin/bash | |
# https://ffmpeg.org/ffmpeg-filters.html | |
# https://trac.ffmpeg.org/wiki/FancyFilteringExamples | |
ffplay -window_title "FFmpeg Waveform and Vectorscope" -i $1 -vf "split=4[vid][vec][wavh][wavv],[vec]vectorscope=mode=color3:graticule=green[vec],[wavh]waveform=mode=column:graticule=green:components=1:display=overlay[wavh],[wavv]waveform=mode=row:components=1:display=overlay[wavv],[vid][wavh]vstack[s1],[wavv][vec]vstack[s2],[s1][s2]hstack[out]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment