Rename skill folder to video-processing-scripts and update README.md installation instructions to clarify folder name must be preserved, remove Clone-Image.md and Clone-Video.md documentation files
This commit is contained in:
1 parent
0befcfe8a3
commit
60feb778d3
22 files changed
+10
-10
No files matched your search
@@ -0,0 +1,34 @@
|
||||
# Get-FramesCount.ps1
|
||||
|
||||
Gets the total frame count of a video file using ffprobe.
|
||||
|
||||
## Parameters
|
||||
|
||||
- **`-Video`** (required): Path to input video file
|
||||
|
||||
## Examples
|
||||
|
||||
**Get frame count:**
|
||||
|
||||
```powershell
|
||||
.\Get-FramesCount.ps1 -Video video.mp4
|
||||
```
|
||||
|
||||
Output example:
|
||||
|
||||
```text
|
||||
500
|
||||
```
|
||||
|
||||
**Use in scripts:**
|
||||
|
||||
```powershell
|
||||
$frameCount = .\Get-FramesCount.ps1 -Video video.mp4
|
||||
Write-Host "Video has $frameCount frames"
|
||||
```
|
||||
|
||||
**Using absolute paths:**
|
||||
|
||||
```powershell
|
||||
.\Get-FramesCount.ps1 -Video "C:\Videos\sample.mp4"
|
||||
```
|
||||
Reference in new issue
Block a user