Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491232 - media-sound/dcaenc - Encoder for the DTS Coherent Acoustics audio format
Summary: media-sound/dcaenc - Encoder for the DTS Coherent Acoustics audio format
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: http://aepatrakov.narod.ru/index/0-2
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2013-11-14 09:53 UTC by Roger
Modified: 2014-08-29 02:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dcaenc-2.ebuild (dcaenc-2.ebuild,442 bytes, text/plain)
2013-11-14 09:54 UTC, Roger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roger 2013-11-14 09:53:44 UTC
dcaenc is a Free Software (LGPL-licensed) encoder for the DTS Coherent Acoustics audio format.

Attached is a new ebuild for this software project

Reproducible: Always




DTS is patented. If I'm not mistaken, if you already own a hardware device which uses DTS, then you already have a (implied?) license.
Comment 1 Roger 2013-11-14 09:54:12 UTC
Created attachment 363246 [details]
dcaenc-2.ebuild
Comment 2 Roger 2013-11-14 09:59:00 UTC
I should cite the implied license for use was acquired from some other software project, of or relating to Dolby/A52.  (This may have been stated within one of the many ALSA related Internet sites.)  Nevertheless, always consult with a lawyer, and this is more so with businesses making money from the technology. ;-)
Comment 3 Roger 2013-11-15 21:28:50 UTC
FYI: Using the alsa plugin is quite easy.  "aplay -L" (not "aplay -l"), as only the ALSA DCA device will be shown with the capitol "-L" option here, and note the DCA device(s) attached to the S/PDIF devices.  "mplayer -ao alsa:device=dca /Path/To/PCM.WAV" and ensure your DTS/Dolby receiver is connected via S/PDIF.  Seems to remix any PCM WAV file, no matter how many channels or it's bit format, into DTS quite well.  (ie. 16 or 24 bit, as the DCA plugin likely automatically down-mixes to 16 bit when using S/PDIF?)

I've been unsuccessful in using the /bin/dcaenc, as I keep getting a "Could not open or parse /home/roger/tmp/input.wav".  Shrugs.  (Likely something amiss there.)

I think the a52 plugin for ALSA for encoding PCM 5.1 WAV files into 2 Channel 16 bit A52/AC3 (AKA Dolby) will still be far more popular and likely produce better quality as I think the author of dcaenc has already stated, but dcaenc will provide a choice for users.  (Guessing the younger people enjoying the higher contrasting DTS for music, until the dcaenc code matures and gets through any hurdles. ;-)  Most movies or music already provide DTS tracks.

I just bought the Movie Chicago and will likely test comparing DTS and A52 mixing the PCM-5.1 stream over S/PDIF sometimes, as I still dislike HDMI.
Comment 4 Steve Dibb (RETIRED) gentoo-dev 2014-08-22 17:51:05 UTC
> I've been unsuccessful in using the /bin/dcaenc, as I keep getting a "Could
> not open or parse /home/roger/tmp/input.wav".  Shrugs.  (Likely something
> amiss there.)

I ran into the same problem.  Make sure the source file is 6 channels.
Comment 5 Steve Dibb (RETIRED) gentoo-dev 2014-08-22 17:51:39 UTC
Thanks for the ebuild, Roger!  In CVS.
Comment 6 Roger 2014-08-29 02:23:21 UTC
I think I also figured out the six channel requisite sometime later after filing the last comment.

Thanks for your time committing this ebuild!