XBMC Community Forum  

Go Back   XBMC Community Forum > Development > XBMC Development

XBMC Development Developers forums for XBMC related development. Programmers/Coders only!
No end-user support, no bug reports, and no feature/function requests here!
Please, add platform prefix for suggestions that are not platform-independent!:
Thread prefixes; "[LINUX]", "[LIVE]", "[MAC]", "[WINDOWS]", and "[XBOX]"

Reply
 
Thread Tools Search this Thread Display Modes
Old 2004-03-08, 07:26   #1
jmarshall
Team-XBMC Developer
 
Join Date: Oct 2003
Posts: 15,070
jmarshall is on a distinguished road
Default

hi all,

i've just implemented preliminary 48khz direct digital output of pcm streams (and anything that decodes to 2 channel 48khz pcm such as mp3/ogg/flac/aac etc. etc.) into cvs.

this is an experiment to see whether adding our own high quality 44.1khz -> 48khz upsampling is worth the cost in terms of coding and the cpu performance hit.

i need people to test the quality of this.

to participate, please first obtain the ssrc.exe tool (windows command line tool) from here:

homepage of ssrc resampler program

next, do the following:

1. get a good cd track you wish to use for testing the quality.

2. rip it using eac or something you're confident with to .wav format.

3. next, run it through ssrc with the options:

ssrc --rate 48000 in.wav out.wav

you could add --dither 3 or 4, and --pdf options if you wish to see if these make a difference.

4. copy both files to the xbox and check you have dd/dts passthrough enabled (and digital out!). note you don't have to have a dd/dts decoder - just pcm is fine.

5. play both tracks - see which one you like the sound of better and report back here. note that you should be able to tell that the 48khz one is being direct passed through by watching a viz - not a lot should be happening if all is working.

note that i encoded both my files with flac in order to reduce the size and also i had a bit of trouble with .wavs causing crashes at the end of the track.

let me know how it goes. note that the direct digital output track has been attenuated by mplayer on playback in order to match the output from the mcpx audio processor on the xbox - this will, if anything, reduce the quality and dynamic range of the 48khz file.

i have tested norah jones "don't know why" but could not determine a significant difference, though i think i prefered the direct passthrough method. this may be because i was expecting it to be better, though!

let us know how it goes.

cheers,
jonathan
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


jmarshall is offline   Reply With Quote
Old 2004-03-08, 08:28   #2
pike
Project Manager
 
pike's Avatar
 
Join Date: Sep 2003
Location: Sweden
Posts: 4,281
pike is on a distinguished road
Send a message via MSN to pike
Default

i will test this later today!

like i wrote here ssrc is the way to go. low cpu usage and one (if not the) best resamplers available out there.
__________________
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first.


pike is offline   Reply With Quote
Old 2004-03-08, 08:39   #3
MrMario64
Team MediaPortal
 
MrMario64's Avatar
 
Join Date: Oct 2003
Posts: 192
MrMario64 is on a distinguished road
Default

great, i will test this today to..
(though i will install an xboc with xbmc at a friends house to so hope i have the time )
MrMario64 is offline   Reply With Quote
Old 2004-03-08, 11:53   #4
thebeast
Senior Member
 
Join Date: Oct 2003
Location: EU, Denmark, Copenhagen
Posts: 194
thebeast is on a distinguished road
Default

i wish i could test this, but i don't have digital output add-on or cool audio hardware yet. it sounds great though, lets squeeze everything audio out of the xbox hardware, that is possible.

and then a little more
thebeast is offline   Reply With Quote
Old 2004-03-08, 12:34   #5
Butcher
Team-XBMC Developer
 
Join Date: Dec 2003
Posts: 765
Butcher is on a distinguished road
Default

Quote:
Originally Posted by (pike @ mar. 08 2004,06:28)
i will test this later today!

like i wrote here ssrc is the way to go. low cpu usage and one (if not the) best resamplers available out there.
only worth it if it's better than the mcpx though - as that is effectively no cpu.
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Butcher is offline   Reply With Quote
Old 2004-03-08, 13:39   #6
pike
Project Manager
 
pike's Avatar
 
Join Date: Sep 2003
Location: Sweden
Posts: 4,281
pike is on a distinguished road
Send a message via MSN to pike
Default

when we enabled passthru for dd, the difference was -very- noticeable
__________________
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first.


pike is offline   Reply With Quote
Old 2004-03-08, 13:44   #7
Butcher
Team-XBMC Developer
 
Join Date: Dec 2003
Posts: 765
Butcher is on a distinguished road
Default

true, but a dd resample is different from pcm stereo.
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Butcher is offline   Reply With Quote
Old 2004-03-08, 14:22   #8
pike
Project Manager
 
pike's Avatar
 
Join Date: Sep 2003
Location: Sweden
Posts: 4,281
pike is on a distinguished road
Send a message via MSN to pike
Default

ok, i _attempted_ to do the test but it was not possible due to:

the 44khz one, no problem (as expected)
the 48khz one, didnt make the slightest *beep*

it doesnt help that settings;music is quite "screwed up" at the moment
__________________
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first.


pike is offline   Reply With Quote
Old 2004-03-08, 14:24   #9
pike
Project Manager
 
pike's Avatar
 
Join Date: Sep 2003
Location: Sweden
Posts: 4,281
pike is on a distinguished road
Send a message via MSN to pike
Default

Quote:
Originally Posted by (butcher @ mar. 08 2004,12:44)
true, but a dd resample is different from pcm stereo.
yeah, atleast 2steps less, no decoding/encoding (unless output to all speakers naturally)
__________________
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first.


pike is offline   Reply With Quote
Old 2004-03-08, 17:03   #10
Gamester17
Team-XBMC Project Manager
 
Gamester17's Avatar
 
Join Date: Sep 2003
Location: Sweden
Posts: 10,582
Gamester17 will become famous soon enough
Default

Quote:
[14:43] <poing> i'm not sure if a change jcmarsha comitted was intended to work like that, or if it's a bug
[14:43] <poing> stereo 48khz material is always output with passthru now
[14:44] <poing> ignoring the stereo passthru yes/no option
sound like a bug to me (sorry i don't have external amp/decoder so i can't test or confirm this, wish i had/could though)
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Gamester17 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Digital audio output -- dups XBMC for Xbox Specific Support 3 2005-09-06 21:47
Digital output byran XBMC for Xbox Specific Support 5 2005-05-29 16:42
Mp3 and digital output dts lololorenzo XBMC for Xbox Specific Support 3 2005-01-14 11:27
Mp3 and digital output dts lololorenzo XBMC General Discussion 1 2005-01-14 10:41
Digital Output jborer XBMC for Xbox Specific Support 1 2004-05-28 18:31


All times are GMT +2. The time now is 22:29.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project