For some reason audio started working without me doing anything, but audio only works in the GUI, and whenever I start playing a video it goes silent.
The following devices are listed for ALSA
Code:
user@kodi:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC233 Analog [ALC233 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
But it is odd, because I do not have 4 HDMI outs, so why are so many listed? Have tried selecting all of them in kodi, but none of them work.
The following is log output for when trying to play a video file
Code:
2021-08-29 08:10:02.500 T:1338 INFO <general>: VideoPlayer::OpenFile: smb://192.168.1.1/movies/movie.mkv
2021-08-29 08:10:02.501 T:2192 INFO <general>: Creating InputStream
2021-08-29 08:10:03.301 T:2192 INFO <general>: Creating Demuxer
2021-08-29 08:10:04.825 T:2192 INFO <general>: Opening stream: 0 source: 256
2021-08-29 08:10:04.825 T:2192 INFO <general>: Creating video codec with codec id: 70
2021-08-29 08:10:04.825 T:2192 INFO <general>: CDVDVideoCodecFFmpeg::Open() Using codec: SMPTE VC-1
2021-08-29 08:10:04.829 T:2192 INFO <general>: VAAPI::Close
2021-08-29 08:10:04.829 T:2192 INFO <general>: VAAPI::Close - closing decoder context
2021-08-29 08:10:04.837 T:2192 INFO <general>: Creating video thread
2021-08-29 08:10:04.837 T:2194 INFO <general>: running thread: video_thread
2021-08-29 08:10:04.838 T:2192 INFO <general>: Opening stream: 1 source: 256
2021-08-29 08:10:04.838 T:2192 INFO <general>: Finding audio codec for: 86020
2021-08-29 08:10:04.838 T:2192 INFO <general>: Creating audio thread
2021-08-29 08:10:04.839 T:2195 INFO <general>: running thread: CVideoPlayerAudio:rocess()
2021-08-29 08:10:04.839 T:2192 INFO <general>: Opening stream: 3 source: 256
2021-08-29 08:10:05.051 T:2194 INFO <general>: CDVDVideoCodecFFmpeg::Open() Using codec: SMPTE VC-1
2021-08-29 08:10:05.204 T:1338 INFO <general>: GL: Selecting YUV 2 RGB shader
2021-08-29 08:10:05.204 T:1338 INFO <general>: GL: Using GL_ARB_pixel_buffer_object
2021-08-29 08:10:05.204 T:1338 INFO <general>: Using GL_TEXTURE_2D
2021-08-29 08:10:05.467 T:2195 INFO <general>: CAEStreamParser::SyncDTS - dtsHD MA stream detected (8 channels, 48000Hz, 16bit BE, period: 8192, syncword: 0x41a29547, target rate: 0x18, framesize 2788))
2021-08-29 08:10:05.467 T:2195 INFO <general>: Creating audio stream (codec id: 86020, channels: 8, sample rate: 48000, pass-through)
2021-08-29 08:10:05.485 T:1480 INFO <general>: CActiveAESink::OpenSink - initialize sink
2021-08-29 08:10:05.557 T:1338 INFO <general>: GL: Selecting YUV 2 RGB shader
2021-08-29 08:10:05.557 T:1338 INFO <general>: GL: Using GL_ARB_pixel_buffer_object
2021-08-29 08:10:05.730 T:1480 INFO <general>: CAESinkALSA::Initialize - Attempting to open device "hdmi:CARD=PCH,DEV=1"
2021-08-29 08:10:05.738 T:1480 INFO <general>: CAESinkALSA::Initialize - Opened device "hdmi:CARD=PCH,DEV=1,AES0=0x06,AES1=0x82,AES2=0x00,AES3=0x09"
2021-08-29 08:10:05.785 T:1338 INFO <general>: Loading skin file: VideoFullScreen.xml, load type: KEEP_IN_MEMORY
2021-08-29 08:10:05.808 T:2194 INFO <general>: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 41727
2021-08-29 08:10:08.500 T:1338 INFO <general>: Loading skin file: VideoOSD.xml, load type: KEEP_IN_MEMORY
2021-08-29 08:10:19.150 T:1338 INFO <general>: CVideoPlayer::CloseFile()
2021-08-29 08:10:19.150 T:1338 INFO <general>: VideoPlayer: waiting for threads to exit
2021-08-29 08:10:19.161 T:2192 INFO <general>: CVideoPlayer::OnExit()
2021-08-29 08:10:19.161 T:2192 INFO <general>: Closing stream player 1
2021-08-29 08:10:19.161 T:2192 INFO <general>: Waiting for audio thread to exit
2021-08-29 08:10:19.207 T:2195 INFO <general>: thread end: CVideoPlayerAudio::OnExit()
2021-08-29 08:10:19.207 T:2192 INFO <general>: Closing audio device
2021-08-29 08:10:19.257 T:1480 INFO <general>: CActiveAESink::OpenSink - initialize sink
2021-08-29 08:10:19.258 T:2192 INFO <general>: Deleting audio codec
2021-08-29 08:10:19.258 T:2192 INFO <general>: Closing stream player 2
2021-08-29 08:10:19.258 T:2192 INFO <general>: waiting for video thread to exit
2021-08-29 08:10:19.297 T:2194 WARNING <general>: OutputPicture - timeout waiting for buffer
2021-08-29 08:10:19.298 T:2194 INFO <general>: thread end: video_thread
2021-08-29 08:10:19.299 T:2192 INFO <general>: deleting video codec
2021-08-29 08:10:19.304 T:2192 INFO <general>: Closing stream player 3
I see no errors regarding audio here. Is the issue with my receiver maybe?