Kodi Community Forum
AudioEngine branch - DO NOT REQUEST BINARY BUILDS - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: AudioEngine branch - DO NOT REQUEST BINARY BUILDS (/showthread.php?tid=78289)



- joelmeans - 2011-07-22

joelmeans Wrote:I am re-ripping that disc, just to be sure. If I still have the problem, I will cut you a clip. I did try with 5.1 channel layout, but the video was still jerky. I will let you know what the new rip looks like.

Okay, the re-rip finished, and it plays fine. I don't know what was wrong with the old file. I am now re-ripping the LPCM file to see if that was a bad rip as well.

Edit: The re-rip of the LPCM file still plays with no sound. An ac3 track in the same file is fine, but when I switch to the LPCM track, the receiver shows Multi In, but there is no sound.


- gnif - 2011-07-22

@joelmeans - I think I fixed your issue last night... there was a problem with coming back out of pass-through mode, can you please try the latest code?


- kilikkun - 2011-07-22

First off, thank you gnif and whoever is keeping the Windows portion up to date (ArtVandelae I believe)!

I compiled the Windows version 2 days ago and have been testing video files with different audio formats. So far I have not had problems playing DTS-MA, TrueHD, DTS, AC3, and AAC. My receiver has been recognizing the channels and formats correctly. All of the tests have been done with exclusive mode on. I'm using an Intel i3-550 (integrated audio/video) outputting via HDMI to an Onkyo TX-SR806. Keep up the great work.

I don't see many Windows users posting in this project, so if there's anything you need tested with my setup, let me know.


- joelmeans - 2011-07-22

gnif Wrote:@joelmeans - I think I fixed your issue last night... there was a problem with coming back out of pass-through mode, can you please try the latest code?

Sorry, but that seems to have borked everything. Now, all of my videos play fast with no sound, no matter what kind of audio I try. Here are some logs:

LPCM: http://pastebin.com/6Q2KVELx
DTS-HD MA: http://pastebin.com/Fi7z20MK
TrueHD: http://pastebin.com/LvZmYZ0K

Let me know if you want me to try anything else.
Thanks.


- gnif - 2011-07-23

Again, ArtVandelae has come to the windows platform's rescue, AE is building again there with the latest set of changes.

@kilikkun - Thanks for the feedback, basically if its broken under linux it is broken under windows too, unless there has been API changes which break the windows code itself (eg, cant compile). But, if i need things tested I will keep you in mind Smile


- gnif - 2011-07-23

@joelmeans - This is a hard one to track down without being able to debug your setup, can you please PM me if your willing to give me SSH access to the machine to find out what's going on? Having real time communication with you would also help if you use Skype or IRC.


- dado483 - 2011-07-23

joelmeans Wrote:Sorry, but that seems to have borked everything. Now, all of my videos play fast with no sound, no matter what kind of audio I try

I can confirm that after the latest changes on the code, videos play fast with no sound.
I'm using XBMC-AE under linux ubuntu 11.04 64-bit


- joelmeans - 2011-07-23

gnif fixed that last night, using my box. Try a fresh pull.


- dg69 - 2011-07-24

@gnif... just wanted to say thank you for your efforts in making XBMC even better, never thought it possible to improve on something so cool, but that the beauty of open source Smile

One little thing I have noticed is that if you are watching a slideshow of pics while playing mp3s something goes a little wrong, songs skip and eventually stop. I know it is early days for this branch, but wanted to point it out, did notice this in the log when it happened...

10:07:24 T:77704048 M: 9146368 ERROR: CAESinkALSA::AddPackets - Underrun
10:07:24 T:77704048 M: 8667136 ERROR: CAESinkALSA::AddPackets - snd_pcm_writei returned -32

Keep up the good work Smile

EDIT: It seemed to be an issue with my network, rebooted router and it all good now Smile

EDIT 2: Seems to still play up if you have slideshow running for a long time, took about half an hour this time to start playing up, I was using tail to check log and the above entries were the only errors showing.


- nirmv - 2011-07-24

gnif Wrote:Another update:
* Fixed 1 to 1 output of channels when playing files that have less channels then the configured channel layout, eg. stereo plays as stereo

Hi gnif, Just a small thing,
I confirm that stereo plays as stereo now, but the gui (menus) sound effects are still switching the receiver back to multi-channel (not during playback).
I would like to reduce switches to minimum (noisy clicks), can this be fixed ?


Thanks,
nirmv


- gnif - 2011-07-25

@dg69 - Thanks Smile. Your issue may be that I need to increase the buffer size in the ALSA sink, can you please try and increase ALSA_PERIODS in CAESinkALSA.cpp to say 64 and see how it goes?

@nirmv - I also have noted this behaviour and it is on my list of things to correct.


AC3 Passthrough not working - cdhesse - 2011-07-26

Hi gnif

AC3 passthrough and DTS has never worked for me in the AE branch, although it works fine on other build versions. I just verified it is still not working with my hardware as of a build I just pulled and complied a few minutes ago.

Here is the log, running a DVD iso. Behavior is that the AC3 (or DTS on other discs) don't output any sound at all. The video runs fast as well. The stereo track on any dvd will play fine too.

http://pastebin.com/kvm6fZG8

Let me know if I can provide anything else that helps!


- gnif - 2011-07-26

@cdhesse - Are you track switching on the DVD to the AC3/DTS track? or is that the default on the disks your playing? There is a known issue with changing tracks at this time.

Your log shows that everything is working fine, can you please try this file and provide me the log.

http://samples.mplayerhq.hu/A-codecs/DTS/bond_sample_dtshdma.m2ts


- cdhesse - 2011-07-27

gnif Wrote:@cdhesse - Are you track switching on the DVD to the AC3/DTS track? or is that the default on the disks your playing? There is a known issue with changing tracks at this time.

Your log shows that everything is working fine, can you please try this file and provide me the log.

http://samples.mplayerhq.hu/A-codecs/DTS/bond_sample_dtshdma.m2ts

Hi gnif,

I am not track switching, this iso auto plays a dd thx intro, which gives no sound. Other isos which are stereo do work. My preamplifier won't accept dtsma, so I assume this file won't work for me, but I'll try when I get back to my house.

Thanks for all the great work!

Again thanks for the great work.


- gnif - 2011-07-27

@cdhesse - You will be able to play that even if you dont have DTS-HD, AE pulls the DTS CoreAudio out of it so you still get standard DTS.