Skip to content

supported audio file isnt playable (mp4) #701

@RobinMeow

Description

@RobinMeow

Description of the Problem

tried to play a mp4 (codec AAC LC) file by pressing l (lowercase L)
using mpv outside of termusic works fine

Environment & Versions

❯ termusic --version
Termusic v0.12.1[c]

installed with pacman


OS: Arch Linux x86_64
Kernel: Linux 6.19.11-arch1-1
Uptime: 11 mins
Packages: 1163 (pacman)
Shell: zsh 5.9
Display (Q27G2WG4): 2560x1440 in 27", 144 Hz [External] *
Display (Q27G2WG4): 2560x1440 in 27", 120 Hz [External]
DE: KDE Plasma 6.6.4
WM: KWin (Wayland)
WM Theme: Breeze
Theme: Breeze (Dark) [Qt]
Icons: breeze-dark [Qt]
Font: Noto Sans (10pt) [Qt]
Cursor: breeze (24px)
Terminal: kitty 0.46.2
Terminal Font: CommitMonoNF-Regular (14pt)
CPU: Intel(R) Core(TM) Ultra 7 265K (20) @ 5.60 GHz
GPU: NVIDIA GeForce RTX 4080 SUPER [Discrete]
Memory: 6.65 GiB / 46.66 GiB (14%)
Swap: 0 B / 4.00 GiB (0%)
Disk (/): 163.57 GiB / 1.78 TiB (9%) - ext4
Local IP (enp129s0): 192.168.178.25/24
Locale: en_US.UTF-8

Logs:
tui log
there were alot of these (the file i tired to play which was listed in the tui is not in the log)

[2026-04-19T22:53:26.599+02:00 WARN termusiclib::new_database]: Error scanning path "/home/ribyn/Music/some tracks/Peter Fox - Haus Am See.mp3": Io(Error { kind: UnexpectedEof, message: "failed to fill whole buffer" })

server log

[2026-04-19T22:53:31.537+02:00 INFO termusicplayback::playlist]: Trying to add 1 tracks to the playlist
[2026-04-19T22:53:31.537+02:00 ERROR termusicplayback::playlist]: unsupported filetype: "/home/ribyn/Music/KPop Demon Hunters mix/Free.mp4"
[2026-04-19T22:53:31.537+02:00 WARN termusicplayback::playlist]: Error adding track: Failed to add to playlist because of: Unsupported File type "Some(mp4)" at "/home/ribyn/Music/KPop Demon Hunters mix/Free.mp4"
[2026-04-19T22:53:31.537+02:00 INFO termusicplayback::playlist]: Added 0 tracks with 1 errors
[2026-04-19T22:53:31.537+02:00 ERROR termusic_server]: Error adding tracks: There are 1 Errors adding tracks to the playlist: [
  Failed to add to playlist because of: Unsupported File type "Some(mp4)" at "/home/ribyn/Music/KPop Demon Hunters mix/Free.mp4",
]

mediainfo

Complete name                            : Free.mp4
Format                                   : dash
Codec ID                                 : dash (iso6/mp41)
File size                                : 2.90 MiB
Overall bit rate                         : 130 kb/s
ID                                       : 1
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 3 min 8 s
Bit rate                                 : 128 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 44.1 kHz
Frame rate                               : 43.066 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 2.87 MiB (99%)

Further notes

just installed it freshly, looking for tui music player, looks promising. dont have any custom configuration.
i did try rebooting after install

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprove a existing Feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions