Page 1 of 1

Error while dislpaying video on iOS device

Posted: 20 Aug 2013 07:51
by kapoorsudhish
Hi All,
I managed to build a test application from libvlc and running the same on the iOS device, but while displaying the video on the screen, i am getting following errors:
[0x1196010] main generic error: option marq-color does not exist
[0x1196010] main generic error: option marq-opacity does not exist
[0x1196010] main generic error: option marq-position does not exist
[0x1196010] main generic error: option marq-refresh does not exist
[0x1196010] main generic error: option marq-size does not exist
[0x1196010] main generic error: option marq-timeout does not exist
[0x1196010] main generic error: option marq-x does not exist
[0x1196010] main generic error: option marq-y does not exist
I am not able to understand the problem of how to get over this issue and display the video on the device, sharing the code as:

Code: Select all

- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. //Setup the View [self showOnExternalDisplay]; _mediaPlayer = [[VLCMediaPlayer alloc] init]; // Do any additional setup after loading the view. VLCMedia *media; NSURL *url = [NSURL URLWithString:@"rtsp://localhost/stream0"]; [_mediaPlayer setDelegate:self]; [_mediaPlayer setDrawable:self.movieView]; media = [VLCMedia mediaWithURL:url]; [_mediaPlayer setMedia:media]; [_mediaPlayer play]; } - (void)showOnExternalDisplay { UIScreen *screen = [UIScreen screens][0]; screen.overscanCompensation = UIScreenOverscanCompensationInsetApplicationFrame; self.externalWindow = [[UIWindow alloc] initWithFrame:screen.bounds]; UIViewController *controller = [[VLCExternalDisplayController alloc] init]; self.externalWindow.rootViewController = controller; [controller.view addSubview:movieView]; controller.view.frame = screen.bounds; movieView.frame = screen.bounds; [[AVAudioSession sharedInstance] setDelegate:self]; self.externalWindow.screen = screen; self.externalWindow.hidden = NO; }

Can some pointers be shared as to how to setup the player object to display the video on device.

Re: main generic error: option marq-color does not exist

Posted: 20 Aug 2013 11:00
by Jean-Baptiste Kempf
You can ignore this error.

Re: Error while dislpaying video on iOS device

Posted: 20 Aug 2013 11:52
by kapoorsudhish
Thanks Jean but the video is not getting displayed on the screen??

Re: Error while dislpaying video on iOS device

Posted: 20 Aug 2013 13:53
by Jean-Baptiste Kempf
You should have other messages.

Re: Error while dislpaying video on iOS device

Posted: 21 Aug 2013 06:29
by kapoorsudhish
Thanks for reply Jean, and yes the error can be ignored and the video is getting played by setting the view output correctly. But the video quality is very blocky any information on how that can be improved??

Re: Error while dislpaying video on iOS device

Posted: 21 Aug 2013 11:08
by Jean-Baptiste Kempf
Change the deblocking algorithm.

Re: Error while dislpaying video on iOS device

Posted: 22 Aug 2013 10:02
by patio
hello
how did you set up the view output correctly

I have a problem trying to use libvlc and qt on ios

Re: Error while dislpaying video on iOS device

Posted: 22 Aug 2013 12:09
by kapoorsudhish
HI patio please follow the code paste above to setup the view on iOS.

Re: Error while dislpaying video on iOS device

Posted: 22 Aug 2013 12:11
by kapoorsudhish
Hi Jean,
Thanks for reply but i cannot see any function call to change the deblocking filter algorithm?? How can i do that??

Regards,
Sudhish Kapoor