Skip to content

🎥 Make videos programmatically with React

`docs`: Add "Why does my video not have sound?" troubleshooting page

Jonny Burgeraa2f812f8af3
diff --git a/packages/docs/docs/troubleshooting/video-has-no-sound.mdx b/packages/docs/docs/troubleshooting/video-has-no-sound.mdx
new file mode 100644
index 0000000000..0225849095
--- /dev/null
+++ b/packages/docs/docs/troubleshooting/video-has-no-sound.mdx
@@ -0,0 +1,41 @@
+---
+image: /generated/articles-docs-troubleshooting-video-has-no-sound.png
+sidebar_label: Video has no sound
+title: Why does my video not have sound?
+crumb: "Troubleshooting"
+---
+
+If you rendered a video with Remotion and it appears to have no audio, the most common cause is that you are playing it back in an editor that mutes video by default.
+
+## VS Code and Cursor
+
+VS Code and Cursor have a built-in video player that **plays videos muted by default**. There is no unmute button.
+
+To verify your video has audio, open it in a dedicated media player instead:
+
+- **macOS**: QuickTime Player, IINA, or VLC
+- **Windows**: Windows Media Player, Movies & TV, or VLC
+- **Linux**: VLC or mpv
+
+You can right-click the file in VS Code or Cursor and select **"Reveal in Finder"** (macOS) or **"Reveal in File Explorer"** (Windows) to locate it, then open it with a proper media player.
+
+## Other causes
+
+If the video still has no sound after opening it in a media player:
+
+### No audio source in the composition
+
+Make sure your Remotion composition includes an audio source. You can add audio using [`<Audio>`](/docs/using-audio), or extract audio from a video using [`<Html5Video>`](/docs/html5-video) or [`<OffthreadVideo>`](/docs/offthreadvideo).
+
+### Audio volume set to 0
+
+Check that you have not set the `volume` prop to `0` on your audio or video tags.
+
+### Audio outside the time range
+
+If you are using a [`<Sequence>`](/docs/sequence), make sure the audio component is mounted during the time range you expect. Audio that is not mounted will not be included in the output.
+
+## See also
+
+- [Using audio](/docs/using-audio)
+- [Audio volume](/docs/audio/volume)
diff --git a/packages/docs/sidebars.ts b/packages/docs/sidebars.ts
index 01aee05994..a0ddc3f0d7 100644
--- a/packages/docs/sidebars.ts
+++ b/packages/docs/sidebars.ts
@@ -1390,6 +1390,7 @@ const sidebars: SidebarsConfig = {
label: 'Troubleshooting',
items: [
'troubleshooting/debug-failed-render',
+ 'troubleshooting/video-has-no-sound',
'timeout',
'target-closed',
'media-playback-error',
diff --git a/packages/docs/src/data/articles.ts b/packages/docs/src/data/articles.ts
index 4157ae9e12..481baeef89 100644
--- a/packages/docs/src/data/articles.ts
+++ b/packages/docs/src/data/articles.ts
@@ -6628,6 +6628,15 @@ export const articles = [
noAi: false,
slug: 'troubleshooting/player-flicker',
},
+ {
+ id: 'troubleshooting/video-has-no-sound',
+ title: 'Why does my video not have sound?',
+ relativePath: 'docs/troubleshooting/video-has-no-sound.mdx',
+ compId: 'articles-docs-troubleshooting-video-has-no-sound',
+ crumb: 'Troubleshooting',
+ noAi: false,
+ slug: 'troubleshooting/video-has-no-sound',
+ },
{
id: 'upgrading',
title: 'Upgrading Remotion',
diff --git a/packages/docs/static/generated/articles-docs-troubleshooting-video-has-no-sound.png b/packages/docs/static/generated/articles-docs-troubleshooting-video-has-no-sound.png
new file mode 100644
index 0000000000..6d74625085
Binary files /dev/null and b/packages/docs/static/generated/articles-docs-troubleshooting-video-has-no-sound.png differ