From 2866d0770f62dcd222b4035ce973316253a936e7 Mon Sep 17 00:00:00 2001 From: Remi Cadene Date: Mon, 21 Apr 2025 10:59:06 +0200 Subject: [PATCH] small fix ffmpeg encoding --- lerobot/common/datasets/video_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lerobot/common/datasets/video_utils.py b/lerobot/common/datasets/video_utils.py index 82beb876..a0dd2544 100644 --- a/lerobot/common/datasets/video_utils.py +++ b/lerobot/common/datasets/video_utils.py @@ -264,7 +264,7 @@ def encode_video_frames( [ ("-f", "image2"), ("-r", str(fps)), - ("-i", str(imgs_dir / "frame_%06d.png")), + ("-i", str(imgs_dir / "frame-%06d.png")), ("-vcodec", vcodec), ("-pix_fmt", pix_fmt), ]