HDMI vs SPDIF

linuxonly

Member
Thread Starter
Joined
Jul 27, 2024
Posts
112
More  
Preamp, Processor or Receiver
Logitech Z906
DAC
AMD FCH Azalia
Computer Audio
SPDIF output with alsa, pipewire, wireplumber on Fedora 40
Streaming Equipment
Kodi
Front Height Speakers
33 in
Middle Height Speakers
30 in
Rear Height Speakers
57 in
Video Display Device
X11/VGA + X11/DVI
REW supports hdmi audio multichannel, however it doesn't seem to support spdif multichannel, only stereo. am i wrong?

I use SPDIF actually to connect to my AVR, a Logitech Z906. And with REW I'm only able to output sound to its L and R channels and naturally the subwoofer.

My computer, the Fatal1ty FM2A88X+ Killer motherboard does support HDMI audio via its AMD A10-7850K Radeon R7 4C+8G (4) @ 3.700GHz CPU. Theoratically.

I don't use the HDMI output at all at this moment. My monitor is using DVI-D and my TV is using VGA video inputs.

My question is assuming I purchase an inexpensive HDMI to SPDIF converter like https://www.amazon.ca/LinkS-SPDIF-Extractor-Converter-Chromecast/dp/B00XJITK7E for example - there are dozens of models - would REW easily recognize my 6 audio channels that it doesn't see using SPDIF, for I can measure each one individually and align them in time and frequency domain? That is without having to reconfigure every audio client/server in the computer.

Or as an alternative, could we expect REW to see all the 6 SPDIF channels natively in a future update? For that to happen I understand they would have to be demultiplexed, processed, and remultiplexed, correct?

Goal is to address, measure, and correct each and every 6 speakers connected to my Z906, which I cannot do using SPDIF. Analog audio is not an option. It's broken anyways, I purchased this board 2nd hand and no analog audio working.

Last but important, system is Fedora Linux 40, with pipewire. The Z906 has a SPDIF input + analog inputs but no HDMI.

So far REW did an excellent job for the R and L channels, but the other 4 are left unoptimized i.e. the subwoofer isn't probably in proper phase with the front speakers and the rear speakers were left unprocessed. The Z906 can be manually switched with the effects button, between 2.1 (stereo), 4.0 where front speakers are duplicated on rear speakers, 5.1 upmixing, and automatically decode multichannel 5.1 mode when compatible format is detected. Therefore it's actually optimized for stereo using convolver impulse files produced by REW. In 4.0 mode the result is terrible and in 5.1 multichannel mode, the convolver is deactivated because easyeffects supports only stereo.

I'm perfectly satisfied with my hardware for music (stereo), movies (stereo or multichannels) and my Z906. It's not hifi (with the meaning it has originally in the 70s), but it's OK. My hifi system is another project once this Fedora/Asrock is advanced enough to my satisfaction. I'm making progresss, but its step by step. My knowledge with psychoacoustics dates from the alalog era where we used compression/expansion with NE572 ICs, delay lines using TDA1022 or SAD1024 and active LPF, BPF and HPF using op amps, graphic LRC equalizers and preamps where the bass/treble were not centered at say 1kHz, but variable throughout all the audio spectrum, separately. I was a very active electronic hobbyist. I'm totally new to digital audio and there is a lot of reading to grok the entire panorama and the possibilities.

I hope I'm clear anough, it's getting late.
 
Last edited:

John Mulcahy

REW Author
Joined
Apr 3, 2017
Posts
8,013
REW (or Java, more accurately) only supports uncompressed audio formats. HDMI can carry up to 8 channels of uncompressed linear PCM data, S/PDIF multi-channel formats are compressed bitstreams which REW cannot generate or decode.
 

phofman

Member
Joined
Jun 26, 2019
Posts
180
@linuxonly: There is an alsa plugin dcaenc which converts 6ch PCM input to a DTS-encoded bitstream for transfer over SPDIF https://github.com/jesusdf/spdif-alsa-plugins/blob/master/dts/dcaenc-2/README . I have not tested it but some info is available online, IMO it will work OK.

Similarly you can use a52 alsa plugin which converts to AC3 e.g. https://git.alsa-project.org/?p=alsa-plugins.git;a=blob;f=doc/a52.txt;hb=HEAD (but DTS has a better quality).

Then just use your custom 6ch alsa PCM device in linux REW.
 

linuxonly

Member
Thread Starter
Joined
Jul 27, 2024
Posts
112
More  
Preamp, Processor or Receiver
Logitech Z906
DAC
AMD FCH Azalia
Computer Audio
SPDIF output with alsa, pipewire, wireplumber on Fedora 40
Streaming Equipment
Kodi
Front Height Speakers
33 in
Middle Height Speakers
30 in
Rear Height Speakers
57 in
Video Display Device
X11/VGA + X11/DVI
REW (or Java, more accurately) only supports uncompressed audio formats. HDMI can carry up to 8 channels of uncompressed linear PCM data, S/PDIF multi-channel formats are compressed bitstreams which REW cannot generate or decode.
Thanks John, that's a concise explanation.

It took me months to get this audio setup working as it should using first alsa and pulseaudio with Fedora 38, then changing and reconfiguring everything for pipewire and wireplumber under Fedora 40 given the fact that there is no documentation. Windows is almost plug and play as far as audio is concerned; linux is far far away from that: you'll get some audio but in no way optimal. My audio clients are firefox, chromium based browsers, vlc, mpv, kodi, totem.

Is it possible to test whether or not REW could see all my HDMI channels if I selected HDMI as audio output, possibly using channel mapping, even though I do not have anything plugged to the hdmi output? I would not want to take the risk ruining my audio configuration for tests that would not even be possible. Zero configuration done yet on the hdmi, as I don't use it, never did: no hardware supporting it.
 

phofman

Member
Joined
Jun 26, 2019
Posts
180
Is it possible to test whether or not REW could see all my HDMI channels if I selected HDMI as audio output, possibly using channel mapping, even though I do not have anything plugged to the hdmi output?
REW is a standard alsa or pulseaudio client. You can use any other player/client to check. E.g. aplay or sox for alsa, mplayer or vlc or anything for pulseaudio.

HDMI alsa devices with no connected HDMI device are often disabled as they need to receive capabilities of the remote receiver first (channels, formats https://en.wikipedia.org/wiki/Extended_Display_Identification_Data#Audio_Data_Blocks). Depends on the actual HDMI transmitter model/its driver.
 

linuxonly

Member
Thread Starter
Joined
Jul 27, 2024
Posts
112
More  
Preamp, Processor or Receiver
Logitech Z906
DAC
AMD FCH Azalia
Computer Audio
SPDIF output with alsa, pipewire, wireplumber on Fedora 40
Streaming Equipment
Kodi
Front Height Speakers
33 in
Middle Height Speakers
30 in
Rear Height Speakers
57 in
Video Display Device
X11/VGA + X11/DVI
@linuxonly: There is an alsa plugin dcaenc which converts 6ch PCM input to a DTS-encoded bitstream for transfer over SPDIF https://github.com/jesusdf/spdif-alsa-plugins/blob/master/dts/dcaenc-2/README . I have not tested it but some info is available online, IMO it will work OK.

Similarly you can use a52 alsa plugin which converts to AC3 e.g. https://git.alsa-project.org/?p=alsa-plugins.git;a=blob;f=doc/a52.txt;hb=HEAD (but DTS has a better quality).

Then just use your custom 6ch alsa PCM device in linux REW.
Hi, thanks for your reply.

I reckon getting alsa properly setup would be the first step, but I failed miserably at that.

I already have a52 working (I think) but dca looks like a dead project. Nevertheless, despite several weeks of testing, I never was able to get any 5.1 sound working under ALSA and that was tested and retested. Lack of competences here.

Some tests I made so far, just a few, only stereo output:

2719 mplayer -slave -idle -ao alsa:device=hw=0.1 /mnt/linux486/mp3/Pink\ Floyd/Meddle-5.1/6\ -\ Echoes.aac
2720 mplayer -slave -idle -ao alsa:device=hw=1.1 /mnt/linux486/mp3/Pink\ Floyd/Meddle-5.1/6\ -\ Echoes.aac
2728 mplayer -ao alsa:device=spdif /mnt/linux486/mp3/Pink\ Floyd/Meddle-5.1/6\ -\ Echoes.aac
2729 mplayer -ao alsa:device=iec958 /mnt/linux486/mp3/Pink\ Floyd/Meddle-5.1/6\ -\ Echoes.aac
2731 mplayer -ao alsa:device=iec958:CARD=Generic,DEV=0 /mnt/linux486/mp3/Pink\ Floyd/Meddle-5.1/6\ -\ Echoes.aac
2732 mplayer -ao alsa:device=a52 /mnt/linux486/mp3/Pink\ Floyd/Meddle-5.1/6\ -\ Echoes.aac
2733 mplayer -ao alsa:device="iec958:CARD=Generic,DEV=0" /mnt/linux486/mp3/Pink\ Floyd/Meddle-5.1/6\ -\ Echoes.aac
2734 mplayer -ao alsa:device=hw=10 /mnt/linux486/mp3/Pink\ Floyd/Meddle-5.1/6\ -\ Echoes.aac
2736 mplayer -ao alsa:device=hw=9 /mnt/linux486/mp3/Pink\ Floyd/Meddle-5.1/6\ -\ Echoes.aac
2737 mplayer -ao alsa:device=hw=0 /mnt/linux486/mp3/Pink\ Floyd/Meddle-5.1/6\ -\ Echoes.aac
2741 mplayer -ao alsa Videos/AAC-test.mp4
2747 mplayer -channels 6 -ao alsa Videos/AAC-test.mp4
2748 mplayer -ao alsa Videos/AAC-test.mp4
2749 mplayer -ao alsa -channels 6 Videos/AAC-test.mp4
2752 mplayer -ao alsa:device=hw=1.0 -channels 6 Videos/AAC-test.mp4
2753 mplayer -ao alsa:device=hw=0.1 -channels 6 Videos/AAC-test.mp4
2754 mplayer -ao alsa:device=hw=0.0 -channels 6 Videos/AAC-test.mp4
2755 mplayer -ao alsa:device=hw=q.1 -channels 6 Videos/AAC-test.mp4
2756 mplayer -ao alsa:device=hw=1.1 -channels 6 Videos/AAC-test.mp4
2758 mplayer -ao alsa:device=hw=0.3 -channels 6 Videos/AAC-test.mp4
2759 mplayer -ao alsa:device=hw=1.2 -channels 6 Videos/AAC-test.mp4
2760 mplayer -ao alsa:device=hw=1.0 -channels 6 Videos/AAC-test.mp4
2761 mplayer -ao alsa:device=hw=1.1 -channels 6 Videos/AAC-test.mp4
2762 mplayer -ao alsa:device=hw=1.1 Videos/AAC-test.mp4
5351 flatpak run tv.kodi.Kodi --audio-backend=alsa+pulseaudio
5609 mpv --audio-device=pipewire/alsa_output.pci-0000_00_14.2.iec958-stereo.2
5610 mpv --audio-device=pipewire/alsa_output.pci-0000_00_14.2.iec958-stereo.2 Videos/AAC-test.mp4
5612 mpv --audio-device=pulse/alsa_output.pci-0000_00_14.2.iec958-stereo.2
5613 mpv --audio-device=pulse/alsa_output.pci-0000_00_14.2.iec958-stereo.2 Videos/AAC-test.mp4
6791 mpv --audio-device=alsa/iec958:CARD=Generic,DEV=0 --audio-spdif=dts,truehd,dts-hd,eac3 Videos/AAC-test.mp4
6792 mpv --audio-device=alsa/iec958:CARD=0,DEV=0 --audio-spdif=dts,truehd,dts-hd,eac3 Videos/AAC-test.mp4
6793 mpv --audio-device=alsa/a52:CARD=0,DEV=0 --audio-spdif=dts,truehd,dts-hd,eac3 Videos/AAC-test.mp4
6794 mpv --audio-device=alsa/a52:CARD=Generic,DEV=0 --audio-spdif=dts,truehd,dts-hd,eac3 Videos/AAC-test.mp4
6795 mpv --audio-device=alsa/a52:CARD=Generic,'hw:1,1' --audio-spdif=dts,truehd,dts-hd,eac3 Videos/AAC-test.mp4
6796 mpv --audio-device=alsa/a52:CARD=1,'hw:1,1' --audio-spdif=dts,truehd,dts-hd,eac3 Videos/AAC-test.mp4
6798 mpv --audio-device=alsa/a52:CARD=1,'hw:1,1' --sudiosamplerate=48000 --audio-spdif=dts,truehd,dts-hd,eac3 Videos/AAC-test.mp4
6799 mpv --audio-device=alsa/a52:CARD=1,'hw:1,1' --audiosamplerate=48000 --audio-spdif=dts,truehd,dts-hd,eac3 Videos/AAC-test.mp4
6800 mpv --audio-device=alsa/a52:CARD=1,'hw:1,1' --audio-samplerate=48000 --audio-spdif=dts,truehd,dts-hd,eac3 Videos/AAC-test.mp4
6801 mpv --audio-device=alsa/a52:CARD=1,'hw:1,1' --audio-samplerate=44100 --audio-spdif=dts,truehd,dts-hd,eac3 Videos/AAC-test.mp4
6802 mpv --audio-device=alsa/a52:CARD=1,'hw:1,1' --audio-samplerate=441 --audio-spdif=dts,truehd,dts-hd,eac3 Videos/AAC-test.mp4
6808 mpv --audio-device=alsa/a52:CARD=1,'hw:1,1' --audio-samplerate=441 --audio-spdif=dts,truehd,dts-hd,eac3 Videos/AAC-test.mp4
6812 mpv -ao=alsa:iec958 Videos/AAC-test.mp4
6815 mpv -ao=alsa=iec958 Videos/AAC-test.mp4
6816 mpv -ao alsa=iec958 Videos/AAC-test.mp4
6820 mpv -ao=alsa:a52 Videos/AAC-test.mp4
6821 mpv -ao=alsa=a52 Videos/AAC-test.mp4
6822 mpv -ao=alsa.a52 Videos/AAC-test.mp4
7889 LANG=C gst-launch-1.0 -v playbin uri=file:///home/shizuma/Videos/HE-AAC-test.mp4 audioconvert alsasink device=hw:0,0
7890 LANG=C gst-launch-1.0 -v playbin uri=file:///home/shizuma/Videos/HE-AAC-test.mp4 audioconvert alsasink device=hw:0,1
7891 LANG=C gst-launch-1.0 -v playbin uri=file:///home/shizuma/Videos/HE-AAC-test.mp4 audioconvert alsasink device=hw:1,1
7892 LANG=C gst-launch-1.0 -v playbin uri=file:///home/shizuma/Videos/HE-AAC-test.mp4 audioconvert alsasink device=hw:1,0
7897 LANG=C gst-launch-1.0 -v playbin uri=file:///home/shizuma/Videos/HE-AAC-test.mp4 audio-sink=alsasink
7907 LANG=C gst-launch-1.0 -v playbin uri=file:///home/shizuma/Videos/HE-AAC-test.mp4 audio-sink=alsasink

Here's my asound.conf. Commented lines are tested and not working, left there for not to repeata the same mistakes again.

$ cat /etc/asound.conf
#
# Place your global alsa-lib configuration here...
#
pcm.custom
{
type plug
slave
{
pcm "dmix:1,1"
}
}

ctl.custom
{
type hw
card Generic
}

pcm.!default pcm.custom

ctl.!default ctl.custom

#description "Plugin to convert multichannel stream to A52 (AC3) bitstream"
#pcm.a52 {
# @args [CARD]
# @args.CARD {
# type integer
# }
# type rate
# slavepcm "iec958:CARD=Generic,DEV=0"
# slave {
# pcm {
# type a52
# bitrate 448
# channels 6
# card $CARD
# }
# rate 48000
# }
#}

pcm.a52 {
slavepcm "iec958:CARD=Generic,DEV=0"
}

# DTS:
#pcm.dca {
# @args [CARD]
# @args.CARD {
# type string
# }
# type rate
# slave {
# pcm {
# type dca
# channels 6
# card $CARD
# }
# rate 48000
# }
#}

pcm.dca {
slavepcm "iec958:CARD=Generic,DEV=0"
}
 

linuxonly

Member
Thread Starter
Joined
Jul 27, 2024
Posts
112
More  
Preamp, Processor or Receiver
Logitech Z906
DAC
AMD FCH Azalia
Computer Audio
SPDIF output with alsa, pipewire, wireplumber on Fedora 40
Streaming Equipment
Kodi
Front Height Speakers
33 in
Middle Height Speakers
30 in
Rear Height Speakers
57 in
Video Display Device
X11/VGA + X11/DVI

phofman

Member
Joined
Jun 26, 2019
Posts
180
@linuxonly : IMO the steps should be gradual. First make your chain work with standard PCM. Then test DD/DTS passthrough, using some DD/DTS tracks with e.g. mplayer. That will yield alsa device config which will work with DD/DTS. Then you can play with a52/dca to convert multichannel PCM and output to this tested 2ch passthrough device. Doing all of this in one step the first time right is basically impossible.
 

linuxonly

Member
Thread Starter
Joined
Jul 27, 2024
Posts
112
More  
Preamp, Processor or Receiver
Logitech Z906
DAC
AMD FCH Azalia
Computer Audio
SPDIF output with alsa, pipewire, wireplumber on Fedora 40
Streaming Equipment
Kodi
Front Height Speakers
33 in
Middle Height Speakers
30 in
Rear Height Speakers
57 in
Video Display Device
X11/VGA + X11/DVI
@phofman

Hi, and thanks for your reply.

I already play DD/DTS (I think) using flatpak mpv and flatpak vlc through passtrough.

AAC material decodable only by Kodi flatpak using pipewire, not pulseaudio, not alsa, and only some particular flatpak commits where pipewire has not been disabled.

All other clients see the DD/DTS/AAC files as stereo and play then as stereo e.g. mplayer. I'm afraid I will need assistance. What would be the next step?

2.0
Code:
$ mplayer Videos/Audio\ tests/AC3\ Dolby\ Digital\ 5.1Ch\ Sound\ Test.mp4
MPlayer SVN-r38460-14 (C) 2000-2024 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing Videos/Audio tests/AC3 Dolby Digital 5.1Ch Sound Test.mp4.
libavformat version 60.16.100 (external)
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [DIV3]  576x432  24bpp  29.970 fps  2011.8 kbps (245.6 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 60.31.102 (external)
Selected video codec: [ffdivx] vfm: ffmpeg (FFmpeg DivX ;-) (MSMPEG-4 v3))
==========================================================================
Clip info:
 Software: Nandub v1.0rc2
Load subtitles in Videos/Audio tests/
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, floatle, 448.0 kbit/4.86% (ratio: 56000->1152000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 576x432 => 576x432 Planar YV12
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 576x432 => 576x432 Planar YV12
A:  13.0 V:  13.0 A-V: -0.022 ct:  0.021 392/392  3%  2%  0.9% 1 0

5.1
Code:
$ vlc  --verbose 1 Videos/Audio\ tests/AC3\ Dolby\ Digital\ 5.1Ch\ Sound\ Test.mp4
VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
[0000564ce79f46d0] main libvlc: Lancement de vlc avec l’interface par défaut. Utiliser « cvlc » pour démarrer VLC sans interface.
Gtk-Message: 07:15:51.559: Failed to load module "xapp-gtk3-module"
Qt: Session management error: Could not open network socket
[0000564ce7accb10] main audio output error: too low audio sample frequency (0)
[00007fd510d76870] main decoder error: failed to create audio output
[0000564ce7accb10] pulse audio output warning: starting late (-22441 us)
[00007fd50c01a150] qt window warning: orphaned video window
[msmpeg4 @ 0x7fd510c21cc0] get_buffer() failed
[msmpeg4 @ 0x7fd510c21cc0] thread_get_buffer() failed
[msmpeg4 @ 0x7fd510c21cc0] get_buffer() failed (-12 (nil))
shizuma@shizuma:~$ vlc  --verbose 2 Videos/Audio\ tests/AC3\ Dolby\ Digital\ 5.1Ch\ Sound\ Test.mp4
VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
[0000563917d836d0] main libvlc debug: VLC media player - 3.0.21 Vetinari
[0000563917d836d0] main libvlc debug: Copyright © 1996-2024 the VideoLAN team
[0000563917d836d0] main libvlc debug: revision 3.0.21-0-gdd8bfdbabe8
[0000563917d836d0] main libvlc debug: configured with ./configure  '--prefix=/app' 'BUILDCC=/usr/bin/gcc -std=gnu99' '--disable-a52' 'CFLAGS=-O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer ' 'LDFLAGS=-L/app/lib -Wl,-z,relro,-z,now -Wl,--as-needed ' 'CXXFLAGS=-O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer ' 'PKG_CONFIG_PATH=/app/lib/pkgconfig:/app/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig'
[0000563917d836d0] main libvlc debug: searching plug-in modules
[0000563917d836d0] main libvlc debug: loading plugins cache file /app/lib/vlc/plugins/plugins.dat
[0000563917d836d0] main libvlc debug: recursively browsing `/app/lib/vlc/plugins'
[0000563917d836d0] main libvlc debug: plug-ins loaded: 512 modules
[0000563917d836d0] main libvlc debug: opening config file (/home/shizuma/.var/app/org.videolan.VLC/config/vlc/vlcrc)
[0000563917d83a20] main logger debug: looking for logger module matching "any": 4 candidates
[0000563917d83a20] main logger debug: using logger module "console"
[0000563917d836d0] main libvlc debug: translation test: code is "fr"
[0000563917e1fd40] main keystore debug: looking for keystore module matching "memory": 4 candidates
[0000563917e1fd40] main keystore debug: using keystore module "memory"
[0000563917d836d0] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 SSE4A AVX XOP FMA4 FPU
[0000563917e1b8d0] main input debug: Creating an input for 'Médiathèque'
[0000563917e1b8d0] main input debug: Input is a meta file: disabling unneeded options
[0000563917e1b8d0] main input debug: using timeshift granularity of 50 MiB
[0000563917e1b8d0] main input debug: using default timeshift path
[0000563917e1b8d0] main input debug: `file/directory:///home/shizuma/.var/app/org.videolan.VLC/data/vlc/ml.xspf' gives access `file' demux `directory' path `/home/shizuma/.var/app/org.videolan.VLC/data/vlc/ml.xspf'
[0000563917e2dab0] main input source debug: creating demux: access='file' demux='directory' location='/home/shizuma/.var/app/org.videolan.VLC/data/vlc/ml.xspf' file='/home/shizuma/.var/app/org.videolan.VLC/data/vlc/ml.xspf'
[0000563917e2dc50] main demux debug: looking for access_demux module matching "file": 20 candidates
[0000563917e2dc50] main demux debug: no access_demux modules matched
[0000563917e3d050] main stream debug: creating access: file:///home/shizuma/.var/app/org.videolan.VLC/data/vlc/ml.xspf
[0000563917e3d050] main stream debug:  (path: /home/shizuma/.var/app/org.videolan.VLC/data/vlc/ml.xspf)
[0000563917e3d050] main stream debug: looking for access module matching "file": 29 candidates
[0000563917e3d050] main stream debug: using access module "filesystem"
[0000563917e3e1d0] main stream debug: looking for stream_filter module matching "prefetch,cache_read": 26 candidates
[0000563917e3e1d0] cache_read stream debug: Using stream method for AStream*
[0000563917e3e1d0] cache_read stream debug: starting pre-buffering
[0000563917e3e1d0] cache_read stream debug: received first data after 0 ms
[0000563917e3e1d0] cache_read stream debug: pre-buffering done 296 bytes in 0s - 7411 KiB/s
[0000563917e3e1d0] main stream debug: using stream_filter module "cache_read"
[0000563917e3f180] main stream debug: looking for stream_filter module matching "any": 26 candidates
[0000563917e3f180] playlist stream debug: using XSPF playlist reader
[0000563917e3f180] main stream debug: using stream_filter module "playlist"
[0000563917e3f180] main stream debug: stream filter added to 0x563917e3e1d0
[0000563917e549b0] main stream debug: looking for stream_filter module matching "any": 26 candidates
[0000563917e549b0] main stream debug: no stream_filter modules matched
[0000563917e559e0] main stream_directory debug: looking for stream_directory module matching "any": 1 candidates
[0000563917e559e0] main stream_directory debug: no stream_directory modules matched
[0000563917e2dab0] main input source debug: attachment of directory-extractor failed for file:///home/shizuma/.var/app/org.videolan.VLC/data/vlc/ml.xspf
[0000563917e549b0] main stream debug: looking for stream_filter module matching "record": 26 candidates
[0000563917e549b0] main stream debug: using stream_filter module "record"
[0000563917e2dab0] main input source debug: creating demux: access='file' demux='directory' location='/home/shizuma/.var/app/org.videolan.VLC/data/vlc/ml.xspf' file='/home/shizuma/.var/app/org.videolan.VLC/data/vlc/ml.xspf'
[0000563917e2dc50] main demux debug: looking for demux module matching "directory": 53 candidates
[0000563917e2dc50] main demux debug: using demux module "directory"
[0000563917e58640] main demux meta debug: looking for meta reader module matching "any": 2 candidates
[0000563917e58640] lua demux meta debug: Trying Lua scripts in /home/shizuma/.var/app/org.videolan.VLC/data/vlc/lua/meta/reader
[0000563917e58640] lua demux meta debug: Trying Lua scripts in /app/lib/vlc/lua/meta/reader
[0000563917e58640] lua demux meta debug: Trying Lua playlist script /app/lib/vlc/lua/meta/reader/filename.luac
[0000563917e58640] lua demux meta debug: Trying Lua scripts in /app/share/vlc/lua/meta/reader
[0000563917e58640] main demux meta debug: no meta reader modules matched
[0000563917e1b8d0] main input debug: `file/directory:///home/shizuma/.var/app/org.videolan.VLC/data/vlc/ml.xspf' successfully opened
[0000563917e5be80] main xml reader debug: looking for xml reader module matching "any": 1 candidates
[0000563917e5be80] main xml reader debug: using xml reader module "xml"
[0000563917e1b8d0] main input debug: EOF reached
[0000563917e2dc50] main demux debug: removing module "directory"
[0000563917e549b0] main stream debug: removing module "record"
[0000563917e3f180] main stream debug: removing module "playlist"
[0000563917e3e1d0] main stream debug: removing module "cache_read"
[0000563917e3d050] main stream debug: removing module "filesystem"
[0000563917e18f50] main playlist debug: creating audio output
[0000563917e5bb10] main audio output debug: looking for audio output module matching "any": 6 candidates
[0000563917e5bb10] vlcpulse audio output debug: using library version 17.0.0
[0000563917e5bb10] vlcpulse audio output debug:  (compiled with version 17.0.0, protocol 35)
[0000563917e5bb10] vlcpulse audio output debug: connected locally to unix:/run/flatpak/pulse/native as client #955
[0000563917e5bb10] vlcpulse audio output debug: using protocol 35, server protocol 35
[0000563917e5bb10] pulse audio output debug: adding sink 49: alsa_output.pci-0000_00_01.1.iec958-ac3-surround-51 (Audio interne Surround numérique 5.1 (IEC958/AC3))
[0000563917e5bb10] pulse audio output debug: adding sink 58: alsa_output.pci-0000_00_14.2.iec958-stereo (Audio interne Stéréo numérique (IEC958))
[0000563917e5bb10] pulse audio output debug: adding sink 84: easyeffects_sink (Easy Effects Sink)
[0000563917e5bb10] main audio output debug: using audio output module "pulse"
[0000563917e18f50] main playlist debug: keeping audio output
[0000563917e5f3e0] main interface debug: looking for interface module matching "dbus,none": 18 candidates
[0000563917e5f3e0] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc
[0000563917e5f3e0] main interface debug: using interface module "dbus"
[0000563917e6c3e0] main interface debug: looking for interface module matching "hotkeys,none": 18 candidates
[00007f38d4000c30] main input debug: Creating an input for preparsing 'AC3 Dolby Digital 5.1Ch Sound Test.mp4'
[0000563917e6c3e0] main interface debug: using interface module "hotkeys"
[0000563917e6cdd0] main interface debug: looking for interface module matching "globalhotkeys,none": 18 candidates
[0000563917e6cdd0] main interface debug: using interface module "xcb_hotkeys"
[0000563917d836d0] main libvlc: Lancement de vlc avec l’interface par défaut. Utiliser « cvlc » pour démarrer VLC sans interface.
[0000563917e6eb10] main interface debug: looking for interface module matching "any": 18 candidates
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[00007f38c8000c30] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates
[00007f38c8000c30] lua meta fetcher debug: Trying Lua scripts in /home/shizuma/.var/app/org.videolan.VLC/data/vlc/lua/meta/fetcher
[00007f38c8000c30] lua meta fetcher debug: Trying Lua scripts in /app/lib/vlc/lua/meta/fetcher
[00007f38c8000c30] lua meta fetcher debug: Trying Lua scripts in /app/share/vlc/lua/meta/fetcher
[00007f38c8000c30] main meta fetcher debug: no meta fetcher modules matched
[00007f38c8000c30] main art finder debug: looking for art finder module matching "any": 2 candidates
[00007f38c8000c30] lua art finder debug: Trying Lua scripts in /home/shizuma/.var/app/org.videolan.VLC/data/vlc/lua/meta/art
[00007f38c8000c30] lua art finder debug: Trying Lua scripts in /app/lib/vlc/lua/meta/art
[00007f38c8000c30] lua art finder debug: Trying Lua playlist script /app/lib/vlc/lua/meta/art/00_musicbrainz.luac
[00007f38c8000c30] lua art finder debug: skipping script (unmatched scope) /app/lib/vlc/lua/meta/art/00_musicbrainz.luac
[00007f38c8000c30] lua art finder debug: Trying Lua playlist script /app/lib/vlc/lua/meta/art/01_googleimage.luac
[00007f38c8000c30] lua art finder debug: skipping script (unmatched scope) /app/lib/vlc/lua/meta/art/01_googleimage.luac
[00007f38c8000c30] lua art finder debug: Trying Lua playlist script /app/lib/vlc/lua/meta/art/02_frenchtv.luac
[00007f38c8000c30] lua art finder debug: skipping script (unmatched scope) /app/lib/vlc/lua/meta/art/02_frenchtv.luac
[00007f38c8000c30] lua art finder debug: Trying Lua playlist script /app/lib/vlc/lua/meta/art/03_lastfm.luac
[00007f38c8000c30] lua art finder debug: skipping script (unmatched scope) /app/lib/vlc/lua/meta/art/03_lastfm.luac
[00007f38c8000c30] lua art finder debug: Trying Lua scripts in /app/share/vlc/lua/meta/art
[00007f38c8000c30] main art finder debug: no art finder modules matched
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting All properties
[0000563917e5f3e0] dbus interface debug: Getting property CanSeek
Gtk-Message: 07:16:11.485: Failed to load module "xapp-gtk3-module"
Qt: Session management error: Could not open network socket
[00007f38c83ae5d0] main generic debug: looking for extension module matching "any": 1 candidates
[00007f38c83ae5d0] lua generic debug: Opening Lua Extension module
[00007f38c83ae5d0] lua generic debug: Trying Lua scripts in /home/shizuma/.var/app/org.videolan.VLC/data/vlc/lua/extensions
[00007f38c83ae5d0] lua generic debug: Trying Lua scripts in /app/lib/vlc/lua/extensions
[00007f38c83ae5d0] lua generic debug: Trying Lua playlist script /app/lib/vlc/lua/extensions/VLSub.luac
[00007f38c83ae5d0] lua generic debug: Scanning Lua script /app/lib/vlc/lua/extensions/VLSub.luac
[00007f38c83ae5d0] lua generic debug: Script /app/lib/vlc/lua/extensions/VLSub.luac has the following capability flags: 0x5
[00007f38c83ae5d0] lua generic debug: Trying Lua scripts in /app/share/vlc/lua/extensions
[00007f38c83ae5d0] main generic debug: using extension module "lua"
[0000563917e6eb10] main interface debug: using interface module "qt"
[0000563917e18f50] main playlist debug: processing request item: null, node: Liste de lecture, skip: 0
[0000563917e18f50] main playlist debug: rebuilding array of current - root Liste de lecture
[0000563917e18f50] main playlist debug: rebuild done - 1 items, index -1
[0000563917e18f50] main playlist debug: starting playback of new item
[0000563917e18f50] main playlist debug: resyncing on AC3 Dolby Digital 5.1Ch Sound Test.mp4
[0000563917e18f50] main playlist debug: AC3 Dolby Digital 5.1Ch Sound Test.mp4 is at 0
[0000563917e18f50] main playlist debug: creating new input thread
[00007f3874000c90] main input debug: Creating an input for 'AC3 Dolby Digital 5.1Ch Sound Test.mp4'
[0000563917e18f50] main playlist debug: requesting art for new input thread
[00007f386c000c30] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates
[00007f386c000c30] lua meta fetcher debug: Trying Lua scripts in /home/shizuma/.var/app/org.videolan.VLC/data/vlc/lua/meta/fetcher
[00007f386c000c30] lua meta fetcher debug: Trying Lua scripts in /app/lib/vlc/lua/meta/fetcher
[00007f386c000c30] lua meta fetcher debug: Trying Lua scripts in /app/share/vlc/lua/meta/fetcher
[00007f386c000c30] main meta fetcher debug: no meta fetcher modules matched
[00007f386c000c30] main art finder debug: looking for art finder module matching "any": 2 candidates
[00007f386c000c30] lua art finder debug: Trying Lua scripts in /home/shizuma/.var/app/org.videolan.VLC/data/vlc/lua/meta/art
[00007f386c000c30] lua art finder debug: Trying Lua scripts in /app/lib/vlc/lua/meta/art
[00007f386c000c30] lua art finder debug: Trying Lua playlist script /app/lib/vlc/lua/meta/art/00_musicbrainz.luac
[00007f3874000c90] main input debug: using timeshift granularity of 50 MiB
[00007f3874000c90] main input debug: using default timeshift path
[00007f3874000c90] main input debug: `file:///home/shizuma/Videos/Audio%20tests/AC3%20Dolby%20Digital%205.1Ch%20Sound%20Test.mp4' gives access `file' demux `any' path `/home/shizuma/Videos/Audio%20tests/AC3%20Dolby%20Digital%205.1Ch%20Sound%20Test.mp4'
[00007f3868000fb0] main input source debug: creating demux: access='file' demux='any' location='/home/shizuma/Videos/Audio%20tests/AC3%20Dolby%20Digital%205.1Ch%20Sound%20Test.mp4' file='/home/shizuma/Videos/Audio tests/AC3 Dolby Digital 5.1Ch Sound Test.mp4'
[00007f3868001180] main demux debug: looking for access_demux module matching "file": 20 candidates
[00007f386c000c30] lua art finder debug: skipping script (unmatched scope) /app/lib/vlc/lua/meta/art/00_musicbrainz.luac
[00007f386c000c30] lua art finder debug: Trying Lua playlist script /app/lib/vlc/lua/meta/art/01_googleimage.luac
[00007f3868001180] main demux debug: no access_demux modules matched
[00007f38680016e0] main stream debug: creating access: file:///home/shizuma/Videos/Audio%20tests/AC3%20Dolby%20Digital%205.1Ch%20Sound%20Test.mp4
[00007f38680016e0] main stream debug:  (path: /home/shizuma/Videos/Audio tests/AC3 Dolby Digital 5.1Ch Sound Test.mp4)
[00007f38680016e0] main stream debug: looking for access module matching "file": 29 candidates
[00007f38680016e0] main stream debug: using access module "filesystem"
[00007f3868001a90] main stream debug: looking for stream_filter module matching "prefetch,cache_read": 26 candidates
[00007f3868001a90] cache_read stream debug: Using stream method for AStream*
[00007f3868001a90] cache_read stream debug: starting pre-buffering
[00007f3868001a90] cache_read stream debug: received first data after 0 ms
[00007f3868001a90] cache_read stream debug: pre-buffering done 1024 bytes in 0s - 25641 KiB/s
[00007f3868001a90] main stream debug: using stream_filter module "cache_read"
[00007f3868c01f10] main stream debug: looking for stream_filter module matching "any": 26 candidates
[00007f386c000c30] lua art finder debug: skipping script (unmatched scope) /app/lib/vlc/lua/meta/art/01_googleimage.luac
[00007f3868c01f10] lua stream debug: Trying Lua scripts in /home/shizuma/.var/app/org.videolan.VLC/data/vlc/lua/playlist
[00007f3868c01f10] lua stream debug: Trying Lua scripts in /app/lib/vlc/lua/playlist
[00007f3868c01f10] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/anevia_streams.luac
[00007f386c000c30] lua art finder debug: Trying Lua playlist script /app/lib/vlc/lua/meta/art/02_frenchtv.luac
[00007f386c000c30] lua art finder debug: skipping script (unmatched scope) /app/lib/vlc/lua/meta/art/02_frenchtv.luac
[00007f386c000c30] lua art finder debug: Trying Lua playlist script /app/lib/vlc/lua/meta/art/03_lastfm.luac
[00007f386c000c30] lua art finder debug: skipping script (unmatched scope) /app/lib/vlc/lua/meta/art/03_lastfm.luac
[00007f386c000c30] lua art finder debug: Trying Lua scripts in /app/share/vlc/lua/meta/art
[00007f386c000c30] main art finder debug: no art finder modules matched
[00007f3868c01f10] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/anevia_xml.luac
[00007f3868c01f10] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/appletrailers.luac
[00007f3868c01f10] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/bbc_co_uk.luac
[00007f3868c01f10] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/cue.luac
[00007f3868c01f10] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/dailymotion.luac
[00007f3868c01f10] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/jamendo.luac
[00007f3868c01f10] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/koreus.luac
[00007f3868c01f10] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/liveleak.luac
[00007f3868c01f10] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/newgrounds.luac
[00007f3868c01f10] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/rockbox_fm_presets.luac
[00007f3868c01f10] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/soundcloud.luac
[00007f3868c01f10] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/twitch.luac
[00007f3868c01f10] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/vimeo.luac
[00007f3868c01f10] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/vocaroo.luac
[00007f3868c01f10] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/youtube.luac
[00007f3868c01f10] lua stream debug: Trying Lua scripts in /app/share/vlc/lua/playlist
[00007f3868c01f10] main stream debug: no stream_filter modules matched
[00007f3868c19d70] main stream_directory debug: looking for stream_directory module matching "any": 1 candidates
[00007f3868c19d70] main stream_directory debug: no stream_directory modules matched
[00007f3868000fb0] main input source debug: attachment of directory-extractor failed for file:///home/shizuma/Videos/Audio%20tests/AC3%20Dolby%20Digital%205.1Ch%20Sound%20Test.mp4
[00007f3868c01f10] main stream debug: looking for stream_filter module matching "record": 26 candidates
[00007f3868c01f10] main stream debug: using stream_filter module "record"
[00007f3868000fb0] main input source debug: creating demux: access='file' demux='any' location='/home/shizuma/Videos/Audio%20tests/AC3%20Dolby%20Digital%205.1Ch%20Sound%20Test.mp4' file='/home/shizuma/Videos/Audio tests/AC3 Dolby Digital 5.1Ch Sound Test.mp4'
[00007f3868001180] main demux debug: looking for demux module matching "mp4": 53 candidates
[00007f3868c01f10] avi stream debug: <list 'AVI '>
[00007f3868c01f10] avi stream debug: <list 'hdrl'>
[00007f3868c01f10] avi stream debug: <list 'strl'>
[00007f3868c01f10] avi stream debug: </list 'strl'>0
[00007f3868c01f10] avi stream debug: <list 'strl'>
[00007f3868c01f10] avi stream debug: </list 'strl'>0
[00007f3868c01f10] avi stream debug: <list 'odml'>
[00007f3868c01f10] avi stream debug: </list 'odml'>0
[00007f3868c01f10] avi stream debug: </list 'hdrl'>0
[00007f3868c01f10] avi stream debug: <list 'INFO'>
[00007f3868c01f10] avi stream debug: </list 'INFO'>0
[00007f3868c01f10] avi stream debug: skipping movi chunk
[00007f3868c01f10] avi stream debug: </list 'AVI '>0
[00007f3868c01f10] avi stream debug: no more data at 15030272
[00007f3868c01f10] avi stream debug: * LIST-root size:15030272 pos:0
[00007f3868c01f10] avi stream debug:     + RIFF-AVI  size:15029658 pos:0
[00007f3868c01f10] avi stream debug:     |   + LIST-hdrl size:8818 pos:12
[00007f3868c01f10] avi stream debug:     |   |   + avih size:56 pos:24
[00007f3868c01f10] avi stream debug:     |   |   + LIST-strl size:4244 pos:88
[00007f3868c01f10] avi stream debug:     |   |   |   + strh size:56 pos:100
[00007f3868c01f10] avi stream debug:     |   |   |   + strf size:40 pos:164
[00007f3868c01f10] avi stream debug:     |   |   |   + JUNK size:4120 pos:212
[00007f3868c01f10] avi stream debug:     |   |   + LIST-strl size:4222 pos:4340
[00007f3868c01f10] avi stream debug:     |   |   |   + strh size:56 pos:4352
[00007f3868c01f10] avi stream debug:     |   |   |   + strf size:18 pos:4416
[00007f3868c01f10] avi stream debug:     |   |   |   + JUNK size:4120 pos:4442
[00007f3868c01f10] avi stream debug:     |   |   + LIST-odml size:260 pos:8570
[00007f3868c01f10] avi stream debug:     |   |   |   + dmlh size:248 pos:8582
[00007f3868c01f10] avi stream debug:     |   + LIST-INFO size:28 pos:8838
[00007f3868c01f10] avi stream debug:     |   |   + ISFT size:15 pos:8850
[00007f3868c01f10] avi stream debug:     |   + JUNK size:1358 pos:8874
[00007f3868c01f10] avi stream debug:     |   + LIST-movi size:14972994 pos:10240
[00007f3868c01f10] avi stream debug:     |   + idx1 size:46416 pos:14983242
[00007f3868c01f10] avi stream debug:     + JUNK size:598 pos:15029666
[00007f3868001180] avi demux debug: AVIH: 2 stream, flags  HAS_INDEX IS_INTERLEAVED
[00007f3868001180] avi demux debug: stream[0] rate:29970 scale:1000 samplesize:0
[00007f3868001180] avi demux debug: stream[0] video(DIV3) 576x432 24bpp 29,969999fps
[00007f3874000c90] main input debug: selecting program id=0
[00007f3868001180] avi demux debug: stream[1] rate:56000 scale:1 samplesize:1
[00007f3868001180] avi demux debug: stream[1] audio(0x2000 - A52 Audio (aka AC3)) 5 channels 48000Hz 0bits
[00007f3868001180] avi demux debug: selected standard index for stream[0]
[00007f3868001180] avi demux debug: selected standard index for stream[1]
[00007f3868001180] avi demux debug: stream[0] created 1457 index entries
[00007f3868001180] avi demux debug: stream[1] created 1444 index entries
[00007f3868001180] avi demux debug: stream[0] length:48 (based on index)
[00007f3868001180] avi demux debug: stream[1] length:48 (based on index)
[00007f3868001180] main demux debug: using demux module "avi"
[00007f3874000c90] main input debug: looking for a subtitle file in /home/shizuma/Videos/Audio tests/
[00007f3868c12cc0] main decoder debug: looking for video decoder module matching "any": 18 candidates
[0000563917e6eb10] qt interface debug: IM: Setting an input
[00007f3868c12cc0] avcodec decoder debug: using ffmpeg Lavc58.134.100
[00007f3868c12cc0] avcodec decoder debug: CPU flags: 0x080b5fdb
[00007f3868c12cc0] avcodec decoder debug: allowing 5 thread(s) for decoding
[00007f3868c12cc0] avcodec decoder debug: available software decoder output format 0 (yuv420p)
[00007f3868c12cc0] avcodec decoder debug: codec (msmpeg4) started
[00007f3868c12cc0] main decoder debug: using video decoder module "avcodec"
[00007f3868d77100] main packetizer debug: looking for packetizer module matching "any": 25 candidates
[00007f3868d77100] main packetizer debug: using packetizer module "a52"
[00007f3868d76870] main decoder debug: looking for audio decoder module matching "any": 17 candidates
[0000563917e18f50] main playlist debug: reusing audio output
[0000563917e5bb10] main audio output error: too low audio sample frequency (0)
[0000563917e18f50] main playlist debug: keeping audio output
[00007f3868d76870] main decoder error: failed to create audio output
[00007f3868d76870] avcodec decoder debug: using ffmpeg Lavc58.134.100
[00007f3868d76870] avcodec decoder debug: CPU flags: 0x080b5fdb
[00007f3868d76870] avcodec decoder debug: codec (ac3) started
[00007f3868d76870] main decoder debug: using audio decoder module "avcodec"
[00007f3868c08ca0] main demux meta debug: looking for meta reader module matching "any": 2 candidates
[00007f3868c08ca0] lua demux meta debug: Trying Lua scripts in /home/shizuma/.var/app/org.videolan.VLC/data/vlc/lua/meta/reader
[00007f3868c08ca0] lua demux meta debug: Trying Lua scripts in /app/lib/vlc/lua/meta/reader
[00007f3868c08ca0] lua demux meta debug: Trying Lua playlist script /app/lib/vlc/lua/meta/reader/filename.luac
[00007f3868c08ca0] lua demux meta debug: Trying Lua scripts in /app/share/vlc/lua/meta/reader
[00007f3868c08ca0] main demux meta debug: no meta reader modules matched
[00007f3874000c90] main input debug: `file:///home/shizuma/Videos/Audio%20tests/AC3%20Dolby%20Digital%205.1Ch%20Sound%20Test.mp4' successfully opened
[00007f3874000c90] main input debug: Buffering 0%
[00007f386c0016b0] main spu text debug: looking for text renderer module matching "any": 3 candidates
[00007f386c0016b0] freetype spu text debug: Building font databases.
[00007f3874000c90] main input debug: Buffering 2%
[00007f3868d77100] a52 packetizer debug: A/52 channels:6 samplerate:48000 bitrate:448000
[00007f3868d76870] main decoder debug: restarting module due to input format change
[00007f3868d76870] main decoder debug: removing module "avcodec"
[00007f3868d76870] main decoder debug: looking for audio decoder module matching "any": 17 candidates
[0000563917e18f50] main playlist debug: reusing audio output
[00007f3874000c90] main input debug: Buffering 5%
[00007f3874000c90] main input debug: Buffering 7%
[00007f3874000c90] main input debug: Buffering 10%
[00007f3874000c90] main input debug: Buffering 12%
[00007f3874000c90] main input debug: Buffering 15%
[00007f3874000c90] main input debug: Buffering 17%
[00007f3874000c90] main input debug: Buffering 20%
[00007f3874000c90] main input debug: Buffering 22%
[00007f3874000c90] main input debug: Buffering 25%
[00007f3874000c90] main input debug: Buffering 27%
[00007f3874000c90] main input debug: Buffering 30%
[00007f3874000c90] main input debug: Buffering 32%
[00007f3874000c90] main input debug: Buffering 35%
[00007f3874000c90] main input debug: Buffering 37%
[00007f3874000c90] main input debug: Buffering 40%
[00007f3874000c90] main input debug: Buffering 42%
[00007f3874000c90] main input debug: Buffering 45%
[00007f3874000c90] main input debug: Buffering 47%
[00007f3874000c90] main input debug: Buffering 50%
[00007f3874000c90] main input debug: Buffering 52%
[00007f3874000c90] main input debug: Buffering 55%
[00007f3874000c90] main input debug: Buffering 57%
[00007f3874000c90] main input debug: Buffering 60%
[00007f3874000c90] main input debug: Buffering 62%
[00007f3874000c90] main input debug: Buffering 65%
[00007f3874000c90] main input debug: Buffering 67%
[00007f3874000c90] main input debug: Buffering 70%
[00007f3874000c90] main input debug: Buffering 72%
[00007f3874000c90] main input debug: Buffering 75%
[00007f3874000c90] main input debug: Buffering 77%
[00007f3874000c90] main input debug: Buffering 80%
[00007f3874000c90] main input debug: Buffering 82%
[00007f3874000c90] main input debug: Buffering 85%
[00007f3874000c90] main input debug: Buffering 87%
[00007f3874000c90] main input debug: Buffering 90%
[00007f3874000c90] main input debug: Buffering 92%
[00007f3874000c90] main input debug: Buffering 95%
[00007f3874000c90] main input debug: Buffering 97%
[00007f3874000c90] main input debug: Buffering 100%
[00007f3874000c90] main input debug: Stream buffering done (1025 ms in 11 ms)
[00007f386c0016b0] freetype spu text debug: Took -30547 microseconds
[00007f386c0016b0] main spu text debug: using text renderer module "freetype"
[00007f386c01cfc0] main scale debug: looking for video converter module matching "any": 23 candidates
[00007f386c01cfc0] swscale scale debug: 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality)
[00007f386c01cfc0] main scale debug: using video converter module "swscale"
[00007f386c11f2d0] main scale debug: looking for video converter module matching "any": 23 candidates
[00007f386c11f2d0] yuvp scale debug: YUVP to YUVA converter
[00007f386c11f2d0] main scale debug: using video converter module "yuvp"
[00007f386c008ea0] main video output debug: Deinterlacing available
[00007f386c008ea0] main video output debug: deinterlace -1, mode auto, is_needed 0
[00007f386c01a150] main window debug: looking for vout window module matching "qt,any": 4 candidates
[00007f386c01a150] qt window debug: requesting video window...
[0000563917e5f3e0] dbus interface debug: Getting property CanSeek
[0000563917e5f3e0] dbus interface debug: Getting property Position
[0000563917e5f3e0] dbus interface debug: Getting property CanSeek
[0000563917e5f3e0] dbus interface debug: Getting property Position
[00007f386c01a150] main window debug: resized to 576x432
[00007f386c01a150] main window debug: using vout window module "qt"
[00007f386c043af0] main inhibit debug: looking for inhibit module matching "any": 2 candidates
[00007f386c01a150] main window debug: resized to 576x432
[00007f386c043af0] dbus_screensaver inhibit debug: found service org.freedesktop.ScreenSaver
[00007f386c043af0] main inhibit debug: using inhibit module "dbus_screensaver"
[00007f386c008ea0] main video output debug: Opening vout display wrapper
[00007f385c0013c0] main vout display debug: looking for vout display module matching "any": 11 candidates
[00007f385c0013c0] main vout display debug: VoutDisplayEvent 'resize' 576x432
[00007f385c0025d0] main gl debug: looking for opengl module matching "any": 2 candidates
[0000563917e6eb10] qt interface debug: Logical video size: 576x432
[00007f386c01a150] main window debug: resized to 576x432
[00007f385c0013c0] main vout display debug: VoutDisplayEvent 'resize' 576x432
[00007f385c0025d0] egl_x11 gl debug: EGL version 1.5 by Mesa Project
[00007f385c0025d0] egl_x11 gl debug:  extensions: EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_CHROMIUM_sync_control EGL_ANGLE_sync_control_rate EGL_EXT_buffer_age EGL_EXT_config_select_group EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_query_reset_notification_strategy EGL_EXT_swap_buffers_with_damage EGL_IMG_context_priority EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_KHR_swap_buffers_with_damage EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_gl_interop EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_MESA_x11_native_visual_id EGL_NOK_texture_from_pixmap EGL_WL_bind_wayland_display
[00007f385c0025d0] main gl debug: using opengl module "egl_x11"
[00007f385c0025d0] gl gl debug: MAP_PERSISTENT support (direct rendering) enabled
[00007f385c0013c0] main vout display debug: using vout display module "gl"
[00007f386c008ea0] main video output debug: original format sz 576x448, of (0,0), vsz 576x432, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
[0000563917e6eb10] qt interface debug: Logical video size: 576x432
[00007f386c0016b0] main spu text debug: removing module "freetype"
[00007f386c0016b0] main spu text debug: looking for text renderer module matching "any": 3 candidates
[00007f386c0016b0] freetype spu text debug: Building font databases.
[0000563917e5bb10] pulse audio output debug: changed buffer metrics: maxlength=4194304, tlength=23040, prebuf=0, minreq=7680
[0000563917e5bb10] pulse audio output debug: connected to sink alsa_output.pci-0000_00_14.2.iec958-stereo
[0000563917e5bb10] main audio output debug: output 'spdi' 48000 Hz Stereo frame=1 samples/4 bytes
[00007f38600016e0] main volume debug: looking for audio volume module matching "any": 2 candidates
[00007f38600016e0] main volume debug: no audio volume modules matched
[0000563917e5bb10] main audio output debug: input 'a52 ' 48000 Hz 3F2R/LFE frame=1536 samples/1792 bytes
[0000563917e5bb10] main audio output debug: pass-through: 'a52 '->'spdi' 48000 Hz->48000 Hz 3F2R/LFE->Stereo
[00007f3860001eb0] main audio converter debug: looking for audio converter module matching "any": 8 candidates
[00007f386c0016b0] freetype spu text debug: Took -24650 microseconds
[00007f3860001eb0] main audio converter debug: using audio converter module "tospdif"
[00007f3868d76870] main decoder debug: using audio decoder module "spdif"
[00007f386c0016b0] main spu text debug: using text renderer module "freetype"
[00007f3868c12cc0] main decoder debug: Received first picture
[00007f3874000c90] main input debug: Decoder wait done in 236 ms
[0000563917e5bb10] pulse audio output debug: cannot synchronize start
[0000563917e5bb10] pulse audio output debug: deferring start (9012 us)
[0000563917e5bb10] pulse audio output warning: starting late (-23085 us)
[0000563917e5bb10] pulse audio output debug: started
[0000563917e5bb10] pulse audio output debug: changing sink 58: alsa_output.pci-0000_00_14.2.iec958-stereo (Audio interne Stéréo numérique (IEC958))
[00007f385c0013c0] main vout display debug: auto hiding mouse cursor
[0000563917e5f3e0] dbus interface debug: Getting property Position
[0000563917e6eb10] qt interface debug: video widget is orphaned
[00007f386c01a150] qt window warning: orphaned video window
[0000563917d836d0] main libvlc debug: exiting
[0000563917d836d0] main libvlc debug: exiting
[0000563917d836d0] main libvlc debug: removing all interfaces
[0000563917e6eb10] main interface debug: removing module "qt"
[0000563917e18f50] main playlist debug: deactivating the playlist
[0000563917e18f50] main playlist debug: incoming request - stopping current input
[msmpeg4 @ 0x7f3868c21cc0] get_buffer() failed
[msmpeg4 @ 0x7f3868c21cc0] thread_get_buffer() failed
[msmpeg4 @ 0x7f3868c21cc0] get_buffer() failed (-12 (nil))
[00007f3868c12cc0] main decoder debug: killing decoder fourcc `DIV3'
[00007f3868c12cc0] main decoder debug: removing module "avcodec"
[0000563917e18f50] main playlist debug: saving a free vout
[0000563917e18f50] main playlist debug: reusing provided vout
[00007f3868d76870] main decoder debug: killing decoder fourcc `a52 '
[00007f3868d76870] main decoder debug: removing module "spdif"
[00007f3860001eb0] main audio converter debug: removing module "tospdif"
[0000563917e18f50] main playlist debug: keeping audio output
[00007f3868d77100] main packetizer debug: removing module "a52"
[00007f3868001180] main demux debug: removing module "avi"
[00007f3868c01f10] main stream debug: removing module "record"
[00007f3868001a90] main stream debug: removing module "cache_read"
[00007f38680016e0] main stream debug: removing module "filesystem"
[00007f3874000c90] main input debug: Program doesn't contain anymore ES
[0000563917e18f50] main playlist debug: dead input
[0000563917e18f50] main playlist debug: nothing to play
[00007f386c008ea0] main video output debug: destroying useless vout
[00007f385c0013c0] main vout display debug: removing module "gl"
[00007f385c0025d0] main gl debug: removing module "egl_x11"
[0000563917e5bb10] pulse audio output debug: changing sink 58: alsa_output.pci-0000_00_14.2.iec958-stereo (Audio interne Stéréo numérique (IEC958))
[00007f386c043af0] dbus_screensaver inhibit debug: got cookie 917478364
[00007f386c043af0] main inhibit debug: removing module "dbus_screensaver"
[00007f386c01a150] qt window debug: releasing video...
[0000563917e6eb10] qt interface debug: IM: Deleting the input
[0000563917e5bb10] pulse audio output debug: changing sink 58: alsa_output.pci-0000_00_14.2.iec958-stereo (Audio interne Stéréo numérique (IEC958))
[0000563917e5bb10] pulse audio output debug: changing sink 58: alsa_output.pci-0000_00_14.2.iec958-stereo (Audio interne Stéréo numérique (IEC958))
[0000563917e6eb10] qt interface debug: video widget is released
[00007f386c0016b0] main spu text debug: removing module "freetype"
[00007f386c11f2d0] main scale debug: removing module "yuvp"
[00007f386c01cfc0] main scale debug: removing module "swscale"
[0000563917e5bb10] main audio output debug: removing module "pulse"
[0000563917e6eb10] qt interface debug: requesting exit...
[0000563917e6eb10] qt interface debug: waiting for UI thread...
[0000563917e6eb10] qt interface debug: QApp exec() finished
[0000563917e6eb10] qt interface debug: video widget is orphaned
[0000563917e6eb10] qt interface debug: Killing extension dialog provider
[0000563917e6eb10] qt interface debug: ExtensionsDialogProvider is quitting...
[00007f38c83ae5d0] main generic debug: removing module "lua"
[0000563917e6cdd0] main interface debug: removing module "xcb_hotkeys"
[0000563917e6c3e0] main interface debug: removing module "hotkeys"
[0000563917e5f3e0] main interface debug: removing module "dbus"
[0000563917e18f50] main playlist debug: destroying
[0000563917e5cca0] main playlist export debug: saving media library to file /home/shizuma/.var/app/org.videolan.VLC/data/vlc/ml.xspf.tmp2
[0000563917e5cca0] main playlist export debug: looking for playlist export module matching "export-xspf": 4 candidates
[0000563917e5cca0] main playlist export debug: using playlist export module "export"
[0000563917e5cca0] main playlist export debug: removing module "export"
[0000563917e18f50] main playlist debug: deleting item `Médiathèque'
[0000563917e18f50] main playlist debug: deleting item `AC3 Dolby Digital 5.1Ch Sound Test.mp4'
[0000563917e18f50] main playlist debug: deleting item `Liste de lecture'
[0000563917e1fd40] main keystore debug: removing module "memory"

5.1
Code:
$ mpv  -v Videos/Audio\ tests/AC3\ Dolby\ Digital\ 5.1Ch\ Sound\ Test.mp4
[cplayer] Command line options: '-v' 'Videos/Audio tests/AC3 Dolby Digital 5.1Ch Sound Test.mp4'
[cplayer] mpv v0.38.0 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
[cplayer] libplacebo version: v7.349.0 (v7.349.0)
[cplayer] FFmpeg version: n7.0.2
[cplayer] FFmpeg library versions:
[cplayer]    libavutil       59.8.100
[cplayer]    libavcodec      61.3.100
[cplayer]    libavformat     61.1.100
[cplayer]    libswscale      8.1.100
[cplayer]    libavfilter     10.1.100
[cplayer]    libswresample   5.1.100
[cplayer]
[cplayer] Configuration: -Dbuild-date=false -Dlibmpv=true -Dmanpage-build=disabled -Dcdda=enabled -Ddvbin=enabled -Ddvdnav=enabled -Dlibarchive=enabled -Dsdl2=enabled -Dvulkan=enabled -Dvulkan-interop=enabled -Dprefix=/app -Dlibdir=/app/lib
[cplayer] List of enabled features: alsa av-channel-layout avif-muxer cdda cplugins cuda-hwaccel cuda-interop debug dmabuf-interop-gl dmabuf-wayland drm dvbin dvdnav egl egl-drm egl-wayland egl-x11 ffmpeg ffnvcodec gbm gl glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg jpegxl lavu-uuid lcms2 libarchive libass libavdevice libbluray libdl libplacebo linux-fstatfs luajit memfd-create pipewire posix posix-shm ppoll pthread-condattr-setclock pulse rubberband rubberband-3 sdl2 sdl2-audio sdl2-gamepad sdl2-video sixel uchardet vaapi vaapi-drm vaapi-wayland vaapi-x11 vapoursynth vdpau vector vk-khr-display vt.h vulkan vulkan-interop wayland wayland-protocols-1-27 wayland-protocols-1-31 wayland-protocols-1-32 x11 xv zimg zimg-st428 zlib
[cplayer] Reading config file /app/etc/mpv/encoding-profiles.conf
[ifo_dvdnav] Opening /app/etc/mpv/encoding-profiles.conf
[bdmv/bluray] Opening /app/etc/mpv/encoding-profiles.conf
[file] Opening /app/etc/mpv/encoding-profiles.conf
[cplayer] Applying profile 'default'...
[cplayer] Reading config file /app/etc/mpv/mpv.conf
[ifo_dvdnav] Opening /app/etc/mpv/mpv.conf
[bdmv/bluray] Opening /app/etc/mpv/mpv.conf
[file] Opening /app/etc/mpv/mpv.conf
[cplayer] Applying profile 'default'...
[cplayer] Setting option 'screenshot-directory' = '~/.var/app/io.mpv.Mpv/Pictures/mpv' (flags = 4)
[cplayer] Reading config file /home/shizuma/.var/app/io.mpv.Mpv/config/mpv/mpv.conf
[ifo_dvdnav] Opening /home/shizuma/.var/app/io.mpv.Mpv/config/mpv/mpv.conf
[bdmv/bluray] Opening /home/shizuma/.var/app/io.mpv.Mpv/config/mpv/mpv.conf
[file] Opening /home/shizuma/.var/app/io.mpv.Mpv/config/mpv/mpv.conf
[cplayer] Applying profile 'default'...
[cplayer] Setting option 'audio-device' = 'alsa/iec958:CARD=Generic,DEV=0' (flags = 4)
[cplayer] Setting option 'audio-spdif' = 'ac3,dts,pcm' (flags = 4)
[cplayer] Setting option 'audio-channels' = '5.1' (flags = 4)
[cplayer] Setting option 'v' = '' (flags = 8)
[cplayer] Waiting for scripts...
[cplayer] Set property: user-data/osc/visibility="auto" -> 1
[cplayer] Set property: user-data/osc/margins={"b":0,"l":0,"t":0,"r":0} -> 1
[cplayer] Set property: user-data/osc/margins={"b":0,"l":0,"t":0,"r":0} -> 1
[cplayer] Set property: user-data/osc/margins={"b":0,"l":0,"t":0,"r":0} -> 1
[osd/libass] libass API version: 0x1703000
[osd/libass] libass source: commit: 0.17.3-0-ge46aedea0a0d17da4c4ef49d84b94a7994664ab5
[osd/libass] Shaper: FriBidi 1.0.15 (SIMPLE) HarfBuzz-ng 8.1.1 (COMPLEX)
[osd/libass] Setting up fonts...
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[cplayer] Done loading scripts.
[cplayer] Running hook: auto_profiles/on_before_start_file
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] ytdl:// hook
[ytdl_hook] not a ytdl:// url
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] playlist hook
[cplayer] Running hook: auto_profiles/on_load
[ifo_dvdnav] Opening Videos/Audio tests/AC3 Dolby Digital 5.1Ch Sound Test.mp4
[bdmv/bluray] Opening Videos/Audio tests/AC3 Dolby Digital 5.1Ch Sound Test.mp4
[file] Opening Videos/Audio tests/AC3 Dolby Digital 5.1Ch Sound Test.mp4
[demux] Trying demuxers for level=normal.
[lavf] Found 'avi' at score=100 size=2048.
[file] stream level seek from 131072 to 14983242
[file] stream level seek from 15030272 to 10252
[file] stream level seek from 141324 to 14983250
[file] stream level seek from 15030272 to 10252
[lavf] avformat_find_stream_info() finished after 43020 bytes.
[demux] Detected file format: avi (libavformat)
[cplayer] Opening done: Videos/Audio tests/AC3 Dolby Digital 5.1Ch Sound Test.mp4
[find_files] Loading external files in Videos/Audio tests/
[cplayer] Running hook: ytdl_hook/on_preloaded
[cplayer] Running hook: auto_profiles/on_preloaded
[lavf] select track 0
[lavf] select track 1
[cplayer]  (+) Video --vid=1 (msmpeg4v3 576x432 29.970fps)
[cplayer]  (+) Audio --aid=1 (ac3 6ch 48000Hz)
[vo/gpu] Probing for best GPU context.
[vo/gpu/opengl] Initializing GPU context 'wayland'
[vo/gpu/opengl] Initializing GPU context 'x11egl'
[vo/gpu/x11] X11 opening display: :0
[vo/gpu/x11] Display 0 (DVI-D-0): [0, 0, 1920, 1080] @ 60.000000 FPS
[vo/gpu/x11] Display 1 (VGA-0): [0, 0, 1920, 1080] @ 59.993722 FPS
[vo/gpu/x11] Current display FPS: 60.000000
[vo/gpu/opengl] EGL_VERSION=1.5
[vo/gpu/opengl] EGL_VENDOR=Mesa Project
[vo/gpu/opengl] EGL_CLIENT_APIS=OpenGL OpenGL_ES
[vo/gpu/opengl] Trying to create Desktop OpenGL context.
[vo/gpu/opengl] Choosing visual EGL config 0x11, visual ID 0x21
[vo/gpu/x11] The XPresent extension was found.
[vo/gpu/x11] XPresent enabled.
[vo/gpu/opengl] GL_VERSION='4.6 (Core Profile) Mesa 24.1.3 (git-0c49f54c76)'
[vo/gpu/opengl] Detected desktop OpenGL 4.6.
[vo/gpu/opengl] GL_VENDOR='AMD'
[vo/gpu/opengl] GL_RENDERER='AMD Radeon R7 Graphics (radeonsi, kaveri, LLVM 17.0.6, DRM 3.57, 6.8.7-300.fc40.x86_64)'
[vo/gpu/opengl] GL_SHADING_LANGUAGE_VERSION='4.60'
[vo/gpu/opengl] Loaded extension GL_NV_vdpau_interop.
[vo/gpu/opengl] Loaded extension GL_KHR_debug.
[vo/gpu] Testing FBO format rgba16f
[vo/gpu] Using FBO format rgba16f.
[vo/gpu] Assuming 60.000000 FPS for display sync.
[vd] Container reported FPS: 29.970000
[vd] Codec list:
[vd]     msmpeg4 (msmpeg4v3) - MPEG-4 part 2 Microsoft variant version 3
[vd] Opening decoder msmpeg4
[vd] No hardware decoding requested.
[vd] Using software decoding.
[vd] Detected 4 logical cores.
[vd] Requesting 5 threads for decoding.
[vd] Selected codec: MPEG-4 part 2 Microsoft variant version 3
[vf] User filter list:
[vf]   (empty)
[ad] Codec list:
[ad]     spdif_ac3 (ac3) - libavformat/spdifenc audio pass-through decoder
[ad] Opening decoder spdif_ac3
[ad] Selected codec: libavformat/spdifenc audio pass-through decoder
[af] User filter list:
[af]   (empty)
[cplayer] Starting playback...
[cplayer] Set property: user-data/osc/margins={"b":0,"l":0,"t":0,"r":0} -> 1
[osd/libass] libass API version: 0x1703000
[osd/libass] libass source: commit: 0.17.3-0-ge46aedea0a0d17da4c4ef49d84b94a7994664ab5
[osd/libass] Shaper: FriBidi 1.0.15 (SIMPLE) HarfBuzz-ng 8.1.1 (COMPLEX)
[osd/libass] Setting up fonts...
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[vd] Using software decoding.
[vd] Decoder format: 576x432 [0:1] yuv420p auto/auto/auto/auto/auto CL=unknown crop=576x432+0+0
[vf] [in] 576x432 yuv420p bt.601/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=576x432+0+0
[vf] [userdeint] 576x432 yuv420p bt.601/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=576x432+0+0
[vf] [userdeint] (disabled)
[vf] [autorotate] 576x432 yuv420p bt.601/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=576x432+0+0
[vf] [autorotate] (disabled)
[vf] [convert] 576x432 yuv420p bt.601/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=576x432+0+0
[vf] [convert] (disabled)
[vf] [out] 576x432 yuv420p bt.601/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=576x432+0+0
[ad] In: profile=-99 samplerate=48000
[af] [in] 48000Hz stereo 2ch spdif-ac3
[af] [userspeed] 48000Hz stereo 2ch spdif-ac3
[af] [userspeed] (disabled)
[af] [convert] 48000Hz stereo 2ch spdif-ac3
[ao] Trying audio driver 'alsa'
[ao] Using preferred device 'iec958:CARD=Generic,DEV=0'
[ao/alsa] requested format: 48000 Hz, stereo channels, spdif-ac3
[ao/alsa] using ALSA version: 1.2.9
[ao/alsa] opening device 'iec958:CARD=Generic,DEV=0' => 'iec958:CARD=Generic,DEV=0,AES0=6,AES1=130,AES2=0,AES3=2'
[ao/alsa] trying format s16/2
[ao/alsa] channel map reported by ALSA: FL FR
[ao/alsa] which we understand as: stereo
[ao/alsa] using spdif passthrough; ignoring the channel map.
[ao/alsa] hw pausing supported: yes
[ao/alsa] buffersize: 4800 samples
[ao/alsa] period size: 960 samples
[ao/alsa] device buffer: 4800 samples.
[ao/alsa] using soft-buffer of 10752 samples.
[cplayer] AO: [alsa] 48000Hz stereo 2ch spdif-ac3
[cplayer] AO: Description: ALSA audio output
[af] [convert] (disabled)
[af] [out] 48000Hz stereo 2ch spdif-ac3
[cplayer] VO: [gpu] 576x432 yuv420p
[cplayer] VO: Description: Shader-based GPU Renderer
[vo/gpu] reconfig to 576x432 yuv420p bt.601/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=576x432+0+0
[vo/gpu/x11] not waiting for MapNotify
[vo/gpu/x11] Current display FPS: 59.993722
[vo/gpu] Resize: 576x432
[vo/gpu] Window size: 576x432 (Borders: l=0 t=0 r=0 b=0)
[vo/gpu] Video source: 576x432 (1:1)
[vo/gpu] Video display: (0, 0) 576x432 -> (0, 0) 576x432
[vo/gpu] Video scale: 1.000000/1.000000
[vo/gpu] OSD borders: l=0 t=0 r=0 b=0
[vo/gpu] Video borders: l=0 t=0 r=0 b=0
[vo/gpu] Reported display depth: 8
[vo/gpu] Texture for plane 0: 576x432
[vo/gpu] Texture for plane 1: 288x216
[vo/gpu] Texture for plane 2: 288x216
[vo/gpu] Testing FBO format rgba16f
[vo/gpu] Using FBO format rgba16f.
[vo/gpu] Assuming 59.993722 FPS for display sync.
[vo/gpu] DR enabled: yes
[vo/gpu] Dither to 8.
[cplayer] first video frame after restart shown
[cplayer] Set property: user-data/osc/margins={"b":0,"l":0,"t":0,"r":0} -> 1
[cplayer] audio ready
[cplayer] starting audio playback
[cplayer] playback restart complete @ 0.000000, audio=playing, video=playing
[ao/alsa] starting AO
[vo/gpu/x11] Disabling screensaver.
[cplayer] Set property: user-data/osc/margins={"b":0,"l":0,"t":0,"r":0} -> 1
[cplayer] Set property: panscan -> 1
[osd/libass] libass API version: 0x1703000
[osd/libass] libass source: commit: 0.17.3-0-ge46aedea0a0d17da4c4ef49d84b94a7994664ab5
[osd/libass] Shaper: FriBidi 1.0.15 (SIMPLE) HarfBuzz-ng 8.1.1 (COMPLEX)
[osd/libass] Setting up fonts...
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[osd/libass] fontselect: (sans-serif, 400, 0) -> /usr/share/fonts/dejavu/DejaVuSans.ttf, 0, DejaVuSans
[vo/gpu] Reallocating OSD texture to 512x64.
[vo/gpu] Reallocating OSD texture to 512x128.
[cplayer] EOF code: 5 
[vo/gpu/x11] Enabling screensaver.
[cplayer] Set property: user-data/osc/margins={"b":0,"l":0,"t":0,"r":0} -> 1
[statusline] AV: 00:00:33 / 00:00:48 (69%) A-V:  0.000
[cplayer] finished playback, success (reason 3)
[cplayer] Exiting... (Quit)

5.1
Code:
$ mpv  -v Videos/Audio\ tests/DTS\ 5.1.wav
[cplayer] Command line options: '-v' 'Videos/Audio tests/DTS 5.1.wav'
[cplayer] mpv v0.38.0 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
[cplayer] libplacebo version: v7.349.0 (v7.349.0)
[cplayer] FFmpeg version: n7.0.2
[cplayer] FFmpeg library versions:
[cplayer]    libavutil       59.8.100
[cplayer]    libavcodec      61.3.100
[cplayer]    libavformat     61.1.100
[cplayer]    libswscale      8.1.100
[cplayer]    libavfilter     10.1.100
[cplayer]    libswresample   5.1.100
[cplayer]
[cplayer] Configuration: -Dbuild-date=false -Dlibmpv=true -Dmanpage-build=disabled -Dcdda=enabled -Ddvbin=enabled -Ddvdnav=enabled -Dlibarchive=enabled -Dsdl2=enabled -Dvulkan=enabled -Dvulkan-interop=enabled -Dprefix=/app -Dlibdir=/app/lib
[cplayer] List of enabled features: alsa av-channel-layout avif-muxer cdda cplugins cuda-hwaccel cuda-interop debug dmabuf-interop-gl dmabuf-wayland drm dvbin dvdnav egl egl-drm egl-wayland egl-x11 ffmpeg ffnvcodec gbm gl glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg jpegxl lavu-uuid lcms2 libarchive libass libavdevice libbluray libdl libplacebo linux-fstatfs luajit memfd-create pipewire posix posix-shm ppoll pthread-condattr-setclock pulse rubberband rubberband-3 sdl2 sdl2-audio sdl2-gamepad sdl2-video sixel uchardet vaapi vaapi-drm vaapi-wayland vaapi-x11 vapoursynth vdpau vector vk-khr-display vt.h vulkan vulkan-interop wayland wayland-protocols-1-27 wayland-protocols-1-31 wayland-protocols-1-32 x11 xv zimg zimg-st428 zlib
[cplayer] Reading config file /app/etc/mpv/encoding-profiles.conf
[ifo_dvdnav] Opening /app/etc/mpv/encoding-profiles.conf
[bdmv/bluray] Opening /app/etc/mpv/encoding-profiles.conf
[file] Opening /app/etc/mpv/encoding-profiles.conf
[cplayer] Applying profile 'default'...
[cplayer] Reading config file /app/etc/mpv/mpv.conf
[ifo_dvdnav] Opening /app/etc/mpv/mpv.conf
[bdmv/bluray] Opening /app/etc/mpv/mpv.conf
[file] Opening /app/etc/mpv/mpv.conf
[cplayer] Applying profile 'default'...
[cplayer] Setting option 'screenshot-directory' = '~/.var/app/io.mpv.Mpv/Pictures/mpv' (flags = 4)
[cplayer] Reading config file /home/shizuma/.var/app/io.mpv.Mpv/config/mpv/mpv.conf
[ifo_dvdnav] Opening /home/shizuma/.var/app/io.mpv.Mpv/config/mpv/mpv.conf
[bdmv/bluray] Opening /home/shizuma/.var/app/io.mpv.Mpv/config/mpv/mpv.conf
[file] Opening /home/shizuma/.var/app/io.mpv.Mpv/config/mpv/mpv.conf
[cplayer] Applying profile 'default'...
[cplayer] Setting option 'audio-device' = 'alsa/iec958:CARD=Generic,DEV=0' (flags = 4)
[cplayer] Setting option 'audio-spdif' = 'ac3,dts,pcm' (flags = 4)
[cplayer] Setting option 'audio-channels' = '5.1' (flags = 4)
[cplayer] Setting option 'v' = '' (flags = 8)
[cplayer] Waiting for scripts...
[cplayer] Set property: user-data/osc/visibility="auto" -> 1
[cplayer] Set property: user-data/osc/margins={"t":0,"r":0,"b":0,"l":0} -> 1
[cplayer] Set property: user-data/osc/margins={"t":0,"r":0,"b":0,"l":0} -> 1
[cplayer] Set property: user-data/osc/margins={"t":0,"r":0,"b":0,"l":0} -> 1
[osd/libass] libass API version: 0x1703000
[osd/libass] libass source: commit: 0.17.3-0-ge46aedea0a0d17da4c4ef49d84b94a7994664ab5
[osd/libass] Shaper: FriBidi 1.0.15 (SIMPLE) HarfBuzz-ng 8.1.1 (COMPLEX)
[osd/libass] Setting up fonts...
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[cplayer] Done loading scripts.
[cplayer] Running hook: auto_profiles/on_before_start_file
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] ytdl:// hook
[ytdl_hook] not a ytdl:// url
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] playlist hook
[cplayer] Running hook: auto_profiles/on_load
[ifo_dvdnav] Opening Videos/Audio tests/DTS 5.1.wav
[bdmv/bluray] Opening Videos/Audio tests/DTS 5.1.wav
[file] Opening Videos/Audio tests/DTS 5.1.wav
[demux] Trying demuxers for level=normal.
[lavf] Found 'wav' at score=99 size=2048.
[lavf] avformat_find_stream_info() finished after 229376 bytes.
[demux] Detected file format: wav (libavformat)
[cplayer] Opening done: Videos/Audio tests/DTS 5.1.wav
[find_files] Loading external files in Videos/Audio tests/
[cplayer] Running hook: ytdl_hook/on_preloaded
[cplayer] Running hook: auto_profiles/on_preloaded
[lavf] select track 0
[cplayer]  (+) Audio --aid=1 (dts 6ch 44100Hz)
[ad] Codec list:
[ad]     spdif_dts (dts) - libavformat/spdifenc audio pass-through decoder
[ad] Opening decoder spdif_dts
[ad] Selected codec: libavformat/spdifenc audio pass-through decoder
[af] User filter list:
[af]   (empty)
[cplayer] Starting playback...
[ad] In: profile=20 samplerate=44100
[af] [in] 44100Hz stereo 2ch spdif-dts
[af] [userspeed] 44100Hz stereo 2ch spdif-dts
[af] [userspeed] (disabled)
[af] [convert] 44100Hz stereo 2ch spdif-dts
[ao] Trying audio driver 'alsa'
[ao] Using preferred device 'iec958:CARD=Generic,DEV=0'
[ao/alsa] requested format: 44100 Hz, stereo channels, spdif-dts
[ao/alsa] using ALSA version: 1.2.9
[ao/alsa] opening device 'iec958:CARD=Generic,DEV=0' => 'iec958:CARD=Generic,DEV=0,AES0=6,AES1=130,AES2=0,AES3=0'
[ao/alsa] trying format s16/2
[ao/alsa] channel map reported by ALSA: FL FR
[ao/alsa] which we understand as: stereo
[ao/alsa] using spdif passthrough; ignoring the channel map.
[ao/alsa] hw pausing supported: yes
[ao/alsa] buffersize: 4416 samples
[ao/alsa] period size: 1472 samples
[ao/alsa] device buffer: 4416 samples.
[ao/alsa] using soft-buffer of 9216 samples.
[cplayer] AO: [alsa] 44100Hz stereo 2ch spdif-dts
[cplayer] AO: Description: ALSA audio output
[af] [convert] (disabled)
[af] [out] 44100Hz stereo 2ch spdif-dts
[cplayer] audio ready
[cplayer] starting audio playback
[cplayer] playback restart complete @ 0.000000, audio=playing, video=eof
[ao/alsa] starting AO
[cplayer] Set property: user-data/osc/margins={"t":0,"r":0,"b":0,"l":0} -> 1
[lavf] EOF reached.
[af] filter input EOF
[af] filter output EOF
[cplayer] audio filter EOF
[cplayer] audio draining
[cplayer] audio EOF reached
[cplayer] EOF code: 1 
[statusline] A: 00:00:08 / 00:00:08 (96%)
[cplayer] finished playback, success (reason 0)
[cplayer] Exiting... (End of file)
[cplayer] draining left over audio
[ao/alsa] audio end or underrun
[ao/alsa] attempt 1 to recover from state 'XRUN'...
[ao/alsa] audio end or underrun

5.1
Code:
$ vlc  --verbose 2 Videos/Audio\ tests/DTS\ 5.1.wav
VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
[0000556babe796d0] main libvlc debug: VLC media player - 3.0.21 Vetinari
[0000556babe796d0] main libvlc debug: Copyright © 1996-2024 the VideoLAN team
[0000556babe796d0] main libvlc debug: revision 3.0.21-0-gdd8bfdbabe8
[0000556babe796d0] main libvlc debug: configured with ./configure  '--prefix=/app' 'BUILDCC=/usr/bin/gcc -std=gnu99' '--disable-a52' 'CFLAGS=-O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer ' 'LDFLAGS=-L/app/lib -Wl,-z,relro,-z,now -Wl,--as-needed ' 'CXXFLAGS=-O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer ' 'PKG_CONFIG_PATH=/app/lib/pkgconfig:/app/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig'
[0000556babe796d0] main libvlc debug: searching plug-in modules
[0000556babe796d0] main libvlc debug: loading plugins cache file /app/lib/vlc/plugins/plugins.dat
[0000556babe796d0] main libvlc debug: recursively browsing `/app/lib/vlc/plugins'
[0000556babe796d0] main libvlc debug: plug-ins loaded: 512 modules
[0000556babe796d0] main libvlc debug: opening config file (/home/shizuma/.var/app/org.videolan.VLC/config/vlc/vlcrc)
[0000556babe79a20] main logger debug: looking for logger module matching "any": 4 candidates
[0000556babe79a20] main logger debug: using logger module "console"
[0000556babe796d0] main libvlc debug: translation test: code is "fr"
[0000556babf15d40] main keystore debug: looking for keystore module matching "memory": 4 candidates
[0000556babf15d40] main keystore debug: using keystore module "memory"
[0000556babe796d0] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 SSE4A AVX XOP FMA4 FPU
[0000556babf118d0] main input debug: Creating an input for 'Médiathèque'
[0000556babf118d0] main input debug: Input is a meta file: disabling unneeded options
[0000556babf118d0] main input debug: using timeshift granularity of 50 MiB
[0000556babf118d0] main input debug: using default timeshift path
[0000556babf118d0] main input debug: `file/directory:///home/shizuma/.var/app/org.videolan.VLC/data/vlc/ml.xspf' gives access `file' demux `directory' path `/home/shizuma/.var/app/org.videolan.VLC/data/vlc/ml.xspf'
[0000556babf23ab0] main input source debug: creating demux: access='file' demux='directory' location='/home/shizuma/.var/app/org.videolan.VLC/data/vlc/ml.xspf' file='/home/shizuma/.var/app/org.videolan.VLC/data/vlc/ml.xspf'
[0000556babf23c50] main demux debug: looking for access_demux module matching "file": 20 candidates
[0000556babf23c50] main demux debug: no access_demux modules matched
[0000556babf33050] main stream debug: creating access: file:///home/shizuma/.var/app/org.videolan.VLC/data/vlc/ml.xspf
[0000556babf33050] main stream debug:  (path: /home/shizuma/.var/app/org.videolan.VLC/data/vlc/ml.xspf)
[0000556babf33050] main stream debug: looking for access module matching "file": 29 candidates
[0000556babf33050] main stream debug: using access module "filesystem"
[0000556babf341d0] main stream debug: looking for stream_filter module matching "prefetch,cache_read": 26 candidates
[0000556babf341d0] cache_read stream debug: Using stream method for AStream*
[0000556babf341d0] cache_read stream debug: starting pre-buffering
[0000556babf341d0] cache_read stream debug: received first data after 0 ms
[0000556babf341d0] cache_read stream debug: pre-buffering done 296 bytes in 0s - 9635 KiB/s
[0000556babf341d0] main stream debug: using stream_filter module "cache_read"
[0000556babf35180] main stream debug: looking for stream_filter module matching "any": 26 candidates
[0000556babf35180] playlist stream debug: using XSPF playlist reader
[0000556babf35180] main stream debug: using stream_filter module "playlist"
[0000556babf35180] main stream debug: stream filter added to 0x556babf341d0
[0000556babf4a9b0] main stream debug: looking for stream_filter module matching "any": 26 candidates
[0000556babf4a9b0] main stream debug: no stream_filter modules matched
[0000556babf4b9e0] main stream_directory debug: looking for stream_directory module matching "any": 1 candidates
[0000556babf4b9e0] main stream_directory debug: no stream_directory modules matched
[0000556babf23ab0] main input source debug: attachment of directory-extractor failed for file:///home/shizuma/.var/app/org.videolan.VLC/data/vlc/ml.xspf
[0000556babf4a9b0] main stream debug: looking for stream_filter module matching "record": 26 candidates
[0000556babf4a9b0] main stream debug: using stream_filter module "record"
[0000556babf23ab0] main input source debug: creating demux: access='file' demux='directory' location='/home/shizuma/.var/app/org.videolan.VLC/data/vlc/ml.xspf' file='/home/shizuma/.var/app/org.videolan.VLC/data/vlc/ml.xspf'
[0000556babf23c50] main demux debug: looking for demux module matching "directory": 53 candidates
[0000556babf23c50] main demux debug: using demux module "directory"
[0000556babf4e640] main demux meta debug: looking for meta reader module matching "any": 2 candidates
[0000556babf4e640] lua demux meta debug: Trying Lua scripts in /home/shizuma/.var/app/org.videolan.VLC/data/vlc/lua/meta/reader
[0000556babf4e640] lua demux meta debug: Trying Lua scripts in /app/lib/vlc/lua/meta/reader
[0000556babf4e640] lua demux meta debug: Trying Lua playlist script /app/lib/vlc/lua/meta/reader/filename.luac
[0000556babf4e640] lua demux meta debug: Trying Lua scripts in /app/share/vlc/lua/meta/reader
[0000556babf4e640] main demux meta debug: no meta reader modules matched
[0000556babf118d0] main input debug: `file/directory:///home/shizuma/.var/app/org.videolan.VLC/data/vlc/ml.xspf' successfully opened
[0000556babf51e80] main xml reader debug: looking for xml reader module matching "any": 1 candidates
[0000556babf51e80] main xml reader debug: using xml reader module "xml"
[0000556babf118d0] main input debug: EOF reached
[0000556babf23c50] main demux debug: removing module "directory"
[0000556babf4a9b0] main stream debug: removing module "record"
[0000556babf35180] main stream debug: removing module "playlist"
[0000556babf341d0] main stream debug: removing module "cache_read"
[0000556babf33050] main stream debug: removing module "filesystem"
[0000556babf0ef50] main playlist debug: creating audio output
[0000556babf51b10] main audio output debug: looking for audio output module matching "any": 6 candidates
[0000556babf51b10] vlcpulse audio output debug: using library version 17.0.0
[0000556babf51b10] vlcpulse audio output debug:  (compiled with version 17.0.0, protocol 35)
[0000556babf51b10] vlcpulse audio output debug: connected locally to unix:/run/flatpak/pulse/native as client #858
[0000556babf51b10] vlcpulse audio output debug: using protocol 35, server protocol 35
[0000556babf51b10] pulse audio output debug: adding sink 49: alsa_output.pci-0000_00_01.1.iec958-ac3-surround-51 (Audio interne Surround numérique 5.1 (IEC958/AC3))
[0000556babf51b10] pulse audio output debug: adding sink 58: alsa_output.pci-0000_00_14.2.iec958-stereo (Audio interne Stéréo numérique (IEC958))
[0000556babf51b10] pulse audio output debug: adding sink 84: easyeffects_sink (Easy Effects Sink)
[0000556babf51b10] main audio output debug: using audio output module "pulse"
[0000556babf0ef50] main playlist debug: keeping audio output
[0000556babf553f0] main interface debug: looking for interface module matching "dbus,none": 18 candidates
[0000556babf553f0] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc
[0000556babf553f0] main interface debug: using interface module "dbus"
[0000556babf62380] main interface debug: looking for interface module matching "hotkeys,none": 18 candidates
[00007efd10000c30] main input debug: Creating an input for preparsing 'DTS 5.1.wav'
[0000556babf62380] main interface debug: using interface module "hotkeys"
[0000556babf62fb0] main interface debug: looking for interface module matching "globalhotkeys,none": 18 candidates
[0000556babf62fb0] main interface debug: using interface module "xcb_hotkeys"
[0000556babe796d0] main libvlc: Lancement de vlc avec l’interface par défaut. Utiliser « cvlc » pour démarrer VLC sans interface.
[0000556babf64ce0] main interface debug: looking for interface module matching "any": 18 candidates
[0000556babf553f0] dbus interface debug: Getting All properties
[0000556babf553f0] dbus interface debug: Getting All properties
[0000556babf553f0] dbus interface debug: Getting All properties
[0000556babf553f0] dbus interface debug: Getting All properties
[0000556babf553f0] dbus interface debug: Getting All properties
[0000556babf553f0] dbus interface debug: Getting All properties
[0000556babf553f0] dbus interface debug: Getting All properties
[0000556babf553f0] dbus interface debug: Getting All properties
[0000556babf553f0] dbus interface debug: Getting All properties
[0000556babf553f0] dbus interface debug: Getting All properties
[0000556babf553f0] dbus interface debug: Getting All properties
[0000556babf553f0] dbus interface debug: Getting All properties
[0000556babf553f0] dbus interface debug: Getting All properties
[0000556babf553f0] dbus interface debug: Getting All properties
[0000556babf553f0] dbus interface debug: Getting All properties
[0000556babf553f0] dbus interface debug: Getting All properties
[0000556babf553f0] dbus interface debug: Getting All properties
[0000556babf553f0] dbus interface debug: Getting All properties
[0000556babf553f0] dbus interface debug: Getting All properties
[0000556babf553f0] dbus interface debug: Getting All properties
[0000556babf553f0] dbus interface debug: Getting All properties
[00007efcf8000c30] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates
[00007efcf8000c30] lua meta fetcher debug: Trying Lua scripts in /home/shizuma/.var/app/org.videolan.VLC/data/vlc/lua/meta/fetcher
[00007efcf8000c30] lua meta fetcher debug: Trying Lua scripts in /app/lib/vlc/lua/meta/fetcher
[00007efcf8000c30] lua meta fetcher debug: Trying Lua scripts in /app/share/vlc/lua/meta/fetcher
[00007efcf8000c30] main meta fetcher debug: no meta fetcher modules matched
[00007efcf8000c30] main art finder debug: looking for art finder module matching "any": 2 candidates
[00007efcf8000c30] lua art finder debug: Trying Lua scripts in /home/shizuma/.var/app/org.videolan.VLC/data/vlc/lua/meta/art
[00007efcf8000c30] lua art finder debug: Trying Lua scripts in /app/lib/vlc/lua/meta/art
[00007efcf8000c30] lua art finder debug: Trying Lua playlist script /app/lib/vlc/lua/meta/art/00_musicbrainz.luac
[00007efcf8000c30] lua art finder debug: skipping script (unmatched scope) /app/lib/vlc/lua/meta/art/00_musicbrainz.luac
[00007efcf8000c30] lua art finder debug: Trying Lua playlist script /app/lib/vlc/lua/meta/art/01_googleimage.luac
[00007efcf8000c30] lua art finder debug: skipping script (unmatched scope) /app/lib/vlc/lua/meta/art/01_googleimage.luac
[00007efcf8000c30] lua art finder debug: Trying Lua playlist script /app/lib/vlc/lua/meta/art/02_frenchtv.luac
[00007efcf8000c30] lua art finder debug: skipping script (unmatched scope) /app/lib/vlc/lua/meta/art/02_frenchtv.luac
[00007efcf8000c30] lua art finder debug: Trying Lua playlist script /app/lib/vlc/lua/meta/art/03_lastfm.luac
[00007efcf8000c30] lua art finder debug: skipping script (unmatched scope) /app/lib/vlc/lua/meta/art/03_lastfm.luac
[00007efcf8000c30] lua art finder debug: Trying Lua scripts in /app/share/vlc/lua/meta/art
[00007efcf8000c30] main art finder debug: no art finder modules matched
[0000556babf553f0] dbus interface debug: Getting property CanSeek
Gtk-Message: 07:08:35.351: Failed to load module "xapp-gtk3-module"
Qt: Session management error: Could not open network socket
[00007efd04200af0] main generic debug: looking for extension module matching "any": 1 candidates
[00007efd04200af0] lua generic debug: Opening Lua Extension module
[00007efd04200af0] lua generic debug: Trying Lua scripts in /home/shizuma/.var/app/org.videolan.VLC/data/vlc/lua/extensions
[00007efd04200af0] lua generic debug: Trying Lua scripts in /app/lib/vlc/lua/extensions
[00007efd04200af0] lua generic debug: Trying Lua playlist script /app/lib/vlc/lua/extensions/VLSub.luac
[00007efd04200af0] lua generic debug: Scanning Lua script /app/lib/vlc/lua/extensions/VLSub.luac
[00007efd04200af0] lua generic debug: Script /app/lib/vlc/lua/extensions/VLSub.luac has the following capability flags: 0x5
[00007efd04200af0] lua generic debug: Trying Lua scripts in /app/share/vlc/lua/extensions
[00007efd04200af0] main generic debug: using extension module "lua"
[0000556babf64ce0] main interface debug: using interface module "qt"
[0000556babf0ef50] main playlist debug: processing request item: null, node: Liste de lecture, skip: 0
[0000556babf0ef50] main playlist debug: rebuilding array of current - root Liste de lecture
[0000556babf0ef50] main playlist debug: rebuild done - 1 items, index -1
[0000556babf0ef50] main playlist debug: starting playback of new item
[0000556babf0ef50] main playlist debug: resyncing on DTS 5.1.wav
[0000556babf0ef50] main playlist debug: DTS 5.1.wav is at 0
[0000556babf0ef50] main playlist debug: creating new input thread
[00007efcb4000c90] main input debug: Creating an input for 'DTS 5.1.wav'
[0000556babf0ef50] main playlist debug: requesting art for new input thread
[00007efcb4000c90] main input debug: using timeshift granularity of 50 MiB
[00007efcb4000c90] main input debug: using default timeshift path
[00007efcb4000c90] main input debug: `file:///home/shizuma/Videos/Audio%20tests/DTS%205.1.wav' gives access `file' demux `any' path `/home/shizuma/Videos/Audio%20tests/DTS%205.1.wav'
[00007efcac000fb0] main input source debug: creating demux: access='file' demux='any' location='/home/shizuma/Videos/Audio%20tests/DTS%205.1.wav' file='/home/shizuma/Videos/Audio tests/DTS 5.1.wav'
[00007efcac001150] main demux debug: looking for access_demux module matching "file": 20 candidates
[00007efcac001150] main demux debug: no access_demux modules matched
[00007efcac0015f0] main stream debug: creating access: file:///home/shizuma/Videos/Audio%20tests/DTS%205.1.wav
[00007efcac0015f0] main stream debug:  (path: /home/shizuma/Videos/Audio tests/DTS 5.1.wav)
[00007efcac0015f0] main stream debug: looking for access module matching "file": 29 candidates
[00007efcac0015f0] main stream debug: using access module "filesystem"
[00007efcac001900] main stream debug: looking for stream_filter module matching "prefetch,cache_read": 26 candidates
[00007efcac001900] cache_read stream debug: Using stream method for AStream*
[00007efcac001900] cache_read stream debug: starting pre-buffering
[00007efcac001900] cache_read stream debug: received first data after 0 ms
[00007efcac001900] cache_read stream debug: pre-buffering done 1024 bytes in 0s - 23809 KiB/s
[00007efcac001900] main stream debug: using stream_filter module "cache_read"
[00007efcacc01d50] main stream debug: looking for stream_filter module matching "any": 26 candidates
[00007efcacc01d50] lua stream debug: Trying Lua scripts in /home/shizuma/.var/app/org.videolan.VLC/data/vlc/lua/playlist
[00007efcacc01d50] lua stream debug: Trying Lua scripts in /app/lib/vlc/lua/playlist
[00007efca8000c30] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates
[00007efca8000c30] lua meta fetcher debug: Trying Lua scripts in /home/shizuma/.var/app/org.videolan.VLC/data/vlc/lua/meta/fetcher
[00007efca8000c30] lua meta fetcher debug: Trying Lua scripts in /app/lib/vlc/lua/meta/fetcher
[00007efca8000c30] lua meta fetcher debug: Trying Lua scripts in /app/share/vlc/lua/meta/fetcher
[00007efca8000c30] main meta fetcher debug: no meta fetcher modules matched
[00007efca8000c30] main art finder debug: looking for art finder module matching "any": 2 candidates
[00007efca8000c30] lua art finder debug: Trying Lua scripts in /home/shizuma/.var/app/org.videolan.VLC/data/vlc/lua/meta/art
[00007efca8000c30] lua art finder debug: Trying Lua scripts in /app/lib/vlc/lua/meta/art
[00007efca8000c30] lua art finder debug: Trying Lua playlist script /app/lib/vlc/lua/meta/art/00_musicbrainz.luac
[00007efca8000c30] lua art finder debug: skipping script (unmatched scope) /app/lib/vlc/lua/meta/art/00_musicbrainz.luac
[00007efcacc01d50] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/anevia_streams.luac
[00007efca8000c30] lua art finder debug: Trying Lua playlist script /app/lib/vlc/lua/meta/art/01_googleimage.luac
[00007efca8000c30] lua art finder debug: skipping script (unmatched scope) /app/lib/vlc/lua/meta/art/01_googleimage.luac
[00007efca8000c30] lua art finder debug: Trying Lua playlist script /app/lib/vlc/lua/meta/art/02_frenchtv.luac
[00007efcacc01d50] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/anevia_xml.luac
[00007efca8000c30] lua art finder debug: skipping script (unmatched scope) /app/lib/vlc/lua/meta/art/02_frenchtv.luac
[00007efca8000c30] lua art finder debug: Trying Lua playlist script /app/lib/vlc/lua/meta/art/03_lastfm.luac
[00007efca8000c30] lua art finder debug: skipping script (unmatched scope) /app/lib/vlc/lua/meta/art/03_lastfm.luac
[00007efca8000c30] lua art finder debug: Trying Lua scripts in /app/share/vlc/lua/meta/art
[00007efca8000c30] main art finder debug: no art finder modules matched
[00007efcacc01d50] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/appletrailers.luac
[00007efcacc01d50] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/bbc_co_uk.luac
[00007efcacc01d50] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/cue.luac
[00007efcacc01d50] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/dailymotion.luac
[00007efcacc01d50] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/jamendo.luac
[00007efcacc01d50] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/koreus.luac
[00007efcacc01d50] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/liveleak.luac
[00007efcacc01d50] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/newgrounds.luac
[00007efcacc01d50] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/rockbox_fm_presets.luac
[00007efcacc01d50] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/soundcloud.luac
[00007efcacc01d50] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/twitch.luac
[00007efcacc01d50] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/vimeo.luac
[00007efcacc01d50] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/vocaroo.luac
[00007efcacc01d50] lua stream debug: Trying Lua playlist script /app/lib/vlc/lua/playlist/youtube.luac
[00007efcacc01d50] lua stream debug: Trying Lua scripts in /app/share/vlc/lua/playlist
[00007efcacc01d50] main stream debug: no stream_filter modules matched
[00007efcacc19a70] main stream_directory debug: looking for stream_directory module matching "any": 1 candidates
[00007efcacc19a70] main stream_directory debug: no stream_directory modules matched
[00007efcac000fb0] main input source debug: attachment of directory-extractor failed for file:///home/shizuma/Videos/Audio%20tests/DTS%205.1.wav
[00007efcacc01d50] main stream debug: looking for stream_filter module matching "record": 26 candidates
[00007efcacc01d50] main stream debug: using stream_filter module "record"
[00007efcac000fb0] main input source debug: creating demux: access='file' demux='any' location='/home/shizuma/Videos/Audio%20tests/DTS%205.1.wav' file='/home/shizuma/Videos/Audio tests/DTS 5.1.wav'
[00007efcac001150] main demux debug: looking for demux module matching "any": 53 candidates
[0000556babf64ce0] qt interface debug: IM: Setting an input
[00007efcac001150] es demux debug: detected format dts
[00007efcacc18600] main demux packetizer debug: looking for packetizer module matching "any": 25 candidates
[00007efcacc18600] main demux packetizer debug: using packetizer module "dts"
[00007efcacc18600] dts demux packetizer debug: DTS samplerate:44100 bitrate:1411200
[00007efcb4000c90] main input debug: selecting program id=0
[00007efcac001150] main demux debug: using demux module "es"
[00007efcb4000c90] main input debug: looking for a subtitle file in /home/shizuma/Videos/Audio tests/
[00007efcacc16fe0] main decoder debug: looking for audio decoder module matching "any": 17 candidates
[0000556babf0ef50] main playlist debug: reusing audio output
[0000556babf553f0] dbus interface debug: Getting property CanSeek
[0000556babf553f0] dbus interface debug: Getting property Position
[0000556babf51b10] pulse audio output debug: changed buffer metrics: maxlength=4194304, tlength=21168, prebuf=0, minreq=7056
[0000556babf51b10] pulse audio output debug: connected to sink alsa_output.pci-0000_00_14.2.iec958-stereo
[0000556babf51b10] main audio output debug: output 'spdi' 44100 Hz Stereo frame=1 samples/4 bytes
[00007efcacc0c390] main volume debug: looking for audio volume module matching "any": 2 candidates
[00007efcacc0c390] main volume debug: no audio volume modules matched
[0000556babf51b10] main audio output debug: input 'dts ' 44100 Hz 3F2R/LFE frame=1024 samples/4096 bytes
[0000556babf51b10] main audio output debug: pass-through: 'dts '->'spdi' 44100 Hz->44100 Hz 3F2R/LFE->Stereo
[00007efcacc09110] main audio converter debug: looking for audio converter module matching "any": 8 candidates
[00007efcacc09110] main audio converter debug: using audio converter module "tospdif"
[00007efcacc16fe0] main decoder debug: using audio decoder module "spdif"
[00007efd08c03e10] main demux meta debug: looking for meta reader module matching "any": 2 candidates
[00007efd08c03e10] lua demux meta debug: Trying Lua scripts in /home/shizuma/.var/app/org.videolan.VLC/data/vlc/lua/meta/reader
[00007efd08c03e10] lua demux meta debug: Trying Lua scripts in /app/lib/vlc/lua/meta/reader
[00007efd08c03e10] lua demux meta debug: Trying Lua playlist script /app/lib/vlc/lua/meta/reader/filename.luac
[00007efd08c03e10] lua demux meta debug: Trying Lua scripts in /app/share/vlc/lua/meta/reader
[00007efd08c03e10] main demux meta debug: no meta reader modules matched
[00007efcb4000c90] main input debug: `file:///home/shizuma/Videos/Audio%20tests/DTS%205.1.wav' successfully opened
[00007efcb4000c90] main input debug: Buffering 0%
[00007efcb4000c90] main input debug: Buffering 2%
[00007efcb4000c90] main input debug: Buffering 4%
[00007efcb4000c90] main input debug: Buffering 6%
[00007efcb4000c90] main input debug: Buffering 9%
[00007efcb4000c90] main input debug: Buffering 11%
[00007efcb4000c90] main input debug: Buffering 13%
[00007efcb4000c90] main input debug: Buffering 16%
[00007efcb4000c90] main input debug: Buffering 18%
[00007efcb4000c90] main input debug: Buffering 20%
[00007efcb4000c90] main input debug: Buffering 23%
[00007efcb4000c90] main input debug: Buffering 25%
[00007efcb4000c90] main input debug: Buffering 27%
[00007efcb4000c90] main input debug: Buffering 30%
[00007efcb4000c90] main input debug: Buffering 32%
[00007efcb4000c90] main input debug: Buffering 34%
[00007efcb4000c90] main input debug: Buffering 37%
[00007efcb4000c90] main input debug: Buffering 39%
[00007efcb4000c90] main input debug: Buffering 41%
[00007efcb4000c90] main input debug: Buffering 44%
[00007efcb4000c90] main input debug: Buffering 46%
[00007efcb4000c90] main input debug: Buffering 48%
[00007efcb4000c90] main input debug: Buffering 51%
[00007efcb4000c90] main input debug: Buffering 53%
[00007efcb4000c90] main input debug: Buffering 55%
[00007efcb4000c90] main input debug: Buffering 58%
[00007efcb4000c90] main input debug: Buffering 60%
[00007efcb4000c90] main input debug: Buffering 62%
[00007efcb4000c90] main input debug: Buffering 65%
[00007efcb4000c90] main input debug: Buffering 67%
[00007efcb4000c90] main input debug: Buffering 69%
[00007efcb4000c90] main input debug: Buffering 71%
[00007efcb4000c90] main input debug: Buffering 74%
[00007efcb4000c90] main input debug: Buffering 76%
[00007efcb4000c90] main input debug: Buffering 78%
[00007efcb4000c90] main input debug: Buffering 81%
[00007efcb4000c90] main input debug: Buffering 83%
[00007efcb4000c90] main input debug: Buffering 85%
[00007efcb4000c90] main input debug: Buffering 88%
[00007efcb4000c90] main input debug: Buffering 90%
[00007efcb4000c90] main input debug: Buffering 92%
[00007efcb4000c90] main input debug: Buffering 95%
[00007efcb4000c90] main input debug: Buffering 97%
[00007efcb4000c90] main input debug: Buffering 99%
[00007efcb4000c90] main input debug: Stream buffering done (1021 ms in 6 ms)
[00007efcb4000c90] main input debug: Decoder wait done in 0 ms
[0000556babf51b10] pulse audio output debug: cannot synchronize start
[0000556babf51b10] pulse audio output debug: deferring start (9769 us)
[0000556babf51b10] pulse audio output warning: starting late (-13601 us)
[0000556babf51b10] pulse audio output debug: started
[0000556babf51b10] pulse audio output debug: changing sink 58: alsa_output.pci-0000_00_14.2.iec958-stereo (Audio interne Stéréo numérique (IEC958))
[0000556babf553f0] dbus interface debug: Getting property CanSeek
[0000556babf553f0] dbus interface debug: Getting property Position
[0000556babf64ce0] qt interface debug: video widget is orphaned
[0000556babe796d0] main libvlc debug: exiting
[0000556babe796d0] main libvlc debug: exiting
[0000556babe796d0] main libvlc debug: removing all interfaces
[0000556babf64ce0] main interface debug: removing module "qt"
[0000556babf0ef50] main playlist debug: deactivating the playlist
[0000556babf0ef50] main playlist debug: incoming request - stopping current input
[00007efcacc16fe0] main decoder debug: killing decoder fourcc `dts '
[00007efcacc16fe0] main decoder debug: removing module "spdif"
[00007efcacc09110] main audio converter debug: removing module "tospdif"
[0000556babf0ef50] main playlist debug: keeping audio output
[00007efcac001150] main demux debug: removing module "es"
[00007efcacc18600] main demux packetizer debug: removing module "dts"
[00007efcacc01d50] main stream debug: removing module "record"
[00007efcac001900] main stream debug: removing module "cache_read"
[00007efcac0015f0] main stream debug: removing module "filesystem"
[00007efcb4000c90] main input debug: Program doesn't contain anymore ES
[0000556babf0ef50] main playlist debug: dead input
[0000556babf0ef50] main playlist debug: nothing to play
[0000556babf51b10] main audio output debug: removing module "pulse"
[0000556babf64ce0] qt interface debug: requesting exit...
[0000556babf64ce0] qt interface debug: waiting for UI thread...
[0000556babf64ce0] qt interface debug: IM: Deleting the input
[0000556babf64ce0] qt interface debug: QApp exec() finished
[0000556babf64ce0] qt interface debug: video widget is orphaned
[0000556babf64ce0] qt interface debug: Killing extension dialog provider
[0000556babf64ce0] qt interface debug: ExtensionsDialogProvider is quitting...
[00007efd04200af0] main generic debug: removing module "lua"
[0000556babf62fb0] main interface debug: removing module "xcb_hotkeys"
[0000556babf62380] main interface debug: removing module "hotkeys"
[0000556babf553f0] main interface debug: removing module "dbus"
[0000556babf0ef50] main playlist debug: destroying
[0000556babf52ca0] main playlist export debug: saving media library to file /home/shizuma/.var/app/org.videolan.VLC/data/vlc/ml.xspf.tmp2
[0000556babf52ca0] main playlist export debug: looking for playlist export module matching "export-xspf": 4 candidates
[0000556babf52ca0] main playlist export debug: using playlist export module "export"
[0000556babf52ca0] main playlist export debug: removing module "export"
[0000556babf0ef50] main playlist debug: deleting item `Médiathèque'
[0000556babf0ef50] main playlist debug: deleting item `DTS 5.1.wav'
[0000556babf0ef50] main playlist debug: deleting item `Liste de lecture'
[0000556babf15d40] main keystore debug: removing module "memory"

2.0
Code:
$ mplayer  Videos/Audio\ tests/DTS\ 5.1.wav
MPlayer SVN-r38460-14 (C) 2000-2024 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing Videos/Audio tests/DTS 5.1.wav.
libavformat version 60.16.100 (external)
Audio only file format detected.
Load subtitles in Videos/Audio tests/
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 60.31.102 (external)
AUDIO: 44100 Hz, 6 ch, floatle, 1411.2 kbit/16.67% (ratio: 176400->1058400)
Selected audio codec: [ffdca] afm: ffmpeg (FFmpeg DTS)
==========================================================================
AO: [pulse] 44100Hz 2ch floatle (4 bytes per sample)
Video: no video
Starting playback...
A:   8.3 (08.2) of 8.0 (08.0)  1.2%                                                                                                                             


Exiting... (End of file)

Settings
Code:
$ aplay -l
**** Liste des périphériques matériels PLAYBACK ****
carte 0 : HDMI [HDA ATI HDMI], périphérique 3 : HDMI 0 [HDMI 0]
  Sous-périphériques : 1/1
  Sous-périphérique #0 : subdevice #0
carte 1 : Generic [HD-Audio Generic], périphérique 0 : ALC1150 Analog [ALC1150 Analog]
  Sous-périphériques : 1/1
  Sous-périphérique #0 : subdevice #0
carte 1 : Generic [HD-Audio Generic], périphérique 1 : ALC1150 Digital [ALC1150 Digital]
  Sous-périphériques : 1/1
  Sous-périphérique #0 : subdevice #0

$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
oss
    Open Sound System
pipewire
    PipeWire Sound Server
pulse
    PulseAudio Sound Server
hdmi:CARD=HDMI,DEV=0
    HDA ATI HDMI, HDMI 0
    HDMI Audio Output
sysdefault:CARD=Generic
    HD-Audio Generic, ALC1150 Analog
    Default Audio Device
front:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1150 Analog
    Front output / input
surround21:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1150 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1150 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1150 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1150 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1150 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1150 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1150 Digital
    IEC958 (S/PDIF) Digital Audio Output

$ LANG=C pactl info | grep '^Server Name'
Server Name: PulseAudio (on PipeWire 1.0.7)
 

phofman

Member
Joined
Jun 26, 2019
Posts
180
All other clients see the DD/DTS/AAC files as stereo and play then as stereo e.g. mplayer. I'm afraid I will need assistance. What would be the next step?

If you have a DD/DTS source, the player needs to use passthrough, to avoid the internal decoding to PCM. Some players may do it by default (vlc, mpv??), mplayer needs to be told to do so https://mplayerhq.hu/DOCS/HTML/en/advaudio-surround.html#advaudio-surround-passthrough chapter 3.9.3

But you keep outputting to pulseaudio/pipewire, while trying to configure a PCM alsa device. You need to tell your player to use alsa directly, and disable the given device in PA/PW to keep it available for direct alsa access.
 

linuxonly

Member
Thread Starter
Joined
Jul 27, 2024
Posts
112
More  
Preamp, Processor or Receiver
Logitech Z906
DAC
AMD FCH Azalia
Computer Audio
SPDIF output with alsa, pipewire, wireplumber on Fedora 40
Streaming Equipment
Kodi
Front Height Speakers
33 in
Middle Height Speakers
30 in
Rear Height Speakers
57 in
Video Display Device
X11/VGA + X11/DVI
Oh that's getting interesting, we're getting closer. Thanks you so much for the mplayer page. I learn by example, not by reading thousands of pages so I appreciate the link very much.

Unfortunately, no success yet mith mplayer and my last tentative to simplify my /etc/asound.conf resulted in no audio at all on reboot and a required restore from backup because I don't know how to wipe all existing audio configuration hoping the Fedora system will reconfigure itself automatically like debian does.

I'd prefer to use pipewire directly and avoid alsa altogether whenever possible.

Tentative to simplify /etc/asound.conf
Code:
$ cat /etc/asound.conf
#
# Place your global alsa-lib configuration here...
#

ctl.!default
{
type hw
card Generic
}

pcm.a52 {
slavepcm "iec958:CARD=Generic,DEV=0"
}

pcm.dca {
slavepcm "iec958:CARD=Generic,DEV=0"
}

Mplayer using alsa

Code:
$ mplayer  -afm hwac3 Videos/Audio\ tests/Multichannel/DTS\ 5.1.wav -ao alsa
MPlayer SVN-r38460-14 (C) 2000-2024 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing Videos/Audio tests/Multichannel/DTS 5.1.wav.
libavformat version 60.16.100 (external)
Audio only file format detected.
Load subtitles in Videos/Audio tests/Multichannel/
==========================================================================
Trying to force audio codec driver family hwac3...
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
hwac3: switched to DTS, 1411200 bps, 44100 Hz

AUDIO: 44100 Hz, 2 ch, ac3le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [hwdts] afm: hwac3 (DTS through S/PDIF)
==========================================================================
[AO_ALSA] alsa-lib: pcm_hw.c:1801:(snd_pcm_hw_open) open '/dev/snd/pcmC0D1p' failed (-2): No such file or directory
[AO_ALSA] alsa-lib: pcm_hw.c:1801:(snd_pcm_hw_open) open '/dev/snd/pcmC0D1p' failed (-2): No such file or directory
[AO_ALSA] Playback open error: No such file or directory
Failed to initialize audio driver 'alsa'
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video


Exiting... (End of file)

Mplayer using pipewire

Code:
$ mplayer  -afm hwac3 Videos/Audio\ tests/Multichannel/DTS\ 5.1.wav
MPlayer SVN-r38460-14 (C) 2000-2024 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing Videos/Audio tests/Multichannel/DTS 5.1.wav.
libavformat version 60.16.100 (external)
Audio only file format detected.
Load subtitles in Videos/Audio tests/Multichannel/
==========================================================================
Trying to force audio codec driver family hwac3...
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
hwac3: switched to DTS, 1411200 bps, 44100 Hz

AUDIO: 44100 Hz, 2 ch, ac3le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [hwdts] afm: hwac3 (DTS through S/PDIF)
==========================================================================
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
[format] Sample format little-endian AC3 not yet supported
[libaf] Reinitialization did not work, audio filter 'format' returned error code -2
[libaf] Unable to setup filter system can not meet sound-card demands, please send a bug report.
Couldn't find matching filter/ao format!
Audio: no sound
Video: no video
 

phofman

Member
Joined
Jun 26, 2019
Posts
180
$ mplayer -afm hwac3 Videos/Audio\ tests/Multichannel/DTS\ 5.1.wav -ao alsa
...
[AO_ALSA] alsa-lib: pcm_hw.c:1801:(snd_pcm_hw_open) open '/dev/snd/pcmC0D1p' failed (-2): No such file or directory
When no alsa device is specified (you only enabled alsa audio output module) , mplayer uses device "default" which in your config is aimed at some not existing device CARD=0, DEV=1. First you should find where your default device is configured and fix that. Then still it's much safer to specify the device with e.g. https://ubuntuforums.org/showthread.php?t=1111396&p=7052441#post7052441

I'd prefer to use pipewire directly and avoid alsa altogether whenever possible.
If your goal is to convert REW multichannel PCM to AC3/DTS spdif, then alsa path is the safest and cleanest for you. PW introduces another major layer of complexity on top of alsa - possibly resampling, format conversion etc. Also pulseaudio java connector is quite old.
 

linuxonly

Member
Thread Starter
Joined
Jul 27, 2024
Posts
112
More  
Preamp, Processor or Receiver
Logitech Z906
DAC
AMD FCH Azalia
Computer Audio
SPDIF output with alsa, pipewire, wireplumber on Fedora 40
Streaming Equipment
Kodi
Front Height Speakers
33 in
Middle Height Speakers
30 in
Rear Height Speakers
57 in
Video Display Device
X11/VGA + X11/DVI
Wow, this is major! 10 months I've been trying to figure that out!
Thank you so much!

Mplayer still has some error messages, but the passthrough is working.

Code:
$ ll /dev/snd/pcm*
crw-rw----+ 1 root audio 116, 2 20 aoû 12:06 /dev/snd/pcmC0D3p
crw-rw----+ 1 root audio 116, 6 20 aoû 12:06 /dev/snd/pcmC1D0c
crw-rw----+ 1 root audio 116, 5 20 aoû 12:06 /dev/snd/pcmC1D0p
crw-rw----+ 1 root audio 116, 7 20 aoû 14:21 /dev/snd/pcmC1D1p
crw-rw----+ 1 root audio 116, 8 20 aoû 12:06 /dev/snd/pcmC1D2c

$ mplayer  -afm hwac3 Videos/Audio\ tests/Multichannel/DTS\ 5.1.wav -ao alsa:device=hw=1.1
MPlayer SVN-r38460-14 (C) 2000-2024 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing Videos/Audio tests/Multichannel/DTS 5.1.wav.
libavformat version 60.16.100 (external)
Audio only file format detected.
Load subtitles in Videos/Audio tests/Multichannel/
==========================================================================
Trying to force audio codec driver family hwac3...
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
hwac3: switched to DTS, 1411200 bps, 44100 Hz

AUDIO: 44100 Hz, 2 ch, ac3le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [hwdts] afm: hwac3 (DTS through S/PDIF)
==========================================================================
[AO_ALSA] alsa-lib: conf.c:5540:(parse_args) Unknown parameter AES0
[AO_ALSA] alsa-lib: conf.c:5711:(snd_config_expand) Parse arguments error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2722:(snd_pcm_open_noupdate) Unknown PCM hw:1,1,AES0=6
AO: [alsa] 44100Hz 2ch ac3le (2 bytes per sample)
Video: no video
Starting playback...
A:   8.0 (08.0) of 8.0 (08.0)  0.1%                                                                                                                             


Exiting... (End of file)

This is not consistent with my 'aplay -L' output though, posted earlier. But looking at my 'aplay -l', it is.

Any idea how to generate a proper /etc/asound.conf so the default device is defined once and for all? And I would love for Kodi to be able to use ALSA as passthrough instead of pipewire. Never been able to get it working (the passthrough options are not showing in Kodi Audio Config page when ALSA is selected as output device.

BTW I'm waiting for an HDMI to SPDIF converter. Will try to get REW to use HDMI, might be easiest.

Created a '~/.mplayer/config' file. We'll see What happens with different formats...

Code:
afm=hwac3
ao=alsa:device=hw=1.1
 

phofman

Member
Joined
Jun 26, 2019
Posts
180
Mplayer still has some error messages, but the passthrough is working.
So the device hw:1,1 seems to be correct SPDIF output. Then you may try using device "iec958:CARD=Generic,DEV=1" instead of "hw:1,1" (equivalent to hw:CARD=Generic,DEV=1"). Instead of direct output to the driver, this device configuration will process the AES parameters passed by mplayer https://github.com/philipl/mplayer/...ff66e18544154f7483e3182/libao2/ao_alsa.c#L297 -> (https://github.com/alsa-project/alsa-lib/blob/master/src/conf/pcm/iec958.conf#L56-L74 + https://github.com/alsa-project/alsa-lib/blob/master/src/conf/cards/HDA-Intel.conf#L112-L142 ) - set non-audio SPDIF preamble via associated alsa controls provided by the soundcard driver. But it may not be necessary as your AVR seems to recognize the DTS stream correctly regardless the SPDIF preamble bit. But DTS may be handled differently than AC3 by your AVR, therefore setting correct AESx params is recommended.

Now once you find your device working OK for AC3/DTS stream, you can try to use it as slave for your a52 config - see e.g. https://forums.raspberrypi.com/viewtopic.php?t=172536#p1671540

Code:
pcm.a52 {

    type a52

    slavepcm "iec958:{ AES0 0x06 AES1 0x82 AES2 0x00 AES3 0x00 CARD Generic DEV 1 }"

}

Note that the config above sets the AES0 0x06 (i.e. non-audio AC3) fixed as output from the a52 encoder is always ac3/nonaudio.

Then you can test your new multichannel PCM device "a52" e.g. with sox https://www.audiosciencereview.com/...to-sox-audio-tool-as-a-signal-generator.4242/ or aplay with some 6ch wav
 
Last edited:

phofman

Member
Joined
Jun 26, 2019
Posts
180
While looking at your mplayer output - alsa-lib complains about "Unknown PCM hw:1,1,AES0=6". The reason for the complaint is that your hw device did not "consume" the AES0 parameter. If you use the iec958:... device, your alsa-lib configs will use the parameter (see the github.com/alsa-project/alsa-lib links in my previous post) and hw:XXX device used by the alsa iec958 plugin (it's all chained) will not receive any parameter - no complaints then.

You want to check which device is actually used by mplayer when the above command in your post is playing. It may not be hw:1,1. Check with command 'lsof /dev/snd/*', in my case (only pulseaudio active):

Code:
pavel@precision:~$ lsof /dev/snd/*
lsof: WARNING: can't stat() tracefs file system /sys/kernel/debug/tracing
      Output information may be incomplete.
COMMAND    PID  USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
pulseaudi 2928 pavel  mem    CHR 116,42           750 /dev/snd/pcmC2D0p
pulseaudi 2928 pavel   21u   CHR 116,44      0t0  752 /dev/snd/controlC2
pulseaudi 2928 pavel   27u   CHR 116,44      0t0  752 /dev/snd/controlC2
pulseaudi 2928 pavel   30u   CHR 116,35      0t0  680 /dev/snd/controlC0
pulseaudi 2928 pavel   36u   CHR 116,41      0t0  721 /dev/snd/controlC1
pulseaudi 2928 pavel   52u   CHR 116,42      0t0  750 /dev/snd/pcmC2D0p
pulseaudi 2928 pavel   68u   CHR 116,35      0t0  680 /dev/snd/controlC0

You want to see the command mplayer in your list, and some pcmCXDYp device will be open (lsof = list open files).
 

linuxonly

Member
Thread Starter
Joined
Jul 27, 2024
Posts
112
More  
Preamp, Processor or Receiver
Logitech Z906
DAC
AMD FCH Azalia
Computer Audio
SPDIF output with alsa, pipewire, wireplumber on Fedora 40
Streaming Equipment
Kodi
Front Height Speakers
33 in
Middle Height Speakers
30 in
Rear Height Speakers
57 in
Video Display Device
X11/VGA + X11/DVI
Hi,

This is what mpv does:
`[ao/alsa] opening device 'iec958:CARD=Generic,DEV=0' => 'iec958:CARD=Generic,DEV=0,AES0=6,AES1=130,AES2=0,AES3=2'`

However no luck getting mplayer to respect that neither 'iec958:CARD=Generic,DEV=1'. That what I meant when I said my 'aplay -l' output is inconsistent with my 'aplay -L' in regards to SPDIF. Ant this has been tested one million times with mplayer over the months with all possible syntax variations to no avail. It's one error message after another.

Will backup everything and try 'pcm.!default iec958' in my asound conf file.
 

phofman

Member
Joined
Jun 26, 2019
Posts
180
Well then don't use DEV=1 but DEV=0 if that's what works. I do not know where DEV=1 (or hw:1,1) arose in your tests.

I would suggest not complicating the setup with redefining the "default" device, but consistently giving the alsa device you want.

Also, this mplayer usage is just for testing the DTS/AC3 device functionality. If mpv works better for you in this testing, use it instead.
 

linuxonly

Member
Thread Starter
Joined
Jul 27, 2024
Posts
112
More  
Preamp, Processor or Receiver
Logitech Z906
DAC
AMD FCH Azalia
Computer Audio
SPDIF output with alsa, pipewire, wireplumber on Fedora 40
Streaming Equipment
Kodi
Front Height Speakers
33 in
Middle Height Speakers
30 in
Rear Height Speakers
57 in
Video Display Device
X11/VGA + X11/DVI
No problem. I don't care about mplayer, particularly for 5.1 material where I rely on Kodi, mpv or vlc and so far the passthrough is working perfectly when pipewire is in control e.g. from Kodi config

Code:
 <setting id="audiooutput.passthroughdevice">PIPEWIRE:alsa_output.pci-0000_00_14.2.iec958-stereo|Audio interne Stéréo numérique (IEC958)</setting>

I can imagine it get its config from wireplumber?

Code:
$ cat .config/wireplumber/wireplumber.conf.d/51-alsa.conf

monitor.alsa.rules = [
 {
   matches = [
     {
       node.name = "~alsa_output.*"
     }
   ]
   actions = {
     update-props = {
       iec958.codecs = [ "PCM", "DTS", "AC3", "AAC" ]
     }
   }
 }
]

mpv config:

Code:
audio-device=alsa/iec958:CARD=Generic,DEV=0
audio-spdif=ac3,dts,pcm
audio-channels=5.1

Mplayer has always be problematic either with DEV=1 or DEV=0 and when it fails, I'm not able to execute any other audio client for a few minutes, i.e. no sound.

Code:
aoû 21 10:52:48 pipewire[3523]: spa.alsa: 'iec958:1': playback open failed: Périphérique ou ressource occupé
aoû 21 10:52:48 pipewire[3523]: spa.alsa: 'iec958:1': playback open failed: Périphérique ou ressource occupé
aoû 21 10:52:48 pipewire[3523]: spa.audioadapter: params Spa:Enum:ParamId:EnumFormat: 0:0 (follower format) Périphérique ou ressource occupé
aoû 21 10:52:48 pipewire[3523]: pw.node: (alsa_output.pci-0000_00_14.2.iec958-stereo-53) suspended -> error (Start error: Périphérique ou ressource occupé)
aoû 21 10:52:53 pipewire[3523]: spa.alsa: 'iec958:1': playback open failed: Périphérique ou ressource occupé
aoû 21 10:52:53 pipewire[3523]: spa.alsa: 'iec958:1': playback open failed: Périphérique ou ressource occupé
aoû 21 10:52:53 pipewire[3523]: spa.audioadapter: params Spa:Enum:ParamId:EnumFormat: 0:0 (follower format) Périphérique ou ressource occupé
aoû 21 10:52:53 pipewire[3523]: pw.node: (alsa_output.pci-0000_00_14.2.iec958-stereo-53) suspended -> error (Start error: Périphérique ou ressource occupé)

Code:
$ lsof /dev/snd/*
COMMAND     PID    USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
pipewire   3523 shizuma   55u   CHR  116,1      0t0  563 /dev/snd/seq
pipewire   3523 shizuma   56u   CHR  116,1      0t0  563 /dev/snd/seq
wireplumb  3526 shizuma   31u   CHR 116,10      0t0  945 /dev/snd/controlC1
wireplumb  3526 shizuma   33u   CHR  116,4      0t0  926 /dev/snd/controlC0
mplayer   33411 shizuma  mem    CHR  116,7           935 /dev/snd/pcmC1D1p
mplayer   33411 shizuma   10u   CHR  116,7      0t0  935 /dev/snd/pcmC1D1p

Code:
$  pw-cli info 53
    id: 53
    permissions: rwxm-
    type: PipeWire:Interface:Node/3
*    input ports: 2/65
*    output ports: 2/0
*    state: "suspended"
*    properties:
*        alsa.card = "1"
*        alsa.card_name = "HD-Audio Generic"
*        alsa.class = "generic"
*        alsa.components = "HDA:10ec0900,18491151,00100001"
*        alsa.device = "1"
*        alsa.driver_name = "snd_hda_intel"
*        alsa.id = "Generic"
*        alsa.long_card_name = "HD-Audio Generic at 0xfea60000 irq 16"
*        alsa.mixer_name = "Realtek ALC1150"
*        alsa.name = "ALC1150 Digital"
*        alsa.resolution_bits = "16"
*        alsa.subclass = "generic-mix"
*        alsa.subdevice = "0"
*        alsa.subdevice_name = "subdevice #0"
*        api.alsa.card.longname = "HD-Audio Generic at 0xfea60000 irq 16"
*        api.alsa.card.name = "HD-Audio Generic"
*        api.alsa.path = "iec958:1"
*        api.alsa.pcm.card = "1"
*        api.alsa.pcm.stream = "playback"
*        audio.channels = "2"
*        audio.position = "FL,FR"
*        card.profile.device = "11"
*        device.api = "alsa"
*        device.class = "sound"
*        device.id = "51"
*        device.profile.description = "Stéréo numérique (IEC958)"
*        device.profile.name = "iec958-stereo"
*        device.routes = "1"
*        factory.name = "api.alsa.pcm.sink"
*        iec958.codecs = "[ "PCM", "DTS", "AC3", "AAC" ]"
*        media.class = "Audio/Sink"
*        node.description = "Audio interne Stéréo numérique (IEC958)"
*        node.name = "alsa_output.pci-0000_00_14.2.iec958-stereo"
*        node.nick = "ALC1150 Digital"
*        node.pause-on-idle = "false"
*        object.path = "alsa:pcm:1:iec958:1:playback"
*        priority.driver = "736"
*        priority.session = "736"
*        factory.id = "18"
*        clock.quantum-limit = "8192"
*        client.id = "46"
*        node.driver = "true"
*        factory.mode = "merge"
*        audio.adapt.follower = ""
*        library.name = "audioconvert/libspa-audioconvert"
*        object.id = "53"
*        object.serial = "58"
*    params: (9)
*      3 (Spa:Enum:ParamId:EnumFormat) r-
*      1 (Spa:Enum:ParamId:PropInfo) r-
*      2 (Spa:Enum:ParamId:Props) rw
*      4 (Spa:Enum:ParamId:Format) -w
*      10 (Spa:Enum:ParamId:EnumPortConfig) r-
*      11 (Spa:Enum:ParamId:PortConfig) rw
*      15 (Spa:Enum:ParamId:Latency) rw
*      16 (Spa:Enum:ParamId:ProcessLatency) rw
*      17 (Spa:Enum:ParamId:Tag) rw
 
Last edited:

phofman

Member
Joined
Jun 26, 2019
Posts
180
My original understanding was that you were looking for a PCM-multichannel REW output through non-audio SPDIF. Now it looks like you are solving a general non-audio passthrough from your video players, a different goal.

For the REW goal no reason to involve PW/PA, IMO.
 

linuxonly

Member
Thread Starter
Joined
Jul 27, 2024
Posts
112
More  
Preamp, Processor or Receiver
Logitech Z906
DAC
AMD FCH Azalia
Computer Audio
SPDIF output with alsa, pipewire, wireplumber on Fedora 40
Streaming Equipment
Kodi
Front Height Speakers
33 in
Middle Height Speakers
30 in
Rear Height Speakers
57 in
Video Display Device
X11/VGA + X11/DVI
My original understanding was that you were looking for a PCM-multichannel REW output through non-audio SPDIF. Now it looks like you are solving a general non-audio passthrough from your video players, a different goal.

No. The conversation somehow deviated on this subject I presume while trying to setup alsa properly. Passthrough is already working well for all the players I currently use.
I still want REW to output to something else like alsa or hdmi audio.
As a matter of fact, I'm waiting for this HDMI to SPDIF converter today or tomorrow.

For the REW goal no reason to involve PW/PA, IMO.
I agree, then it's either alsa or hdmi.
 

linuxonly

Member
Thread Starter
Joined
Jul 27, 2024
Posts
112
More  
Preamp, Processor or Receiver
Logitech Z906
DAC
AMD FCH Azalia
Computer Audio
SPDIF output with alsa, pipewire, wireplumber on Fedora 40
Streaming Equipment
Kodi
Front Height Speakers
33 in
Middle Height Speakers
30 in
Rear Height Speakers
57 in
Video Display Device
X11/VGA + X11/DVI
No luck with the hdmi to spdif converter. First, the audio interface isn't recognized on boot. One has to unplug it and replug it for pavucontrol to identify it. Then I can enable it.

So far on this hdmi device, system sounds work, passthrouh works, stereo works, mpv works using alsa, kodi works using pipewire, easyeffects works as well

REW OTOH can't make use of the 6 channels. It doesn't see them individually. Only stereo.

Returned the device, I bought it exclusively for REW to address each channel individually and was unable to manage that.
 

phofman

Member
Joined
Jun 26, 2019
Posts
180
Well, spdif is a two-channel interface, why should the HDMI alsa card offer 6 channels? IIUC the SPDIF converter reports EDID with two channels (which is correct) and the HDMI driver correctly configures its alsa playback device to be 2ch.

The software DTS/AC3 encoder (i.e. 6ch PCM -> 2ch non-audio) plugin must be inserted into the alsa chain to create the 6ch PCM device for REW to see/use.
 

linuxonly

Member
Thread Starter
Joined
Jul 27, 2024
Posts
112
More  
Preamp, Processor or Receiver
Logitech Z906
DAC
AMD FCH Azalia
Computer Audio
SPDIF output with alsa, pipewire, wireplumber on Fedora 40
Streaming Equipment
Kodi
Front Height Speakers
33 in
Middle Height Speakers
30 in
Rear Height Speakers
57 in
Video Display Device
X11/VGA + X11/DVI
Well, spdif is a two-channel interface, why should the HDMI alsa card offer 6 channels? IIUC the SPDIF converter reports EDID with two channels (which is correct) and the HDMI driver correctly configures its alsa playback device to be 2ch.

I don't know but it did. In pavucontrol 6 channels were visible and testable under the device HDMI/DP Surround 5.1. Was not working but the potential was there. I had to try it after I asked the question 3 times to no avail.

The software DTS/AC3 encoder (i.e. 6ch PCM -> 2ch non-audio) plugin must be inserted into the alsa chain to create the 6ch PCM device for REW to see/use.
I read what you say, it's clear. But how to do it? And how to verify it's done afterwards?

I've read all the alsa manual but that was over 20 years ago. All my computers auto-configured but this very one.

After reviewing my config, unless I didn't understand the instructions or I got all the other way around, A52 as slave plugin seems to work:

Code:
$ speaker-test -d -b 2000000 -c 6 -D"plug:{SLAVE=\"a52:1,'hw:1,1'\"}" -l 2

speaker-test 1.2.12

Le périphérique de lecture est plug:{SLAVE="a52:1,'hw:1,1'"}
Les paramètres du flux sont 48000Hz, S16_LE, 6 canaux
Utilisation de 16 octaves de bruit rose
La fréquence est 48000Hz (demandée 48000Hz)
L'intervalle de la taille du tampon est de 1536 à 24576
L'intervalle de la taille de la période est de 768 à 768
Périodes = 4
était paramétré pour period_size = 768
était paramétré pour buffer_size = 3072
Plug PCM: Linear conversion PCM (S32_LE)
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 6
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 3072
  period_size  : 768
  period_time  : 16000
  tstamp_mode  : NONE
  tstamp_type  : GETTIMEOFDAY
  period_step  : 1
  avail_min    : 768
  period_event : 0
  start_threshold  : 3072
  stop_threshold   : 3072
  silence_threshold: 0
  silence_size : 0
  boundary     : 6917529027641081856
Slave: A52 Output Plugin
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_NONINTERLEAVED
  format       : S32_LE
  subformat    : STD
  channels     : 6
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 32
  buffer_size  : 3072
  period_size  : 768
  period_time  : 16000
  tstamp_mode  : NONE
  tstamp_type  : GETTIMEOFDAY
  period_step  : 1
  avail_min    : 768
  period_event : 0
  start_threshold  : 3072
  stop_threshold   : 3072
  silence_threshold: 0
  silence_size : 0
  boundary     : 6917529027641081856
  av_format    : s32p
  av_frame_size: 1536
  remain       : 0
  filled       : 0
Slave: Hardware PCM card 1 'HD-Audio Generic' device 1 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 3072
  period_size  : 768
  period_time  : 16000
  tstamp_mode  : NONE
  tstamp_type  : MONOTONIC
  period_step  : 1
  avail_min    : 768
  period_event : 0
  start_threshold  : 3072
  stop_threshold   : 3072
  silence_threshold: 0
  silence_size : 0
  boundary     : 6917529027641081856
  appl_ptr     : 0
  hw_ptr       : 0
 0 - Front Left
 4 - Front Center
 1 - Front Right
 3 - Rear Right
 2 - Rear Left
 5 - LFE
Temps par période = 17,890631
 0 - Front Left
 4 - Front Center
 1 - Front Right
 3 - Rear Right
 2 - Rear Left
 5 - LFE
Temps par période = 17,952044
 
Last edited:

phofman

Member
Joined
Jun 26, 2019
Posts
180
I don't know but it did. In pavucontrol 6 channels were visible and testable under the device HDMI/DP Surround 5.1. Was not working but the potential was there.

Those surroundX.Y PCM devices are just hints, offered for HDMI config by the alsa config layer https://github.com/alsa-project/als...f1beae6/src/conf/cards/HDA-Intel.conf#L74-L79 . Potentially they may work, provided the underlying device supports the given number of channels. IMO the spdif converter will send a 2ch EDID, and the multichannel configs will not work.

You can check the EDID including audio params of the receiver with e.g. https://www.adamsdesk.com/posts/learn-to-read-edid-displayid-metadata-using-linux/

speaker-test -d -b 2000000 -c 6 -D"plug:{SLAVE=\"a52:1,'hw:1,1'\"}" -l 2

That's a very unusual form of alsa device configuration, basically writing the config code into the device string. I would prefer to create .asoundrc with a52 device, as was linked in the discussions above. The best way is checking your PCM device params with aplay --dump-hw-params

Code:
aplay --dump-hw-params -D your_device_name /dev/zero

In the end you want to avoid the plug plugin, so that no extra conversions are performed at the background.
 
Last edited:

phofman

Member
Joined
Jun 26, 2019
Posts
180
Just a note - did I understand correctly that you had a native SPDIF output available? If so, then the HDMI->SPDIF converter would be superfluous.
 
Top Bottom