How to get vlc log using xcode

iOS, iPad, iPhone, tvOS specific usage questions
greenboy
New Cone
New Cone
Posts: 2
Joined: 08 Apr 2015 13:19

How to get vlc log using xcode

Postby greenboy » 08 Apr 2015 13:47

i have @"-vvvv" as media player initialization option. like this _listPlayer = [[VLCMediaListPlayer alloc] initWithOptions:@[@"-vvvv"]];
and I add "-vvv" or "-vvvv" in VLCLibrary of MobileVLCKit. detail in below
- (NSArray *)_defaultOptions
{
NSArray *vlcParams = [[NSUserDefaults standardUserDefaults] objectForKey:@"VLCParams"];
#if TARGET_OS_IPHONE
if (!vlcParams) {
vlcParams = @[@"--no-color",
@"--no-osd",
@"--no-video-title-show",
@"--no-stats",
@"-vvvv",
#ifndef NOSCARYCODECS
@"--avcodec-fast",
#endif
@"--verbose=0",
@"--text-renderer=quartztext",
@"--avi-index=3",
@"--extraintf=ios_dialog_provider"];
}
#else
if (!vlcParams) {
NSMutableArray *defaultParams = [NSMutableArray array];
[defaultParams addObject:@"--play-and-pause"]; // We want every movie to pause instead of stopping at eof
[defaultParams addObject:@"--no-color"]; // Don't use color in output (Xcode doesn't show it)
[defaultParams addObject:@"--no-video-title-show"]; // Don't show the title on overlay when starting to play
[defaultParams addObject:@"--verbose=4"]; // Let's not wreck the logs
[defaultParams addObject:@"--no-sout-keep"];
[defaultParams addObject:@"--vout=macosx"]; // Select Mac OS X video output
[defaultParams addObject:@"--text-renderer=quartztext"]; // our CoreText-based renderer
[defaultParams addObject:@"--extraintf=macosx_dialog_provider"]; // Some extra dialog (login, progress) may come up from here

[[NSUserDefaults standardUserDefaults] setObject:defaultParams forKey:@"VLCParams"];
[[NSUserDefaults standardUserDefaults] synchronize];

vlcParams = defaultParams;
}
#endif

return vlcParams;
}

But the log still not show.
Anyone could help me?
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 get vlc log using xcode

Postby fkuehne » 08 Apr 2015 14:09

Remove @"--verbose=0".
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

greenboy
New Cone
New Cone
Posts: 2
Joined: 08 Apr 2015 13:19

Re: How to get vlc log using xcode

Postby greenboy » 09 Apr 2015 05:10

Hi Felix,

Remove @"--verbose=0". But the log still not show. Xcode version 6.2 ,iPhone 6 plus version8.2 .
what's problem ?
Thanks

fatih
New Cone
New Cone
Posts: 4
Joined: 03 Mar 2022 13:54

Re: How to get vlc log using xcode

Postby fatih » 04 Mar 2022 17:21

remove --no-stats from config.


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

Who is online

Users browsing this forum: No registered users and 25 guests