Skip to content

Bug: Video comes out muted when audio track filename has non-latin characters #1063

@O1Anas

Description

@O1Anas

Describe the bug

When an audio track filename contains non-latin characters, the video is rendered muted. It appears that the renderer doesn't recognize or ignores such audio tracks, possibly due to missing URI encoding. Example tag that triggers the bug:

<audio id="bg-audio" data-start="0" data-duration="72"
 data-track-index="2" data-media-start="0"
 src="assets/nasheed/هنا مروا - مبارك النويبت.mp4"
 data-volume="0.5"></audio>

The above audio tag, with non-latin characters in the filename, results in the audio being skipped and the video comes out silent.

Steps to reproduce

  1. Add an tag to your composition with a src attribute that includes non-latin characters in the filename (see example above).
  2. Run npx hyperframes render.
  3. Observe that the resulting video is muted; the specified audio track does not play.

Environment

hyperframes doctor

  ✓ Version          0.6.41 (latest)
  ✓ Node.js          v22.22.2 (linux x64)
  ✓ CPU              4 cores · Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz @ 2705MHz
  ✗ Memory           7.6 GB total · 2.0 GB free
                     Low memory — renders may fail. Close other apps or increase RAM.
  ✓ Disk             43.0 GB free
  ✓ /dev/shm         3907 MB
  ✓ Environment      Native terminal
  ✓ FFmpeg           ffmpeg version 6.1.1-3ubuntu5 Copyright (c) 2000-2023 the FFmpegdevelopers
  ✓ FFprobe          ffprobe version 6.1.1-3ubuntu5 Copyright (c) 2007-2023 the FFmpeg developers
  ✓ Chrome           cache: /home/anas/.cache/hyperframes/chrome/chrome-headless-shell/linux-131.0.6778.85/chrome-headless-shell-linux64/chrome-headless-shell
  ✓ Docker           Docker version 29.1.3, build 29.1.3-0ubuntu3~24.04.2
  ✗ Docker running   Not running

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions