VLCKit and http movies

macOS specific usage questions
ropita
New Cone
New Cone
Posts: 2
Joined: 30 Apr 2011 23:18

VLCKit and http movies

Postby ropita » 30 Apr 2011 23:26

Hi,

I'm trying to run this simple code:

Code: Select all

videoView = [[VLCVideoView alloc] initWithFrame:[[window contentView] bounds]]; [[window contentView] addSubview:videoView]; [videoView setAutoresizingMask: NSViewHeightSizable|NSViewWidthSizable]; // Init the player object player = [[VLCMediaPlayer alloc] initWithVideoView:videoView]; media = [[VLCMedia alloc] initWithURL:[NSURL URLWithString:@"http://video.ted.com/talk/podcast/2011/None/MikeMatas_2011.mp4"]]; [player setMedia:media]; [player play];
I run my apps I received: “EXC_BAD_ACCESS”. I was debugging and the error are in [player play].

I init VLCMedia with local movie and all run ok. But When I try load a http movie I received error. Help please!

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

Re: VLCKit and http movies

Postby fkuehne » 01 May 2011 00:52

Please provide a back trace..
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

ropita
New Cone
New Cone
Posts: 2
Joined: 30 Apr 2011 23:18

Re: VLCKit and http movies

Postby ropita » 01 May 2011 02:16

Here it's:

Code: Select all

0 OpenWithCookies 1 Open 2 module_need 3 __access_New 4 InputSourceInit 5 Init 6 Run 7 thread_entry 8 _pthread_start 9 thread_start
I'm using VLCKit binary version from: http://jones.videolan.org/~videolan/fpk ... mework.zip (post: viewtopic.php?f=12&t=84214)

pocket12media
New Cone
New Cone
Posts: 1
Joined: 07 Jun 2011 09:06

Re: VLCKit and http movies

Postby pocket12media » 07 Jun 2011 09:14

Thanks to provide this track.

ajmas
Big Cone-huna
Big Cone-huna
Posts: 935
Joined: 04 Feb 2006 07:33
VLC version: 3.0.x
Operating System: MacOS X
Location: Montreal, Canada

Re: VLCKit and http movies

Postby ajmas » 10 Jun 2011 23:03

First thing to try is to see if the URL plays outside of your application. You may find that it doesn't play in other applications either. If this happens for any 'bad stream', then it may be the error handling may need to be re-examined?
Providing logs, messages, configuration info (VLC, OS, Hardware) and a clear explanation of the issue always helps the problem solvers help you, even if they don't end up solving the issue. Just think what you would need if you were solving someone else's problem. Additional: Always looking for eager and capable MacOS X developers to join the VLC team - for more information see here.

a23108022
New Cone
New Cone
Posts: 3
Joined: 21 Dec 2011 04:16

Re: VLCKit and http movies

Postby a23108022 » 21 Dec 2011 05:30

I also encountered the same problem when I try to play a video on the network, the error will not bounce.
Identify problems found in http.c file

p_sys-> psz_user_agent = var_InheritString (p_access, "http-user-agent");

Executed out.

Encounter the same problem as well
viewtopic.php?f=12&t=94295&p=320876#p320876

help me solve this problem, PLZ.


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 8 guests