Skip to content

Commit 26795c5

Browse files
committed
fixed issue k4yt3x#427
1 parent 5543382 commit 26795c5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/wrappers/ffmpeg.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ def get_number_of_frames(self, input_file: str) -> int:
113113
subprocess.run(execute, check=True, stdout=subprocess.PIPE)
114114
.stdout.decode()
115115
.strip()
116+
.split("\n")[0]
117+
.split("\r")[0]
116118
)
117119

118120
def probe_file_info(self, input_video):

0 commit comments

Comments
 (0)