Page 1 of 1

how to disable dts audio

Posted: 21 Jan 2016 05:56
by lintw
Using xcode7.2 iphoneos9.2
on OS X Yosemite 10.10.5
src used downloaded from git (https://code.videolan.org/videolan/VLCKit.git)
how to disable dts codec?
i've already added --disable-dca to build.sh ([source code path]/MobileVLCKit/ImportedSources/vlc/extras/package/ios/build.sh)
and use compile command: ./sh -x buildMobileVLCKit.sh -f -n

but, still can playback(output) dts audio.

any idea?
Thanks

Re: how to disable dts audio

Posted: 21 Jan 2016 14:38
by fkuehne
You need to disable it in libavcodec.

Re: how to disable dts audio

Posted: 21 Jan 2016 16:11
by lintw
hi Felix,
[architectures]/contribs/include/libavcodec/avcodec.h
===> update this file, and remove AV_CODEC_ID_DTS, (=> line: 391) right?

Thanks a lot!

Re: how to disable dts audio

Posted: 24 Jan 2016 22:15
by lintw
any one can help me?
how can i disable dts audio in libavcodec? which file(function) should be modified?
i need more info please!!!
Thanks

Re: how to disable dts audio

Posted: 25 Jan 2016 09:03
by fkuehne
You need to disable the codecs in the configure step of libavcodec.

Here is a patch to disable other multi-channel codecs, to get you going: https://www.dropbox.com/s/zbi4ab39rfmf4 ... patch?dl=0