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
| # framestamp.sh | |
| # put the current frame number and elapsed time in the LL corner of a video | |
| # (counts real frames, so vfr input will make the numbers stall from time to time) | |
| if [ -z "$2" ]; then echo "usage: $0 input.mp4 output.mp4"; exit 2; fi | |
| ffmpeg -i "$1" -vf " | |
| drawtext=text='f=%{eif\:n\:d\:4}\ t=%{pts}': x=10: y=h-th-10: | |
| fontcolor=white: fontsize=18: box=1: boxcolor=0x00000099 | |
| " -y "$2" |
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
| val TEMPLATE = "┏━┓┃ ┃┗━┛".toCharArray().map { it.toString() } | |
| val TEMPLATE2 = listOf("┌", "─", "┒", | |
| "│", " ", "┃", | |
| "┕", "━", "┛") | |
| val TEMPLATE3 = listOf("┌─", "─", "─┒", | |
| "│ ", " ", " ┃", | |
| "┕━", "━", "━┛") | |
| val ASCII = listOf( | |
| "+-", "-", "-+", | |
| "| ", " ", " |", |
OlderNewer