Usage: videoframes [OPTION] FILE
Extract key frames and scenecuts from video FILE.
-k key frames only
-s scenecuts only
Creates jpg pictures containing a mosaic of thumbnails of the selected frames.
This file contains 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
ffmpeg -referer "https://claplivehdplay.ru/" -http_persistent false -i "https://salamus2023.onlinehdhls.ru/wiki/wikiten1/tracks-v1a1/mono.m3u8" -referer "https://claplivehdplay.ru/" -http_persistent false -i "https://salamus2023.onlinehdhls.ru/wiki/wikiten3/tracks-v1a1/mono.m3u8" -filter_complex "[0:v][1:v]xstack=inputs=2:layout=0_0|0_h0[v]" -map "[v]" -map 0:a -f matroska - | ffplay - |
This file contains 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
ffprobe in.mkv -v error -select_streams v:0 -show_frames -skip_frame nokey -print_format csv | gawk -F, "/^frame/{print $22,$22-n;n=$22}" | |
ffprobe in.mkv -v error -select_streams v:0 -show_frames -skip_frame nokey -show_entries frame=pts_time -print_format csv | gawk -F, "/^frame/{printf \"%.0f %.0f\n\",$2*23.976,($2-n)*23.976;n=$2}" | |
ffprobe in.mkv -v error -select_streams v:0 -show_entries packet=pts_time,flags -print_format csv | gawk -F, "$3~\"^K\"{printf \"%.0f %.0f\n\",$2*23.976,($2-n)*23.976;n=$2}" |
This file contains 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
ipaddr=144.24.81.189 | |
[[ "$ipaddr." =~ ^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])[.]){4}$ ]] && echo "Well formed" || echo "Syntax error" |
This file contains 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
sudo wget https://gist.github.com/colemar/727125dea3d17543b1099ccff84f6eda/raw/88dd98c6283d9586248e9644023b4bb37ee1799f/gil -o /usr/local/bin/gil | |
sudo chmod +x /usr/local/bin/gil |