[VLCKit on Mac]Failed to change source AR

This forum is about all development around libVLC.
xinaction
Blank Cone
Blank Cone
Posts: 16
Joined: 20 Sep 2011 10:02

[VLCKit on Mac]Failed to change source AR

Postby xinaction » 09 Dec 2011 09:16

I'm trying to learn VLCKit,I would like to make a player based on this example:vlc-1.1/projects/macosx/framework/Examples

There are two problems:
1. I use a 768 * 480 video for test, when playing, vlc converted my size into 768 * 576. I think the reason is the "aspect-ratio" , so I want to convert to 16:10
2. When I use the under code

Code: Select all

- (IBAction)setAspectRadio:(id)sender { char * aspradio = (char *)[[sender title] UTF8String]; //16:10 [player setVideoAspectRatio:aspradio] ; }
to change the aspect-ratio to 16:10, but it's error...following is log

Code: Select all

[0x10182df10] main video output debug:new aspect-ratio 768:480, sample aspect-ratio 1:1 [0x10182df10] main video output debug:window size: 768x480 [0x10182df10] main video output debug:cropping picture 768x480 to 0,0,768x480 [0x10024f670] main generic error:Failed to change source AR
main generic error:Failed to change source AR

Please help me! :oops:

xinaction
Blank Cone
Blank Cone
Posts: 16
Joined: 20 Sep 2011 10:02

Re: [VLCKit on Mac]Failed to change source AR

Postby xinaction » 13 Dec 2011 11:17

Has anyone encountered this problem?


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 6 guests