You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: Fit Enum
* Add reframe, smart vertical reframe and download functionality for video objects
* Add support for audio transcription and remove not required segmenter and force prop in video get_transcript_text
* build: update version
---------
Co-authored-by: ashish-spext <ashish@spext.co>
Copy file name to clipboardExpand all lines: videodb/editor.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,15 +16,16 @@ class AssetType(str, Enum):
16
16
17
17
classFit(str, Enum):
18
18
"""Set how the asset should be scaled to fit the viewport using one of the following options:
19
-
crop (default) - scale the asset to fill the viewport while maintaining the aspect ratio. The asset will be cropped if it exceeds the bounds of the viewport.
20
19
20
+
crop (default) - scale the asset to fill the viewport while maintaining the aspect ratio. The asset will be cropped if it exceeds the bounds of the viewport.
21
21
cover - stretch the asset to fill the viewport without maintaining the aspect ratio.
22
22
contain - fit the entire asset within the viewport while maintaining the original aspect ratio.
23
23
none - preserves the original asset dimensions and does not apply any scaling."""
0 commit comments