From 655338abf3cd1e9c12f0690b34bc75dc9be4168f Mon Sep 17 00:00:00 2001 From: CarolinePascal Date: Mon, 15 Jun 2026 14:18:40 +0200 Subject: [PATCH] fix(rebase): rebase follow up corrections --- src/lerobot/annotations/steerable_pipeline/frames.py | 2 +- tests/datasets/test_video_encoding.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lerobot/annotations/steerable_pipeline/frames.py b/src/lerobot/annotations/steerable_pipeline/frames.py index a6c904673..30daa7244 100644 --- a/src/lerobot/annotations/steerable_pipeline/frames.py +++ b/src/lerobot/annotations/steerable_pipeline/frames.py @@ -281,7 +281,7 @@ class VideoFrameProvider: reencode_video( src, out_path, - camera_encoder=encoder, + video_encoder=encoder, overwrite=True, start_time_s=from_timestamp, end_time_s=to_timestamp, diff --git a/tests/datasets/test_video_encoding.py b/tests/datasets/test_video_encoding.py index 5a1d8801b..c78d81e6c 100644 --- a/tests/datasets/test_video_encoding.py +++ b/tests/datasets/test_video_encoding.py @@ -524,7 +524,7 @@ class TestReencodeVideo: src = TEST_ARTIFACTS_DIR / "clip_6frames.mp4" out = tmp_path / "trim_window.mp4" cfg = VideoEncoderConfig(vcodec="h264") - reencode_video(src, out, camera_encoder=cfg, start_time_s=0.05, end_time_s=0.12, overwrite=True) + reencode_video(src, out, video_encoder=cfg, start_time_s=0.05, end_time_s=0.12, overwrite=True) with av.open(str(out)) as container: frames = list(container.decode(video=0))