docs: use neutral audio language placeholder

This commit is contained in:
2026-07-14 16:00:24 +08:00
parent 473e09a5a5
commit 98c478a1bb
3 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -14,8 +14,8 @@ $Video = "D:\Videos\output.mp4"
$VideoDir = Split-Path -Parent $Video
uv run --directory $TransDir funasr-nano $Video --list-tracks
uv run --directory $TransDir funasr-nano $Video --track 2 --language zh --output-dir $VideoDir
uv run --directory $TransDir funasr-nano $Video --track 3 --language zh --output-dir $VideoDir
uv run --directory $TransDir funasr-nano $Video --track 2 --language AUDIO_LANGUAGE_CODE --output-dir $VideoDir
uv run --directory $TransDir funasr-nano $Video --track 3 --language AUDIO_LANGUAGE_CODE --output-dir $VideoDir
```
Outputs should be written next to the video (`$VideoDir`).
+2 -2
View File
@@ -67,7 +67,7 @@ Use this when the video is stored on the Windows host filesystem. Give this kind
$SkillTranscription = "$env:LOCALAPPDATA\Temp\vedit-transcription"
$Video = "D:\Videos\example.mkv"
$VideoDir = Split-Path -Parent $Video
uv run --directory $SkillTranscription funasr-nano $Video --track 2 --language zh --output-dir $VideoDir
uv run --directory $SkillTranscription funasr-nano $Video --track 2 --language AUDIO_LANGUAGE_CODE --output-dir $VideoDir
```
For multiple tracks, run once per track and record each resulting JSON in the index.
@@ -87,7 +87,7 @@ Then give the user a Linux shell command for the long transcription step:
SKILL_TRANSCRIPTION="$HOME/.hermes/skills/media/video-edit-planner/scripts/transcription"
VIDEO="$HOME/videos/example.mkv"
VIDEO_DIR="$(dirname "$VIDEO")"
uv run --directory "$SKILL_TRANSCRIPTION" funasr-nano "$VIDEO" --track 2 --language zh --output-dir "$VIDEO_DIR"
uv run --directory "$SKILL_TRANSCRIPTION" funasr-nano "$VIDEO" --track 2 --language AUDIO_LANGUAGE_CODE --output-dir "$VIDEO_DIR"
```
If the user installed the skill somewhere else, adjust `SKILL_TRANSCRIPTION` accordingly.