File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1267,7 +1267,7 @@ def create_video_task(
12671267 )
12681268 if not utils .is_video_supported_codec (file_path ):
12691269 raise FastLabelInvalidException (
1270- "Supported video encoding for registration through the SDK is only H.264. " ,
1270+ "Supported video encoding for registration through the SDK is only AVC/ H.264" ,
12711271 422 ,
12721272 )
12731273
@@ -1336,7 +1336,7 @@ def create_video_classification_task(
13361336 )
13371337 if not utils .is_video_supported_codec (file_path ):
13381338 raise FastLabelInvalidException (
1339- "Supported video encoding for registration through the SDK is only H.264. " ,
1339+ "Supported video encoding for registration through the SDK is only AVC/ H.264" ,
13401340 422 ,
13411341 )
13421342
Original file line number Diff line number Diff line change 223223SUPPORTED_OBJECT_SIZE = 250 * math .pow (1024 , 2 )
224224
225225# Only 'avc1' and 'H264' are supported for video task creation.
226- SUPPORTED_FOURCC = ["avc1" ]
226+ SUPPORTED_FOURCC = ["avc1" , "h264" ]
227227
228228
229229SUPPORTED_INFERENCE_IMAGE_SIZE = 6 * math .pow (1024 , 2 )
You can’t perform that action at this time.
0 commit comments