• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

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

uzsolt

Well-Known Member

Thanks: 46
Messages: 256

#1
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?
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 5,773
Best answers: 3
Messages: 26,272

#5

uzsolt

Well-Known Member

Thanks: 46
Messages: 256

#6
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 :) )
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 5,773
Best answers: 3
Messages: 26,272

#7
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.
 

acheron

Well-Known Member

Thanks: 167
Messages: 431

#8
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)