Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Aug 29, 2024
1 parent 1d8dd78 commit 7a510e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vision_agent/utils/image_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def frames_to_bytes(
"""
with tempfile.NamedTemporaryFile(delete=True) as temp_file:
clip = ImageSequenceClip(frames, fps=fps)
clip.write_videofile(temp_file.name + f".{file_ext}", fps=fps, code="libx264")
clip.write_videofile(temp_file.name + f".{file_ext}", fps=fps, codec="libx264")
with open(temp_file.name + f".{file_ext}", "rb") as f:
buffer_bytes = f.read()
return buffer_bytes
Expand Down

0 comments on commit 7a510e3

Please sign in to comment.