kodi doesn't play video files with ac3 audio on RPi

I created a bug report about it: PR 227241. I copy from report:

I've a Raspberry Pi B+. I'm using FreeBSD 11.1 on it.
The Kodi doesn't play some videos and it seems the "bad" videos are videos which contains ac3 audio (avi, mkv). The video starts but with blank (black) screen (can't see any video) and without any audio. Files with "MPEG-1 Layer 3" audio works well.

I installed Kodi on my laptop (x86_64) and check these video files: plays well.

Kodi is installed from FreeBSD repository.

What other informations do you need? Should I share some bad videos?
 
It works for me on a RPI2 with -CURRENT. I'll try to resurrect my rpi1b and see if it works on it.
Thanks for your check!

If I remember correctly, the Pi 1 can only do AC3 with passthrough (meaning your AVR or TV has to decode it), the CPU simply isn't powerful enough for the software decode it.
Oh, maybe it can be the problem. And this can be the reason why doesn't show any video on TV? My (our) TV is a simple, old (but well-functioning) CRT.
Do you have any idea how to solve this? (without to buy any newer RPi or TV :) )
 
Remember, the Pi was developed/designed as a learning project, it was never intended to be used as a fully blown media player. In this respect there's much better hardware around. That said, my Raspberry Pis all work fine (LibreElec), but most of the heavy lifting (audio decoding) is done by my AVR.
 
It also works on my rpi1b (still running -CURRENT). I had to set gpu_mem=128M in /boot/msdos/config.txt (as mentionned in pkg-message)
 
Hm, I think I found the solution. I've turn off the "Audio Passthrough" and set the audio output to "2.0". Works fine.
 
Which Desktop Environment or Window Manager are you using? Because depending of which you use, the usual it's that they come with their own music players.
 
You should believe it. Why do I need any WM on RPi? I don't run any programs with GUI only the Kodi. The multimedia/kodi contains /usr/local/bin/kodi-standalone which runs the X server.

You can run startx with empty xinitrc and you'll get a graphical interface - without any WM.
 
You should believe it. Why do I need any WM on RPi? I don't run any programs with GUI only the Kodi. The multimedia/kodi contains /usr/local/bin/kodi-standalone which runs the X server.

You can run startx with empty xinitrc and you'll get a graphical interface - without any WM.

Aja :D
Sorry, I can't remember it.
You mean that you only installed Xorg and run startx?
 
Back
Top