Skip to content

Commit 3803819

Browse files
edenoCopilot
andauthored
Update src/trodes_to_nwb/convert_position.py
Co-authored-by: Copilot <[email protected]>
1 parent 24d457c commit 3803819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/trodes_to_nwb/convert_position.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ def convert_h264_to_mp4(file: str, video_directory: str) -> str:
11471147

11481148
try:
11491149
# Construct the ffmpeg command
1150-
subprocess.run(["ffmpeg", "-i", file, new_file_name], check=False)
1150+
subprocess.run(["ffmpeg", "-i", file, new_file_name], check=True)
11511151
logger.info(
11521152
f"Video conversion completed. {file} has been converted to {new_file_name}"
11531153
)

0 commit comments

Comments
 (0)