Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: Play DTSWAV cd/images with Mplayer and JACK
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
rada
Apprentice
Apprentice


Joined: 21 Oct 2005
Posts: 202
Location: Ottawa, Canada

PostPosted: Sat Apr 19, 2008 10:36 pm    Post subject: HOWTO: Play DTSWAV cd/images with Mplayer and JACK Reply with quote

So after a long time of trying to do this and many people telling me it cannot be done, I finally figured out how to play DTSWAV files in gentoo.

Prereqs:
    ALSA working
    A home theater receiver or some external DTS decoder
    Mplayer working with the jack useflag enabled
    DTSWAV files/cds (obviously!)


First off you need to get jack working. Follow http://gentoo-wiki.com/HOWTO_Jack for this.

Install qjackctl
Code:
 emerge -av qjackctl


In the setup window, change:
Code:
 Sample Rate: 44100

Forcing the samplerate is key since usually (espically with hda-intel and some others) 48000hz is the default and cannot easily be changed. AFAIK with emu10k1 this cannot be changed.

If you have hda-intel, change Periods/Buffer from 2 to 3. You may also need to change interface from default to your digital out (hw:0,1 for me).
Code:
Periods/Buffer: 3
Interface: hw:0,1

Start the jack server by pressing the big start button in qjackctl.

This next part changes a bit depending on how your dtswav files are organized.
For bin/cue cd images, start mplayer with:
Code:
mplayer -ao jack -cdrom-device /path/to/image.cue cdda://


For a cd in the drive:
Code:
mplayer -ao jack cdda://


In theory, this should be doable without JACK by playing with asoundrc but it's nowhere near as user-friendly..

If anyone has comments/suggestions on how to make this better, please post. More later.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum