[Windows] AudioEngine testers - Windows platform only

  Thread Rating:
  • 3 Votes - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
thrak76 Offline
Moderator
Posts: 1,211
Joined: Mar 2011
Reputation: 21
Location: Lake Michigan Shoreline
Post: #61
Forgive me, but... is the AE used for playback of video and music files?

So, if you had an ISO in your music library, it would play back the 5.1 tracks from within the music library? I have a lot of surround music that uses DVD-video for the format. Would i still have to use the videos library for this playback? Does the AE strictly deal with music files in the music library? Sorry if that's confusing, but i would try this build out if I knew some of these answers...
find quote
HeresJohnny Offline
Senior Member
Posts: 145
Joined: Mar 2011
Reputation: 2
Location: Germany
Post: #62
(2012-04-01 20:06)DDDamian Wrote:  The 24/96 Elvis Costello track should play beautifully - but I see lot's of

I narrowed down the flac playback problem to the "sync video to display" being enabled. With that turned off, hi-res flac plays fine. Still no joy with dts, though. That's strange, because even standard XBMC makes the DTS light come up on my receiver.

The log is cut off because at that point XBMC just froze trying to play the DTS Confused
(This post was last modified: 2012-04-01 22:04 by HeresJohnny.)
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #63
@ix400 - had a look through the log (thanks for that) and noticed one big issue:

Code:
08:44:33 T:2940   DEBUG: Error: Requested setting (pvrplayback.signalquality) was not found.  It must be case-sensitive
08:44:36 T:2200   DEBUG: Previous line repeats 90 times.

The log is full of it. It was a bug in the Aeon skin where it was compiled with pvr-enabled, and when it can't find the pvr it spams the log with a ton of error messages. This ties up all kinds of CPU cycles and can easily cause playback glitches like you're seeing on high-bitrate files. Not related to AE, but will affect it big-time.

See here:
http://forum.xbmc.org/showthread.php?tid=114383

I'd start by eliminating that. Try a different skin and if that doesn't help you'll have to do a clean install unfortunately. Once that issue is gone you should see much better results overall. For the buffer value i'd recommend anywhere from 50msec to 100msec as a starting range (I may have to change that default value), but you need to eliminate that pvr spam bug or you just won't get any performance out of 1080p and DTS-MA with it stealing CPU time.

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
(This post was last modified: 2012-04-01 23:55 by DDDamian.)
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #64
(2012-04-01 21:10)thrak76 Wrote:  Forgive me, but... is the AE used for playback of video and music files?

So, if you had an ISO in your music library, it would play back the 5.1 tracks from within the music library? I have a lot of surround music that uses DVD-video for the format. Would i still have to use the videos library for this playback? Does the AE strictly deal with music files in the music library? Sorry if that's confusing, but i would try this build out if I knew some of these answers...

AE handles all the audio - regardless of whether played via the internal DVDPlayer (video) or PAPlayer (audio only music player), If the files are in DVD-Video format, whether ISO or in vob files in a VIDEO_TS folder, then you need to play them as videos. But AE will be doing the audio either way. Technically you're playing a video if the files are in vob/vts/iso files.

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #65
(2012-04-01 22:01)HeresJohnny Wrote:  
(2012-04-01 20:06)DDDamian Wrote:  The 24/96 Elvis Costello track should play beautifully - but I see lot's of

I narrowed down the flac playback problem to the "sync video to display" being enabled. With that turned off, hi-res flac plays fine. Still no joy with dts, though. That's strange, because even standard XBMC makes the DTS light come up on my receiver.

The log is cut off because at that point XBMC just froze trying to play the DTS Confused

Good to hear - I don't recommend the "sync video to display" for any high-def audio - or in general for that matter.

Can you post a log trying only the Peter Gabriel video? I play it on mine fine. I know that it is one of the very few out there that uses DTS 96/24 audio, so it may be that your audio device doesn't handle DTS 96/24 and standard XBMC is playing the core DTS track.

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
(This post was last modified: 2012-04-01 23:58 by DDDamian.)
find quote
liquidskin76 Offline
Skilled Skinner
Posts: 1,348
Joined: Aug 2009
Reputation: 17
Location: Arkham, Gotham City
Post: #66
Hi DDDamian,

Good news! The pausing/hanging when seeking is fixed. Well done. Wink

The only thing i am seeing is video is slighty jumpy after seeking on all bitstreamed audio, plus plays fast for a second or two after seeking. Decoded audio like flac is fine. Maybe one for later (in the name of polishing to perfection!).

Oh, and the famous 24p audio sync issue isn't present!!! Big Grin Guessing this has nothing to do the audio delay patch that exists?

Thanks. Keep up the great work.

HTPC: Streacom F1C | Asus H87I-Plus ITX | Intel Core i5-4670T | Kingston HyperX SSD | Kingston DDR3 RAM
Home AV: Sony KDL-40HX723 | Sky+HD | Sony BDP-S480 BD Player | Sony STR-DH820 AV Receiver | Sony 5.1 Speaker System | Sony PS3 Slim | Logitech Harmony Touch
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #67
Hey liquidskin - great news, and nice to hear!

The jumpy restart is something I'm working on - the output device gets re-opened twice, so it adds to the delay - should be an easy bug to nail down Smile

And nope - no audio delay patch activated (although you can just by adding the advancedsettings tags) - this is pure and natural better timing code!

Awesome to hear - will nail that re-opening bug. In the meantime, enjoy the sound!!! Smile

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
find quote
liquidskin76 Offline
Skilled Skinner
Posts: 1,348
Joined: Aug 2009
Reputation: 17
Location: Arkham, Gotham City
Post: #68
(2012-04-02 02:04)DDDamian Wrote:  Hey liquidskin - great news, and nice to hear!

The jumpy restart is something I'm working on - the output device gets re-opened twice, so it adds to the delay - should be an easy bug to nail down Smile

And nope - no audio delay patch activated (although you can just by adding the advancedsettings tags) - this is pure and natural better timing code!

Awesome to hear - will nail that re-opening bug. In the meantime, enjoy the sound!!! Smile

DDDamian... gnif and you are bloody good blokes!

Great to see the '24p/match refresh rate' issue properly fixed. That will please ALOT of people!! Big Grin Also, great to hear you're on the case with the jumpy restart. Wink

Are you planning on doing a Eden final build/git update? The possible merge to master date is getting closer, so you may feel it's not worth it?

Cheers
Oh... the slight delay on audio returning after a seek is still there. Could that be due to the output device being opened twice?

Cheers

HTPC: Streacom F1C | Asus H87I-Plus ITX | Intel Core i5-4670T | Kingston HyperX SSD | Kingston DDR3 RAM
Home AV: Sony KDL-40HX723 | Sky+HD | Sony BDP-S480 BD Player | Sony STR-DH820 AV Receiver | Sony 5.1 Speaker System | Sony PS3 Slim | Logitech Harmony Touch
(This post was last modified: 2012-04-02 02:15 by liquidskin76.)
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #69
(2012-04-02 02:11)liquidskin76 Wrote:  
(2012-04-02 02:04)DDDamian Wrote:  Hey liquidskin - great news, and nice to hear!

The jumpy restart is something I'm working on - the output device gets re-opened twice, so it adds to the delay - should be an easy bug to nail down Smile

And nope - no audio delay patch activated (although you can just by adding the advancedsettings tags) - this is pure and natural better timing code!

Awesome to hear - will nail that re-opening bug. In the meantime, enjoy the sound!!! Smile

DDDamian... gnif and you are bloody good blokes!

Great to see the '24p/match refresh rate' issue properly fixed. That will please ALOT of people!! Big Grin Also, great to hear you're on the case with the jumpy restart. Wink

Are you planning on doing a Eden final build/git update? The possible merge to master date is getting closer, so you may feel it's not worth it?

Cheers
Oh... the slight delay on audio returning after a seek is still there. Could that be due to the output device being opened twice?

Cheers

I'll definitely do another merge with master soon, not so much for the Eden final bit, but because of some other goodies going in after Eden final was released.

And yep - that audio delay on seek is related to the double-opening. Minimizing the buffer size should minimize it, but it's not the root cause - which you've correctly figured out Wink

Glad to here it's going well for you!

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
find quote
jayhawk785 Offline
Aeon Group
Posts: 230
Joined: Oct 2008
Post: #70
(2012-04-01 22:38)DDDamian Wrote:  
(2012-04-01 22:01)HeresJohnny Wrote:  
(2012-04-01 20:06)DDDamian Wrote:  The 24/96 Elvis Costello track should play beautifully - but I see lot's of

I narrowed down the flac playback problem to the "sync video to display" being enabled. With that turned off, hi-res flac plays fine. Still no joy with dts, though. That's strange, because even standard XBMC makes the DTS light come up on my receiver.

The log is cut off because at that point XBMC just froze trying to play the DTS Confused

Good to hear - I don't recommend the "sync video to display" for any high-def audio - or in general for that matter.

Can you post a log trying only the Peter Gabriel video? I play it on mine fine. I know that it is one of the very few out there that uses DTS 96/24 audio, so it may be that your audio device doesn't handle DTS 96/24 and standard XBMC is playing the core DTS track.

I tried this build briefly on sunday morning (currently using the windows patch version) --I had the same issue described above but did not have a chance to grab a log. i do use Aeon Nox, so I'm not sure if the PVR piece was present or not. I also have sync audio checked. Initially my AVR showed the light bouncing and no audio was rendered/slow video. I went into audio settings again and forced the Denon AVR/nvidia/hdmi output. This resulted in cannot initialize your audio device errors. I'll see if I can reproduce it again and grab a debug log. The machine is an i5 w/ 460gtx card--so it should have plenty of juice. The AVR is a denon 3311. I can test vs. denon 3310, 3311, and 4311 if need be. I just wanted to chime in that it happened to me as well. DTS / DD audio worked fine -- even when the hd audio reported could not initialize device.
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #71
@jayhawk785 - please do grab a log and post it here. If you're using Aoen Nox and have the same pvr-spam bug it will certainly affect the higher bitrate files like DTS-MA/TrueHD. They stream at very high rates, so a thread tying up CPU cycles will interrupt the flow and cause that issue. Your setup has more than enough horsepower to do the job but an errent thread being tied up will bring any processor to it's knees, especially with time-critical stuff like high-def playback.

I also do not recommend Sync to Display as mentioned - it's almost forcing errors in audio or video output.

Nice selection of amps BTW - big Denon fan here as my sig shows Tongue

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
(This post was last modified: 2012-04-02 16:23 by DDDamian.)
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #72
@liquidskin - how confident are you that 24p (23.976hz) material is better synced now? Can anyone else confirm? I've tightened up the code and timing calcs and it's great on mine, but my GPU always had decent timing control to begin with.

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
find quote
liquidskin76 Offline
Skilled Skinner
Posts: 1,348
Joined: Aug 2009
Reputation: 17
Location: Arkham, Gotham City
Post: #73
(2012-04-02 16:08)DDDamian Wrote:  @liquidskin - how confident are you that 24p (23.976hz) material is better synced now? Can anyone else confirm? I've tightened up the code and timing calcs and it's great on mine, but my GPU always had decent timing control to begin with.

Well, it looked spot on with TrueHD and most DTS-HD audio. However i must admit, on some DTS-HD audio's it looked ever-so slightly out. I thought it was eyes! I'll check all DTS-HD stuff again and let you know.

I'm on a AMD 6450 by the way, however in the past i've had the audio sync problem on a NVidia GT 520 and standard XBMC as well.

Cheers

HTPC: Streacom F1C | Asus H87I-Plus ITX | Intel Core i5-4670T | Kingston HyperX SSD | Kingston DDR3 RAM
Home AV: Sony KDL-40HX723 | Sky+HD | Sony BDP-S480 BD Player | Sony STR-DH820 AV Receiver | Sony 5.1 Speaker System | Sony PS3 Slim | Logitech Harmony Touch
(This post was last modified: 2012-04-02 17:26 by liquidskin76.)
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #74
Thx liquidskin - I have the same GPU and it's awesome as far as sync - even rated as one of the best at the dreaded 23.976hz nightmare. Highly recommend for those doing an HTPC build - and the price is amazing right now.

If anyone else can chime in on the sync it would be great (as well as any other comments good or bad)

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
find quote
ix400 Offline
Senior Member
Posts: 193
Joined: Aug 2010
Reputation: 0
Location: Germany
Post: #75
(2012-04-01 22:30)DDDamian Wrote:  @ix400 - had a look through the log (thanks for that) and noticed one big issue:

Code:
08:44:33 T:2940   DEBUG: Error: Requested setting (pvrplayback.signalquality) was not found.  It must be case-sensitive
08:44:36 T:2200   DEBUG: Previous line repeats 90 times.

The log is full of it. It was a bug in the Aeon skin where it was compiled with pvr-enabled, and when it can't find the pvr it spams the log with a ton of error messages. This ties up all kinds of CPU cycles and can easily cause playback glitches like you're seeing on high-bitrate files. Not related to AE, but will affect it big-time.

See here:
http://forum.xbmc.org/showthread.php?tid=114383

I'd start by eliminating that. Try a different skin and if that doesn't help you'll have to do a clean install unfortunately. Once that issue is gone you should see much better results overall. For the buffer value i'd recommend anywhere from 50msec to 100msec as a starting range (I may have to change that default value), but you need to eliminate that pvr spam bug or you just won't get any performance out of 1080p and DTS-MA with it stealing CPU time.

Thanks for having a look.

I did a fresh install of your latest build and used the default skin. I also disabled the video sync feature. However, I still observe the permanent switching between PCM and DTS-HD, and I get no sound. Playing around with the buffer setting seems to influence the frequency of the switching in the display of my receiver.

Here's a log with a setting of 100ms buffer size:

http://db.tt/Ypd2LPgW

Funny thing is that the whole HD-audio business is working with DanielA's non-AE HD-audio build. Even with the erroneous skin and the sync feature enabled.

Any ideas? Let me know if I can do some further testings.

Chris

unRAID Server, Pioneer VSX-LX52, Panasonic 65VT30, Marusys VU+ Duo, Zotac AD10
(This post was last modified: 2012-04-02 19:23 by ix400.)
find quote
Post Reply