We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e3c5f0 commit 03e20c3Copy full SHA for 03e20c3
1 file changed
DPF/transforms/video_fps_transforms.py
@@ -48,5 +48,8 @@ def _process_filepath(self, data: TransformsFileData) -> TransformsFileData:
48
ffmpeg_command = f'ffmpeg -hide_banner -i {filepath} -vf fps={self.fps} {temp_filename} -y'
49
subprocess.run(ffmpeg_command, shell=True, capture_output=True, check=True)
50
shutil.move(temp_filename, filepath)
51
+ fps = self.fps
52
+ else:
53
+ fps = video_fps
54
- return TransformsFileData(filepath, {'fps': self.fps})
55
+ return TransformsFileData(filepath, {'fps': fps})
0 commit comments