You are not logged in.

#1 2014-11-29 12:09:29

x_nik2468
Member
Registered: 2014-11-29
Posts: 3

Problems with FLAC 5.1 audio over HDMI and mpv

The last mpv update (0.7) seems to have changed the way it gets info about the audio playback device.
Last week, I could play videos with FLAC 5.1 audio over HDMI without any problem. My .asoundrc was just:

pcm.!default {
    type hw
    card 0
    device 3
}

But after the last update, if I try to play a video while the default pcm device is set to HDMI, I get this error:

mpv: ../audio/chmap_sel.c:89: mp_chmap_sel_add_map: Assertion `s->num_chmaps < (sizeof(s->chmaps) / sizeof((s->chmaps)[0]))' failed.
Aborted (core dumped)

I tried downmixing, since the problem seems the number of channels.
I added this to my .asoundrc:

pcm.!surround51 {
    type vdownmix
    slave.pcm "default"
}
pcm.!surround40 {
    type vdownmix
    slave.pcm "default" {
}  

Now mpv starts without errors but I hear no sound.
Everything is fine in mplayer, even without the downmixing in .asoundrc
What should I add to my .asoundrc so that mpv recognises the playback device correctly?

Last edited by x_nik2468 (2014-11-29 12:10:40)

Offline

#2 2014-12-03 07:43:10

cuciferus
Member
Registered: 2014-12-03
Posts: 1

Re: Problems with FLAC 5.1 audio over HDMI and mpv

I have the exact same issue...on a different linux distro

Offline

#3 2014-12-03 07:43:45

andreyv
Member
From: Riga, Latvia
Registered: 2012-11-02
Posts: 34

Re: Problems with FLAC 5.1 audio over HDMI and mpv

It will be fixed in mpv 0.7.1.

Offline

#4 2014-12-03 14:02:07

x_nik2468
Member
Registered: 2014-11-29
Posts: 3

Re: Problems with FLAC 5.1 audio over HDMI and mpv

andreyv wrote:

It will be fixed in mpv 0.7.1.

So this is merely a mpv problem.
Good to know, I'll just wait for the update smile

Offline

Board footer

Powered by FluxBB