Sample Header Ad - 728x90

MPV crashes because of segmentation fault when play certain mp4

1 vote
0 answers
140 views
For some reasons, I can't get to play certain mp4 files downloaded from Microsoft Teams. It could play those files, but it started crashing randomly. I'm on arch linux and I suspect it is because of an update, so here's all the packages I updated before I started getting this problem: - alsa-card-profiles -> (1:1.2.7-1) - htop -> (3.3.0-3) - libx11 -> (1.8.11-1) - imagemagick -> (7.1.1.44-1) - libpipewire -> (1:1.2.7-1) - libsm -> (1.2.5-1) - libsynctex -> (2024.2-6) - linux -> (6.13.5.arch1-1) - pipewire -> (1:1.2.7-1) - pipewire-audio -> (1:1.2.7-1) - pipewire-session-manager -> (1:1.2.7-1) - pipewire-alsa -> (1:1.2.7-1) - pipewire-jack -> (1:1.2.7-1) - pipewire-pulse -> (1:1.2.7-1) - xorg-xauth -> (1.1.3-1) I tried playing different files and different mp4 and they all worked, but I really need to get mpv working again with these files. I tried installing mpv-git from the AUR, but it didn't help. Do you have any idea what could be the problem? Let me know if specific command outputs are needed to have a better insight of the problem. Here is some more info and clarifications: - The exact same file can be played on the same exact machine with vlc. - I tried redownloading the file and also tried different files downloaded from MS Teams and they all stopped working on this machine. - Here is the crash dialogue from mpv:
61624 segmentation fault (core dumped)  mpv Video/Lezione\ 8\ -\ 08_03_2023.mp4
- The same files can be played on a different machine with mpv. This other machine uses Ubuntu with mpv version 0.34.1, while the machine where files are not playing uses mpv 0.39.0. Here is the output for mpv -version on the machine where files are not playing correctly:
mpv v0.39.0 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects built on Nov 27 2024 18:31:26

libplacebo version: v7.349.0

FFmpeg version: n7.1

FFmpeg library versions:
   libavcodec      61.19.100
   libavdevice     61.3.100
   libavfilter     10.4.100
   libavformat     61.7.100
   libavutil       59.39.100
   libswresample   5.3.100
   libswscale      8.3.100
## "Solution" ## I find out that using mpv --ao=alsa file.mp4, the problem does not occur, so it seems to be caused by the recent updates to pipewire. ## Actual solution ## Most recent update for pipewire and related packages solved the issue.
Asked by deomanu01 (51 rep)
Mar 12, 2025, 10:26 AM
Last activity: Mar 15, 2025, 08:04 AM