ffmpeg scene detection on Windows 11 with shell scripts and cygwin

preview_player
Показать описание
ffmpeg scene detection on windows 11 running shell scripts with cygwin, the reason for using cygwin is if you cant install wsl and linux on windows which was the problem i had with my windows vm

In this video i cover installing ffmpeg cygwin and mpv with chocolatey and installing ffmpeg scripts for scene detection, trimming audio and video, extracting frames from a video, creating animted gifs and webp images from a video clip, videoscopes and more

I also cover setting up mpv to display ontop of other windows and displaying milliseconds in the osd

ffmpeg scripts

under the green code button select download as zip, unzip the directory and put it on your desktop

windows chocolatey

packages to install
open the powershell as admin

choco install ffmpeg
choco install cygwin
choco install mpv

add the cygwin path to your enviormenatal variables path
C:\tools\cygwin\bin

install bc, run the cygwinsetup program, search for bc and select the latest version from the dropdown menu and then click to install it
C:\tools\cygwin\cygwinsetup

open the windows search and search for %APPDATA%
open the %APPDATA% directory and create a mpv directory if it doesnt exist.
create 2 text files

osd-fractions
ontop

Note:
if you download the repo with git on windows it defaults to windows line
endings so if you download the scripts with git you need to set git to
download with unix line endings, or you can just download the zip
Рекомендации по теме
Комментарии
Автор

I've never understood why anyone installs Windows and then sticks "bits of Linux" on top of it - just rid yourself of your Microsoft abuser completely, as I did when support for Windows 7 ended, and just use Linux.

It was the best thing in my computing life and experience that I ever did, using modern Windows now for me would be akin to self-torture and masochism.

terrydaktyllus
Автор

You should consider making a software out of this. I'll be the first one to download

VarunHadkar
Автор

Hello, I'm trying to get this to work, but only scene-detect and scene-time seems to work, scene-images doesn't give me any image outputs and scene-cut doesn't do anything at all, there isn't even any output on the commandline

FlawlessMind-lbtw
Автор

Hello, silly question, would it work in windows 10, my computer not capable of upgrading to 11.

steve