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
[ffmpeg] Add support for libdcadec #7102
Conversation
@UniversaI says who? |
Besides that - I think that all platforms should have the opportunity to use dcadec when we compile it. It's also worth it on linux, windows and so on. Let me PR you something. |
@fritsch it's DTS-HD as said by the DTS company |
@MartijnKaijser I know - but there are other things to be discussed here first. I will open the BikeShedding Process with a green lamp, when ready. |
via: popcornmix#11 |
@fritsch to add what @MartijnKaijser already said. You have currently this sentence
You use both DTS HD* and _DTS-HD_ on same sentence. So why are we causing more inconsistencies? Why cant it all be consistent and uniform when referring to same thing? FYI its not bikeshedding, it genuine review. |
|
||
#: system/settings/rbp.xml system/settings/imx6.xml | ||
msgctxt "#38120" | ||
msgid "Support 8 channel DTS HD audio decoding" |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Please don't add ffmpeg patches in depends, they should go to our ffmpeg repo instead(or come in automatically with the next rebase) |
|
||
#: system/settings/rbp.xml system/settings/imx6.xml | ||
msgctxt "#38121" | ||
msgid "This option supports 8 channel DTS HD decoding, but may use more CPU. It is only available when DTS and DTS-HD audio passthrough is disabled" |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
I'm curious why a new setting is being introduced? as we don't have a similar setting for TrueHD, we simply automatically decode to PCM if TrueHD is not enabled. I'm asking as in my view the methods for TrueHD and DTS-HD should be consistent from a UI point of view. |
Reason: IMX (2 core), Raspberry Pi A, B+ might be too slow to get that decoded. On all other platforms it is default enabled. |
ba83587
to
bdf128d
Compare
Squashed existing commits. @wsnipex Looks like there are no tags on https://github.com/foo86/dcadec Agreed the first commit should be dropped and added to our ffmpeg repo. Depending on when this gets merged one of our ffmpeg bumps might pick it up (the commits are from master of ffmpeg). |
@popcornmix we need something additional here? What is needed to get that one in? |
I think it's virtually there. The ffmpeg patches have been dropped (they are in current master version). I suspect we need to pick a version and host it ourselves. If someone can upload the tarball to a suitable place I can update the URL in the makefile. |
what happend to the changes from popcornmix#14 |
@wsnipex they were there... Let me have a look. |
Okay, I've added back the @wsnipex commits. |
You mean bumping ffmpeg? and then we are done? |
No, ffmpeg is okay. The tarball from https://github.com/foo86/dcadec is a little old. |
@@ -56,6 +56,7 @@ endif | |||
ifeq ($(Configuration), Release) | |||
ffmpg_config += --disable-debug | |||
endif | |||
ffmpg_config += --enable-libdcadec |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@popcornmix thx. @wsnipex could you bump the tar? then we could continue this here to get it merged? |
current master tarball uploaded to mirrors as libdcadec-git-2a9186e3.tar.gz |
squashed in @stefansaraev's latest patch. jenkins build this please |
Spoke with @stefansaraev in IRC and agreed to do the win32 work, tonight if time permits or over the weekend |
@popcornmix pick Paxxi/xbmc@4fad9d8 for win32 work. |
@Paxxi added your commit to PR. |
file uploaded. will take some time to be available |
jenkins build this please |
mind rebasing ? |
jenkins build this please |
I updated the string numbers and added a comment about where the settings strings were from during the rebase, so would be useful if someone just sanity checks that looks okay. |
strings look good to me @popcornmix thanks. |
Android-x86 and win32 failed, but doesn't look related to this PR. |
jenkins error unrelated. triggered manual builds (just in case) - all green. @MartijnKaijser your button |
[ffmpeg] Add support for libdcadec
I've a problem:
any clues? |
On Ubuntu I added the nightly PPA: https://launchpad.net/~team-xbmc/+archive/ubuntu/xbmc-nightly then |
My solution:
(Gentoo's media-sound/dcadec package isn't ready for primetime yet: https://bugs.gentoo.org/buglist.cgi?quicksearch=dcadec ) |
#. Description of setting #38118 Settings -> System -> Audio output -> Support 8 channel DTS-HD audio decoding | ||
#: system/settings/settings.xml | ||
msgctxt "#38119" | ||
msgid "Enables decoding of high quality DTS-HD audio streams. Note: This increases CPU load and is only available when DTS and DTS-HD audio passthrough are disabled." |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Unfortunately I still can't get configure to find libdecadec (see http://forum.kodi.tv/showthread.php?tid=229552&pid=2098454#pid2098454) |
Sorry - this is not place to answer gentoo build system issues. The Ubuntu way, that we support is supported via our ppa. |
@@ -1139,6 +1140,7 @@ PKG_CHECK_MODULES([GNUTLS], [gnutls], [have_gnutls=yes];AC_DEFINE([HAVE_GNUTLS], | |||
AC_CHECK_LIB([bz2], [main],, AC_MSG_ERROR($missing_library)) | |||
AC_CHECK_LIB([jpeg], [main],, AC_MSG_ERROR($missing_library)) # check for cximage | |||
AC_CHECK_LIB([tiff], [main],, AC_MSG_ERROR($missing_library)) | |||
AC_CHECK_LIB([dcadec], [main],, AC_MSG_ERROR($missing_library)) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This enables libdcadec support in ffmpeg which means you get the 8 channel, lossless decode of DTS-HD tracks.
Just pushing this out in case anyone would find it useful to cherry-pick for now, but we might want to include it in Isenguard+1