-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How about adding an encoder :) #3
Comments
An encoder is currently out of scope of this project, which focuses on decoding. Maybe someday... |
I know it's off topic, but what happened to XLLDec? |
It has been evolved into this project and removed to avoid any possible confusion. Just use dcadec, it's already superior in many ways. |
@merbanan Does dtsenc support anything but baseline DTS? and it looks like the project is dead... |
It supports dts core and has not been developed much for a few years. |
Yes, it's very improbable that someone will manage to convince Alexandr Patrakov to update dcaenc. |
Why would you want an encoder anyway? DTS is a terrible format. We're all glad here that this projects exists and can turn it into simple PCM. |
@wm4 Right? DTS truly is a terrible format, if anything I'd prefer a TrueHD encoder. |
The only situation I can think of that would require a DTS encoder is if you're producing your own Blu-rays. And I think if you're producing your own blu-rays, you're probably using different software to do so. |
It would be slightly difficult to write an encoder for TrueHD, but a decoder for that has already been reverse engineered, so 90% of our work is already done. |
There is a MLP/TrueHD encoder already. Not complete though. https://github.com/ramiropolla/mlpenc |
The TrueHD encoder is for Macs only. Also, it is much slower than the Master Audio Suite, and in the beginning, it had problems with seamless branching. |
@filler56789 Uh, I was using Dolby Media Encoder SE earlier today, and frankly the DTS Master Audio encoder is way slower, not that the TrueHD encoder is a speed demon or anything. Seriously, it took the DTS encoder like 45 minutes to encode, and the Dolby one like 30. IDK about seamless branching, I haven't exercised that part of the encoder yet. |
The answer is the usual marketing reasons. Technical merits rarely decide things in such areas. |
@merbanan Yeah, I know about that one. Actually I was working on importing it into FFmpeg earlier today, and it's giving me issues about DSPUtil.h, I asked Ramiro earlier about it, but he didn't know beyond it's been deprecated and split into various, unnamed headers; and the APIChanges file doesn't say a word about it. |
@Kit90 IDK about that, frankly I find reverse engineering easier than reading the majority of white papers, especially ones as bad as the DTS-HD one. that one needs fucking Jesus. |
I thought those terms were interchangeable? I meant the "Technical Specification" called "DTS Coherent Acoustics; Core and Extensions with Additional Profiles" version 1.4.1 Also called ETSI 102 114. |
@bumblebritches57: My bad, I should have written «WAS much slower» instead of "is much slower". |
@Kit90 I can't speak for anyone else, but when I said "DTS is truly a terrible format" I was talking about how convoluted and complicated it is, compared to other codecs. with it's frequency bands, core + diff architecture, the fact that some frames may not be lossless, while it still passes CRC checks, etc. EDIT: DTS-HD MA +Core is NOT smaller than FLAC, OR TrueHD... unless that was a typo? |
Having an open-source DTS encoder doesn't solve the problem that the format is heavily patented, which is enforced - see takedowns on the Play Store, OUYA store, etc. I'm happy that there's a decoder to get content out of the format, but I don't think the world needs more DTS files. If you're concerned about the well-definedness of FLAC, I think efforts would be better spent in the CELLAR working group, which is standardizing FLAC (as well as mkv and ffv1). Unlike many standards bodies, there's no "membership" and you can participate just by joining the mailing list: https://www.ietf.org/mailman/listinfo/cellar |
@Kit90 I see what you're saying now, I personally wouldn't measure it that way, because TrueHD is a standalone codec and can be reencoded down to a lossy codec such as AC3, but I get it. |
The real question for that comparison is why, when designing a new format, would any sane human being ever decide to encode both lossy and lossless audio in the same disc? Either you need it to be lossless (for reprocessing, archival or audiofoolery), in which case you use lossless audio. Or you don't, in which case you use lossy audio. What kind of world needs both to be around on the same disc? |
Backwards compatibility is a big concept in our world. Forcing users to buy new hardware all the time limits adoption quite strongly. |
^ So when designing a new format, if you know you're going to eventually bolt on lossless placebo modes for marketing reasons, why not just start out with the format being lossless to begin with so that players of the format don't have to change in the future? DTS is clearly a relic from a past due to bad decisions in the past, that doesn't mean we have any reason to adopt it in the future ever again. |
considering that DTS:X and Atmos extensions can only work in their native container I dont see how it would make sense to push for FLAC as new standard. well, maybe still for the "normal" streams, but not in case of these new audio formats. (also normal DTS-HD MA has several options for 7.1 speaker placement, I dont know if they are actually all covered by FLAC). |
So why is everyone ignoring this simple fact? Basically, the dts company will harass anyone trying to use it. It's crazy to use this format voluntarily. |
So I guess we should discuss whether object based audio is a marketing gag, and if not, then if there's really a reason why free codecs couldn't handle it provided someone defines an extension. Also, I question that there are really many people who have to encode 3D audio, other than Hollywood, who is in bed with these patent trolls anyway. |
it makes more sense to discuss this when someone finally provides the definition of the extensions. otherwise there is no point thinking about it. |
a bit off topic, but considering the last change was a month ago now: Is "everything" fixed now/working as intended? |
@Thunderbolt8 What do you mean by that? DCADec itself isn't done, I've still got to finish the LBR decoder, and we still need to add in support for dialog normalization and dynamic range compression, and a few other features. Then of course there's DCA's next gen codec extension which hasn't been published yet. |
by support for dialog normalization and dynamic range compression you mean the ability to apply such things? or also remove them? |
Like applying it to the decoded audio. |
git clone https://gitorious.org/dtsenc/dtsenc.git
This encoder could use some love.
The text was updated successfully, but these errors were encountered: