3 lines
125 B
Bash
Executable file
3 lines
125 B
Bash
Executable file
#!/bin/bash
|
|
|
|
ffmpeg -i "$1" -vcodec copy -f rawvideo -y /dev/null 2>&1 | tr ^M '\n' | awk '/^frame=/ {print $2}' | tail -n 1
|