Error while dislpaying video on iOS device

macOS specific usage questions
kapoorsudhish
Blank Cone
Blank Cone
Posts: 17
Joined: 14 Aug 2013 14:15

Error while dislpaying video on iOS device

Postby kapoorsudhish » 20 Aug 2013 07:51

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.
Last edited by kapoorsudhish on 20 Aug 2013 11:51, edited 1 time in total.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 20 Aug 2013 11:00

You can ignore this error.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

kapoorsudhish
Blank Cone
Blank Cone
Posts: 17
Joined: 14 Aug 2013 14:15

Re: Error while dislpaying video on iOS device

Postby kapoorsudhish » 20 Aug 2013 11:52

Thanks Jean but the video is not getting displayed on the screen??

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Error while dislpaying video on iOS device

Postby Jean-Baptiste Kempf » 20 Aug 2013 13:53

You should have other messages.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

kapoorsudhish
Blank Cone
Blank Cone
Posts: 17
Joined: 14 Aug 2013 14:15

Re: Error while dislpaying video on iOS device

Postby kapoorsudhish » 21 Aug 2013 06:29

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??

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Error while dislpaying video on iOS device

Postby Jean-Baptiste Kempf » 21 Aug 2013 11:08

Change the deblocking algorithm.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

patio
New Cone
New Cone
Posts: 3
Joined: 13 Jul 2013 23:09

Re: Error while dislpaying video on iOS device

Postby patio » 22 Aug 2013 10:02

hello
how did you set up the view output correctly

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

kapoorsudhish
Blank Cone
Blank Cone
Posts: 17
Joined: 14 Aug 2013 14:15

Re: Error while dislpaying video on iOS device

Postby kapoorsudhish » 22 Aug 2013 12:09

HI patio please follow the code paste above to setup the view on iOS.

kapoorsudhish
Blank Cone
Blank Cone
Posts: 17
Joined: 14 Aug 2013 14:15

Re: Error while dislpaying video on iOS device

Postby kapoorsudhish » 22 Aug 2013 12:11

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


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 12 guests