@@ -214,8 +214,8 @@ def encode_video_to_file_like(
214214 format : str ,
215215 file_like : Union [io .RawIOBase , io .BufferedIOBase ],
216216 codec : Optional [str ] = None ,
217- crf : Optional [int ] = None ,
218217 pixel_format : Optional [str ] = None ,
218+ crf : Optional [int ] = None ,
219219) -> None :
220220 """Encode video frames to a file-like object.
221221
@@ -225,8 +225,8 @@ def encode_video_to_file_like(
225225 format: Video format (e.g., "mp4", "mov", "mkv")
226226 file_like: File-like object that supports write() and seek() methods
227227 codec: Optional codec name (e.g., "libx264", "h264")
228- crf: Optional constant rate factor for encoding quality
229228 pixel_format: Optional pixel format (e.g., "yuv420p", "yuv444p")
229+ crf: Optional constant rate factor for encoding quality
230230 """
231231 assert _pybind_ops is not None
232232
@@ -338,8 +338,8 @@ def encode_video_to_tensor_abstract(
338338 frame_rate : int ,
339339 format : str ,
340340 codec : Optional [str ],
341- crf : Optional [int ] = None ,
342341 pixel_format : Optional [str ] = None ,
342+ crf : Optional [int ] = None ,
343343) -> torch .Tensor :
344344 return torch .empty ([], dtype = torch .long )
345345
0 commit comments