Page 1 of 1

VLCKit - DTS/Dolby/AC3 --> Stereo

Posted: 13 May 2014 14:18
by soullessff
Hi,

I've added VLCKit to my project. When I play a movie, DTS/Dolby/AC3 pass-through doesn't support. Dolby Digital tracks seem to play as stereo.

How can I solve this?

Thanks

Re: VLCKit - DTS/Dolby/AC3 --> Stereo

Posted: 13 May 2014 22:34
by dfuhrmann
The auhal audio output supports passthrough. You need to make sure that this module is used. Additionally, spdif needs to be enabled or the proper audio device needs to be set (not sure if this is possible with VLCKit).

Re: VLCKit - DTS/Dolby/AC3 --> Stereo

Posted: 15 May 2014 18:22
by soullessff
Hi,

Thank you for your response. I have libauhal_plugin.dylib in VLCKit plugins folder but I can't find some way to enable spdif with VLCKit. Can anybody say me if it's possible please?

Thanks

Re: VLCKit - DTS/Dolby/AC3 --> Stereo

Posted: 17 May 2014 11:44
by dfuhrmann
Look at the VLC command line options. AFAIK you can pass something like "--enable-spdif" here, and also on libvlc initialization.

Re: VLCKit - DTS/Dolby/AC3 --> Stereo

Posted: 13 Aug 2014 12:55
by soullessff
Thanks dfuhrmann,

I was reading a lot about it and I believe this is the correct way. However I've tried several commands and they don't work. The audio desync option is the only option I get works,

Code: Select all

[_media addOptions:[NSDictionary dictionaryWithObject:[NSNull null] forKey:@"audio-desync=-2000"]];
but the others (include the options I need : subtitle font or force 5.1 don't work)

Code: Select all

[_media addOptions:[NSDictionary dictionaryWithObject:[NSNull null] forKey:@"spdif"]]; [_media addOptions:[NSDictionary dictionaryWithObject:[NSNull null] forKey:@"--spdif"]]; [_media addOptions:[NSDictionary dictionaryWithObject:[NSNull null] forKey:@"--force-dolby-surround=1]]; [_media addOptions:[NSDictionary dictionaryWithObject:[NSNull null] forKey:@"--audiofile-format=spdif]];