Skip to content

Commit

Permalink
Add one-line fix to VideoWriterSkyvideo (#1082)
Browse files Browse the repository at this point in the history
  • Loading branch information
roomrys authored Dec 16, 2022
1 parent ebd2e1e commit 1595bec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sleap/io/videowriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ def __init__(
outputdict={
"-c:v": "libx264",
"-preset": preset,
"-vf": "scale=trunc(iw/2)*2:trunc(ih/2)*2", # Need even dims for libx264
"-framerate": fps,
"-crf": str(crf),
"-pix_fmt": "yuv420p",
Expand Down

0 comments on commit 1595bec

Please sign in to comment.