Skip to content

Commit

Permalink
Update video2d.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nmvrs committed Jan 2, 2025
1 parent 229f3c6 commit 6204ca4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions moai/export/local/video2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ def _create_video_writer(path: str, overwrite: bool, fps: float = 60.0):
# # 'hwaccel': 'cuvid',
# # 'c:v': 'h264_cuvid',
# },
# NOTE: forced lossless coding params and x265
sp_kwargs={"c:v": "libx265", "qp": "0", "x265-params": "lossless=1"},
# TODO: make such profiles selectable, e.g. lossless gray8, lossy rgb8, etc.
)
_internal_video_id_ += 1
return vid
Expand Down

0 comments on commit 6204ca4

Please sign in to comment.