From 525e9a247fcbf8c5ed5946d88b56e24c1e0bb2a3 Mon Sep 17 00:00:00 2001 From: Steven Palma Date: Wed, 9 Apr 2025 17:24:05 +0200 Subject: [PATCH] chore(documentation): move ffmpeg note to troubleshoot section --- README.md | 5 ----- examples/7_get_started_with_real_robot.md | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 3850f2d4..20ebeee8 100644 --- a/README.md +++ b/README.md @@ -103,11 +103,6 @@ When using `miniconda`, install `ffmpeg` in your environment: conda install ffmpeg -c conda-forge ``` -> **NOTE:** This usually installs `ffmpeg 7.X` for your platform (check the version installed with `ffmpeg -encoders | grep libsvtav1`). If it isn't `ffmpeg 7.X` or lacks `libsvtav1` support, you can explicitly install `ffmpeg 7.X` using: -``` -conda install ffmpeg=7.1.1 -c conda-forge -``` - Install 🤗 LeRobot: ```bash pip install -e . diff --git a/examples/7_get_started_with_real_robot.md b/examples/7_get_started_with_real_robot.md index 97d03a2c..3562c0e6 100644 --- a/examples/7_get_started_with_real_robot.md +++ b/examples/7_get_started_with_real_robot.md @@ -832,6 +832,7 @@ It contains: Troubleshooting: - On Linux, if you encounter any issue during video encoding with `ffmpeg: unknown encoder libsvtav1`, you can: - install with conda-forge by running `conda install -c conda-forge ffmpeg` (it should be compiled with `libsvtav1`), +> **NOTE:** This usually installs `ffmpeg 7.X` for your platform (check the version installed with `ffmpeg -encoders | grep libsvtav1`). If it isn't `ffmpeg 7.X` or lacks `libsvtav1` support, you can explicitly install `ffmpeg 7.X` using: `conda install ffmpeg=7.1.1 -c conda-forge` - or, install [ffmpeg build dependencies](https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu#GettheDependencies) and [compile ffmpeg from source with libsvtav1](https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu#libsvtav1), - and, make sure you use the corresponding ffmpeg binary to your install with `which ffmpeg`. - On Linux, if the left and right arrow keys and escape key don't have any effect during data recording, make sure you've set the `$DISPLAY` environment variable. See [pynput limitations](https://pynput.readthedocs.io/en/latest/limitations.html#linux).