Browse Source
Update REAME.md
Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
main
1 changed files with
22 additions and
22 deletions
-
README.md
|
@ -77,7 +77,7 @@ print('#' * 50) |
|
|
d = ops.video_decode.ffmpeg(start_time=10.0, end_time=20.0, sample_type='time_step_sample', args={'time_step': 1}) |
|
|
d = ops.video_decode.ffmpeg(start_time=10.0, end_time=20.0, sample_type='time_step_sample', args={'time_step': 1}) |
|
|
for frame in d(video_path): |
|
|
for frame in d(video_path): |
|
|
print(frame) |
|
|
print(frame) |
|
|
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
result: |
|
|
result: |
|
|
VideoFrame shape: (360, 480, 3), mode: RGB, timestamp: 10010, key_frame: 1 |
|
|
VideoFrame shape: (360, 480, 3), mode: RGB, timestamp: 10010, key_frame: 1 |
|
|