Update README.md
Browse files
README.md
CHANGED
@@ -403,7 +403,7 @@ def encode_video(video_path, choose_fps=3, force_packing=None):
|
|
403 |
|
404 |
video_path="video_test.mp4"
|
405 |
fps = 5 # fps for video
|
406 |
-
force_packing = None # You can set force_packing to ensure that 3D packing is forcibly enabled; otherwise, encode_video will dynamically set the packing quantity based on the duration.
|
407 |
frames, frame_ts_id_group = encode_video(video_path, fps, force_packing=force_packing)
|
408 |
|
409 |
question = "Describe the video"
|
|
|
403 |
|
404 |
video_path="video_test.mp4"
|
405 |
fps = 5 # fps for video
|
406 |
+
force_packing = None # You can set force_packing to ensure that 3D-Resampler packing is forcibly enabled; otherwise, encode_video will dynamically set the packing quantity based on the duration.
|
407 |
frames, frame_ts_id_group = encode_video(video_path, fps, force_packing=force_packing)
|
408 |
|
409 |
question = "Describe the video"
|