Replace deprecated -vsync flag with -fps_mode in Clone-Video.ps1 and Get-FramesRange.ps1 frame extraction commands to use current ffmpeg syntax while maintaining vfr (variable frame rate) behavior
This commit is contained in:
1 parent
50c9d831e9
commit
cda0b6a4b8
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -148,7 +148,7 @@ for ($frameIndex = $startFrame; $frameIndex -le $endFrame; $frameIndex++) {
|
||||
'-y'
|
||||
'-i', $VideoPath
|
||||
'-vf', $videoFilter
|
||||
'-vsync', 'vfr'
|
||||
'-fps_mode', 'vfr'
|
||||
'-frames:v', '1'
|
||||
'-q:v', '1'
|
||||
'--', $outputFile
|
||||
|
||||
Reference in new issue
Block a user