File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -767,6 +767,8 @@ task_id = client.create_video_task(
767767##### Limitation
768768
769769- You can upload up to a size of 250 MB.
770+ - You can upload only videos with H.264 encoding.
771+ - You can upload only MP4 file format.
770772
771773#### Find Task
772774
Original file line number Diff line number Diff line change @@ -1254,7 +1254,7 @@ def create_video_task(
12541254 )
12551255 if not utils .is_video_supported_codec (file_path ):
12561256 raise FastLabelInvalidException (
1257- "Supported codec is H.264." , 422
1257+ "Supported video encoding for registration through the SDK is only H.264." , 422
12581258 )
12591259
12601260 file = utils .base64_encode (file_path )
@@ -1322,7 +1322,7 @@ def create_video_classification_task(
13221322 )
13231323 if not utils .is_video_supported_codec (file_path ):
13241324 raise FastLabelInvalidException (
1325- "Supported codec is H.264." , 422
1325+ "Supported video encoding for registration through the SDK is only H.264." , 422
13261326 )
13271327
13281328 file = utils .base64_encode (file_path )
You can’t perform that action at this time.
0 commit comments