rada Apprentice
Joined: 21 Oct 2005 Posts: 202 Location: Ottawa, Canada
|
Posted: Sat Apr 19, 2008 10:36 pm Post subject: HOWTO: Play DTSWAV cd/images with Mplayer and JACK |
|
|
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:
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. |
|