Only Amarok 1.4.9.1 can play a DTS wav file and I cannot convert it to OGG or FLAC.

Asked by Uqbar

Only Amarok 1.4.9.1 can play a DTS wav file and I cannot convert it to OGG or FLAC.
I cannot burn it to a CD as my player doesn't support DTS.
Is there a way to work this issue around?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu amarok Edit question
Assignee:
No assignee Edit question
Solved by:
Adam Buchbinder
Solved:
Last query:
Last reply:
Revision history for this message
Best Adam Buchbinder (adam-buchbinder) said :
#1

I'd tell you to use ffmpeg, but it apparently can't understand DTS WAV files. (Bug? Feature? Who knows?) You'll have to convert it into a plain PCM WAV file first, and then convert that into your format of choice. The following method worked for me with DTS WAV files from http://www.diatonis.com/downloads_dts_ac3.html.

Make sure you have mplayer installed, and I believe you'll need the libdca0 package installed if you don't already have it. Now, turn the DTS WAV files into a plain PCM WAV file. (This may take quite a bit of disk space.)

$ mplayer -vo null -vc null -ao pcm:fast:file=temp.wav DTS_INPUT.wav

You can now encode it as FLAC or OGG or whatever using your favorite tools:

$ oggenc temp.wav OUTPUT.ogg
$ ffmpeg -i temp.wav OUTPUT.flac

or whatever codec you prefer.

Please let me know if this works, and don't hesitate to ask if you have any questions.

Revision history for this message
Uqbar (uqbar) said :
#2

It worked, simply and effectively!
I didn't try mplayer as it is not my favourite multimedia player. Not yet.
But I will suggest everyone to have a player with rich CLI options. Like mplayer.

Revision history for this message
Uqbar (uqbar) said :
#3

Thanks Adam Buchbinder, that solved my question.

Revision history for this message
Adam Buchbinder (adam-buchbinder) said :
#4

For future reference, I've noticed that there's a way to force ffmpeg to parse its input as a DTS WAV, so you can convert to FLAC output in one step:

$ ffmpeg -f dts -i DTS_INPUT.wav OUTPUT.flac