z·eeki·sh

tech log on gentoo, linux, and random stuff

playing .nrg format dts cd with mplayer

leave a comment »

Well, I was about to write about using cdemu to simulate a cd-device from an .nrg file, and then use mplayer to play the simulated device. It turns out you don’t even need cdemu if it’s a media cd/dvd image. Here’s the cli:

mplayer cdda:// -cdrom-device yourfile.nrg -rawaudio format=0x2001

the only mysterious part is the magic number 0x2001, telling mplayer the disc has dts rawaudio. Apparently you can find this number by man mplayer and search for dts.

Advertisements

Written by zsh

March 15, 2009 at 3:39 pm

Posted in /usr/bin

Tagged with , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: