how to disable dts audio

iOS, iPad, iPhone, tvOS specific usage questions
lintw
Blank Cone
Blank Cone
Posts: 14
Joined: 21 Jan 2016 05:32

how to disable dts audio

Postby lintw » 21 Jan 2016 05:56

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

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: how to disable dts audio

Postby fkuehne » 21 Jan 2016 14:38

You need to disable it in libavcodec.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

lintw
Blank Cone
Blank Cone
Posts: 14
Joined: 21 Jan 2016 05:32

Re: how to disable dts audio

Postby lintw » 21 Jan 2016 16:11

hi Felix,
[architectures]/contribs/include/libavcodec/avcodec.h
===> update this file, and remove AV_CODEC_ID_DTS, (=> line: 391) right?

Thanks a lot!

lintw
Blank Cone
Blank Cone
Posts: 14
Joined: 21 Jan 2016 05:32

Re: how to disable dts audio

Postby lintw » 24 Jan 2016 22:15

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

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: how to disable dts audio

Postby fkuehne » 25 Jan 2016 09:03

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
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 33 guests