@@ -1384,7 +1384,9 @@ def decode(self, file_path) -> torch.Tensor:
13841384 frames , * _ = get_frames_in_range (decoder , start = 0 , stop = 60 )
13851385 return frames
13861386
1387- @pytest .mark .parametrize ("format" , ("mov" , "mp4" , "mkv" , "webm" ))
1387+ @pytest .mark .parametrize (
1388+ "format" , ("mov" , "mp4" , "mkv" , pytest .param ("webm" , marks = pytest .mark .slow ))
1389+ )
13881390 def test_video_encoder_round_trip (self , tmp_path , format ):
13891391 # Test that decode(encode(decode(asset))) == decode(asset)
13901392 ffmpeg_version = get_ffmpeg_major_version ()
@@ -1424,7 +1426,16 @@ def test_video_encoder_round_trip(self, tmp_path, format):
14241426
14251427 @pytest .mark .skipif (in_fbcode (), reason = "ffmpeg CLI not available" )
14261428 @pytest .mark .parametrize (
1427- "format" , ("mov" , "mp4" , "avi" , "mkv" , "webm" , "flv" , "gif" )
1429+ "format" ,
1430+ (
1431+ "mov" ,
1432+ "mp4" ,
1433+ "avi" ,
1434+ "mkv" ,
1435+ "flv" ,
1436+ "gif" ,
1437+ pytest .param ("webm" , marks = pytest .mark .slow ),
1438+ ),
14281439 )
14291440 def test_video_encoder_against_ffmpeg_cli (self , tmp_path , format ):
14301441 ffmpeg_version = get_ffmpeg_major_version ()
0 commit comments